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

Full log


View this message in rfc822 format

From: Stefan Kost <ensonic <at> hora-obscura.de>
To: 9464 <at> debbugs.gnu.org
Subject: bug#9464: 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 348 days ago.

Previous Next


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