Package: rpm Version: 4.4.2.3-1 Severity: important
After submitting my last bugreprt, I tried to build the rpm package from source. % dpkg-buildpackage fails with: ... make[3]: Leaving directory /usr/src/rpm-4.4.2.3/db3' Making all in popt make[3]: Entering directory /usr/src/rpm-4.4.2.3/popt' cd . && /bin/sh /usr/src/rpm-4.4.2.3/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h /usr/bin/make all-recursive make[4]: Entering directory /usr/src/rpm-4.4.2.3/popt' Making all in po make[5]: Entering directory /usr/src/rpm-4.4.2.3/popt/po' make[5]: Nothing to be done for all'. make[5]: Leaving directory /usr/src/rpm-4.4.2.3/popt/po' make[5]: Entering directory /usr/src/rpm-4.4.2.3/popt' /bin/sh ./libtool --tag=CC --mode=compile i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o popt.lo popt.c ./libtool: line 821: X--tag=CC: command not found ./libtool: line 854: libtool: ignoring unknown tag : command not found ./libtool: line 821: X--mode=compile: command not found ./libtool: line 988: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 989: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1132: Xi486-linux-gnu-gcc: command not found ./libtool: line 1132: X-DHAVE_CONFIG_H: command not found ./libtool: line 1132: X-I.: command not found ./libtool: line 1132: X-I.: command not found ./libtool: line 1132: X-I.: command not found ./libtool: line 1132: X-g: command not found ./libtool: line 1132: X-O2: command not found ./libtool: line 1132: X-c: command not found ./libtool: line 1184: Xpopt.lo: command not found ./libtool: line 1189: libtool: compile: cannot determine name of library object from ': command not found make[5]: *** [popt.lo] Error 1 make[5]: Leaving directory /usr/src/rpm-4.4.2.3/popt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory /usr/src/rpm-4.4.2.3/popt' make[3]: *** [all] Error 2 make[3]: Leaving directory /usr/src/rpm-4.4.2.3/popt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /usr/src/rpm-4.4.2.3' make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/src/rpm-4.4.2.3' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 Assuming that line 821 in libtool uses the variables: $arg=--tag=CC $Xsed=sed $echo=echo % echo "X--tag=CC" | sed -e 's/[-_a-zA-Z0-9]*=//' CC which looks fine. My tests reproduced the error when $echo was not being defined: # $echo "X--tag=CC" | sed -e 's/[-_a-zA-Z0-9]*=//' -bash: X--tag=CC: command not found Of course we HAVE "echo": # which echo /bin/echo -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages rpm depends on: ii libbeecrypt6 4.1.2-7 open source C library of cryptogra ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co ii libc6 2.9-13 GNU C Library: Shared libraries ii libpopt0 1.14-4 lib for parsing cmdline parameters ii librpm4.4 4.4.2.3-1 RPM shared library ii perl 5.10.0-22 Larry Wall's Practical Extraction ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime rpm recommends no packages. Versions of packages rpm suggests: ii alien 8.75 convert and install rpm and other -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org