This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/12440] New: `make distclean' failing - with patch


http://sourceware.org/bugzilla/show_bug.cgi?id=12440

           Summary: `make distclean' failing - with patch
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: fmn@oneiroi.net


after compilation `make distclean' is failing to remove old config.caches:


gdb-7.2]$: find . -name config.cache 
./bfd/config.cache
./etc/config.cache
./gdb/config.cache
./intl/config.cache
./libdecnumber/config.cache
./libiberty/config.cache
./opcodes/config.cache
./readline/config.cache
./sim/config.cache

gdb-7.2]$: make distclean
make[1]: Entering directory `/home/milo/srcs/gdb-7.2'
make[1]: Nothing to be done for `distclean-target'.
make[1]: Leaving directory `/home/milo/srcs/gdb-7.2'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
rm -f Makefile config.status config.cache mh-frag mt-frag
rm -f maybedep.tmp serdep.tmp
if [ "x86_64-unknown-linux-gnu" != "." ]; then \
      rm -rf x86_64-unknown-linux-gnu; \
    else true; fi
rm -rf build-x86_64-unknown-linux-gnu
if [ "." != "." ]; then \
      rm -rf .; \
    else true; fi
rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
rm -f texinfo/doc/Makefile texinfo/po/POTFILES
rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
make: [local-distclean] Error 1 (ignored)

gdb-7.2]$: find . -name config.cache 
./bfd/config.cache
./etc/config.cache
./gdb/config.cache
./intl/config.cache
./libdecnumber/config.cache
./libiberty/config.cache
./opcodes/config.cache
./readline/config.cache
./sim/config.cache


that's because of repeated `\;' in find invocation:

Makefile.in:2661:    -find . -name config.cache -exec rm -f {} \; \;
2>/dev/null
Makefile.tpl:774:    -find . -name config.cache -exec rm -f {} \; \;
2>/dev/null



silly one but patch attached anyway.

-- 
Regards,
Milo

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]