GNU bug report logs - #9464
repeated 'rm -f "./so_locations"' on make clean

Previous Next

Package: libtool;

Reported by: Stefan Kost <ensonic <at> hora-obscura.de>

Date: Thu, 8 Sep 2011 17:02:01 UTC

Severity: normal

To reply to this bug, email your comments to 9464 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-libtool <at> gnu.org:
bug#9464; Package libtool. (Thu, 08 Sep 2011 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kost <ensonic <at> hora-obscura.de>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Thu, 08 Sep 2011 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kost <ensonic <at> hora-obscura.de>
To: bug-libtool <at> gnu.org
Subject: repeated 'rm -f "./so_locations"' on make clean
Date: Thu, 08 Sep 2011 15:12:12 +0200
> libtool --version
ltmain.sh (GNU libtool) 2.2.6b

> make clean
rm -rf .libs _libs
test -z "libgstasf.la libgstdvdlpcmdec.la libgstdvdsub.la
libgstiec958.la libgstmpegaudioparse.la libgstmpegstream.la
libgstrmdemux.la libgstsynaesthesia.la" || rm -f libgstasf.la
libgstdvdlpcmdec.la libgstdvdsub.la libgstiec958.la
libgstmpegaudioparse.la libgstmpegstream.la libgstrmdemux.la
libgstsynaesthesia.la
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f *.o
rm -f *.lo

This is caused by:
clean-pluginLTLIBRARIES:
    -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
    @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
      dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
      test "$$dir" != "$$p" || dir=.; \
      echo "rm -f \"$${dir}/so_locations\""; \
      rm -f "$${dir}/so_locations"; \
    done

a simple solution might be
test -d && (echo "rm -f \"$${dir}/so_locations\""; rm -f
"$${dir}/so_locations" ); \

Stefan





This bug report was last modified 13 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.