Bug#684686: prelink: FTBFS libtool script recursively calls itself
Package: prelink
Version: 0.0.20090925-6
Severity: grave
Justification: renders package unusable
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
Trying to build the package to insert more diagnostic output
(reference http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620630)
* What exactly did you do (or not do) that was effective (or
ineffective)?
./configure
make
* What was the outcome of this action?
make recursively calls the 'libtool'
script which spawns infinite
bash ../libtool --no-reexec
System eventually locks up and has to be hard shutdown/rebooted
if one cannot CTRL-C fast enough
* What outcome did you expect instead?
Expected to see some compiles and links
*** End of the template - remove these lines ***
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages prelink depends on:
ii execstack 0.0.20090925-6
prelink recommends no packages.
prelink suggests no packages.
-- Configuration Files:
/etc/cron.daily/prelink changed:
. /etc/default/prelink
renice +19 -p $$ >/dev/null 2>&1
if [ "$PRELINKING" != yes ] && [ "$PRELINKING" != no ]; then
echo "Default action. Modify /etc/default/prelink to change this." > /var/log/prelink.log
exit 0
fi
PRELINK_OPTS="$PRELINK_OPTS -Tv"
if [ "$PRELINKING" = no ]; then
if [ -f /etc/prelink.cache ]; then
echo /usr/sbin/prelink -ua > /var/log/prelink.log
/usr/sbin/prelink -ua >> /var/log/prelink.log 2>&1 \
|| echo Prelink failed with return value $? >> /var/log/prelink.log
rm -f /etc/prelink.cache
# Restart init if needed
[ -n "$(find `ldd /sbin/init | awk 'NF == 4 { print $3 }'` /sbin/init -ctime -1 2>/dev/null )" ] && /sbin/telinit u
fi
exit 0
fi
if [ ! -f /etc/prelink.cache -o -f /var/lib/misc/prelink.force ] \
|| grep -q '^prelink-ELF0.[0-2]' /etc/prelink.cache; then
# If cache does not exist or is from older prelink versions or
# if we were asked to explicitely, force full prelinking
rm -f /etc/prelink.cache /var/lib/misc/prelink.force
PRELINK_OPTS="$PRELINK_OPTS -f"
date > /var/lib/misc/prelink.full
cp -a /var/lib/misc/prelink.{full,quick}
elif [ -n "$PRELINK_FULL_TIME_INTERVAL" \
-a "`find /var/lib/misc/prelink.full -mtime -${PRELINK_FULL_TIME_INTERVAL} 2>/dev/null`" \
= /var/lib/misc/prelink.full ]; then
# If no more than PRELINK_NONRPM_CHECK_INTERVAL days elapsed from last prelink
# (be it full or quick) and no packages have been upgraded via dpkg since then,
# don't do anything.
[ "`find /var/lib/misc/prelink.quick -mtime -${PRELINK_NONRPM_CHECK_INTERVAL:-7} 2>/dev/null`" \
-a -f /var/lib/dpkg/status \
-a /var/lib/dpkg/status -ot /var/lib/misc/prelink.quick ] && exit 0
date > /var/lib/misc/prelink.quick
# If prelink without -q has been run in the last
# PRELINK_FULL_TIME_INTERVAL days, just use quick mode
PRELINK_OPTS="$PRELINK_OPTS -q"
else
date > /var/lib/misc/prelink.full
cp -a /var/lib/misc/prelink.{full,quick}
fi
echo /usr/sbin/prelink -a $PRELINK_OPTS > /var/log/prelink.log
/usr/sbin/prelink -a $PRELINK_OPTS >> /var/log/prelink.log 2>&1 \
|| echo Prelink failed with return value $? >> /var/log/prelink.log
[ -n "$(find `ldd /sbin/init | awk 'NF == 4 { print $3 }'` /sbin/init -ctime -1 2>/dev/null )" ] && /sbin/telinit u
exit 0
/etc/default/prelink changed:
PRELINKING=yes
PRELINK_OPTS=-mR
PRELINK_FULL_TIME_INTERVAL=14
PRELINK_NONRPM_CHECK_INTERVAL=7
/etc/prelink.conf changed:
-b *.la
-b *.png
-b *.py
-b *.pl
-b *.pm
-b *.sh
-b *.xml
-b *.xslt
-b *.a
-b *.js
-b /lib/modules
-b /usr/lib/locale
-b /usr/lib/libgsl.so.0
-b /usr/bin/inkview
-b /usr/lib/gdm/libgdmsimplegreeter.so.1
-b /usr/lib/gdm3/gdm-simple-greeter
-b /usr/lib/i386-linux-gnu/i686/cmov/libavdevice.so.53
-b /usr/bin/avplay
-b /usr/lib/i386-linux-gnu/libtheoraenc.so.1
-b /usr/lib/klibc
-b /usr/lib/Adobe/Reader9
-b /usr/lib/xulrunner-10.0/xpcshell
-b /usr/lib/xulrunner-10.0/xulrunner-bin
-b /usr/lib/xulrunner-10.0/plugin-container
-b /usr/lib/jvm
-b /usr/sbin/prelink.bin
-b /usr/local/sbin/prelink.bin
-l /usr/local/sbin
-l /sbin
-l /usr/sbin
-l /usr/local/bin
-l /bin
-l /usr/bin
-l /usr/X11R6/bin
-l /usr/games
-l /usr/local/lib
-l /lib
-l /usr/lib
-l /usr/X11R6/lib
-- no debconf information
Reply to: