On Fri, 25 May 2001, I wrote: > On 25 May 2001, Guillaume Cottenceau wrote: > > Arnd Bergmann <[EMAIL PROTECTED]> writes: > > > > > I just tried rebuilding packages that call autoconf from the .spec. > > > "seems to work" means here that rebuilding gets to start compiling while > > > "does not work" means that building fails with an error message that > > > > Have you modified the %configure so that it generate a suitable call? > > That's why we're waiting for another build of the `rpm' package. > > > > Without it, the results don't have a big meaning.. > > > Oops, I suddenly fell so stupid. I should have known better than > to 'rpm --force -i rpm-build' ... > Hmm, new rpm is there, conflict is gone but rebuilding these packages still does not work, no change there. Arnd <><
$ for i in am-utils-6.0.6-1mdk.src.rpm blt-2.4u-5mdk.src.rpm bonnie-1.0-8mdk.src.rpm byacc-1.9-10mdk.src.rpm e2fsprogs-1.19-5mdk.src.rpm eperl-2.2.14-9mdk.src.rpm eroaster-2.0.9-2mdk.src.rpm freeciv-1.11.4-5mdk.src.rpm gabber-0.8.2-3mdk.src.rpm gettext-0.10.37-3mdk.src.rpm lftp-2.3.9-1mdk.src.rpm libgda-0.2.3-2mdk.src.rpm libpcap-0.6.2-1mdk.src.rpm licq-1.0.3-5mdk.src.rpm rpm-4.0-30mdk.src.rpm shadow-utils-20000826-6mdk.src.rpm strace-4.2-7mdk.src.rpm ucd-snmp-4.1.2-5mdk.src.rpm which-2.12-4mdk.src.rpm xlockmore-4.17.2-3mdk.src.rpm ; do rpm --rebuild xlockmore-4.17.2-3mdk.src.rpm 2>&1 > tee /tmp/xlockmore-4.17.2-3mdk.src.rpm.err ; done ; tail /tmp/*.err ==> /tmp/am-utils-6.0.6-1mdk.src.rpm.err <== + /bin/chmod -Rf a+rX,g-w,o-w . + echo 'Patch #0 (am-utils-6.0.4-nfs3.patch.bz2):' Patch #0 (am-utils-6.0.4-nfs3.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + automake + aclocal + autoheader autoheader: error: shell error while sourcing /tmp/ahIWckR1/traces.sh Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.91196 (%prep) ==> /tmp/blt-2.4u-5mdk.src.rpm.err <== + cd blt2.4u + autoconf configure.in:354: warning: AC_TRY_RUN_WITH_OUTPUT called without default to allow cross compiling configure.in:354: error: AC_LANG: unknown language: aclang.m4:124: _AC_LANG_SET is expanded from... aclang.m4:133: AC_LANG is expanded from... ./aclocal.m4:28: AC_TRY_RUN_WITH_OUTPUT is expanded from... configure.in:354: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.91429 (%build) ==> /tmp/bonnie-1.0-8mdk.src.rpm.err <== Patch #0 (bonnie-1.0-autoconf.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + echo 'Patch #1 (bonnie-1.0-autoconf-fix.patch.bz2):' Patch #1 (bonnie-1.0-autoconf-fix.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + autoheader autoheader: error: AC_CONFIG_HEADERS not found in configure.in Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.30343 (%prep) ==> /tmp/byacc-1.9-10mdk.src.rpm.err <== Patch #2 (byacc-1.9-security.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + echo 'Patch #3 (byacc-1.9-fix-includes.patch.bz2):' Patch #3 (byacc-1.9-fix-includes.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + autoheader autoheader: error: AC_CONFIG_HEADERS not found in configure.in Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.29440 (%prep) ==> /tmp/e2fsprogs-1.19-5mdk.src.rpm.err <== + patch -p1 -s + echo 'Patch #14 (e2fsprogs-1.19-mountlabel3.patch.bz2):' Patch #14 (e2fsprogs-1.19-mountlabel3.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + autoconf configure.in:46: error: AC_REQUIRE: cannot be used outside of an m4_defun'd macro configure.in:46: AC_CANONICAL_HOST is required by... configure.in:46: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.41272 (%prep) ==> /tmp/eperl-2.2.14-9mdk.src.rpm.err <== + exit 0 Executing(%build): /bin/sh -e /home/arnd/rpm/tmp/rpm-tmp.70736 + umask 022 + cd /home/arnd/rpm/BUILD + cd eperl-2.2.14 + autoconf ./aclocal.m4:189: error: m4_defn: undefined: _m4_divert_diversion aclang.m4:1685: AC_C_PROTOTYPES is expanded from... ./aclocal.m4:189: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.70736 (%build) ==> /tmp/eroaster-2.0.9-2mdk.src.rpm.err <== + '[' -f configure.in ']' + libtoolize --copy --force Remember to add `AC_PROG_LIBTOOL' to `configure.in'. You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. + ./configure --build i586-mandrake-linux --prefix=/usr --exec-prefix=/usr +--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share +--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib +--localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man +--infodir=/usr/share/info --prefix=/usr +--with-install-root=/home/arnd/rpm/tmp/eroaster-buildroot --enable-qt2 +--with-qt-dir=/usr/lib/qt2 checking for a BSD compatible install... /usr/bin/install -c checking for python... /usr/bin/python checking for python version >= 1.5.2... =2./configure: test: -gt: unary operator expected failed Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.35895 (%build) ==> /tmp/freeciv-1.11.4-5mdk.src.rpm.err <== + cd /home/arnd/rpm/BUILD + cd freeciv-1.11.4 + autoconf configure.in:150: warning: AC_ARG_PROGRAM invoked multiple times configure.in:270: error: AC_LANG: unknown language: aclang.m4:124: _AC_LANG_SET is expanded from... aclang.m4:133: AC_LANG is expanded from... ./aclocal.m4:77: FC_CHECK_X_LIB is expanded from... configure.in:270: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.36940 (%build) ==> /tmp/gabber-0.8.2-3mdk.src.rpm.err <== checking host system type... i586-mandrake-linux-gnu checking for ranlib... ranlib checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.15138 (%build) ==> /tmp/gettext-0.10.37-3mdk.src.rpm.err <== + exit 0 Executing(%build): /bin/sh -e /home/arnd/rpm/tmp/rpm-tmp.59319 + umask 022 + cd /home/arnd/rpm/BUILD + cd gettext-0.10.37 + autoconf ./aclocal.m4:619: error: m4_defn: undefined: _m4_divert_diversion actypes.m4:289: AM_TYPE_PTRDIFF_T is expanded from... ./aclocal.m4:619: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.59319 (%build) ==> /tmp/lftp-2.3.9-1mdk.src.rpm.err <== Patch #5 (lftp-2.3.8-mirror-overflow.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -b --suffix .overflow -s + cp /home/arnd/rpm/SOURCES/lftp-2.3.8-zh_TW.Big5.po po/zh_TW.Big5.po + touch aclocal.m4 + autoconf ./aclocal.m4:742: error: m4_defn: undefined: _m4_divert_diversion acspecific.m4:434: AC_SYS_LARGEFILE is expanded from... ./aclocal.m4:742: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.5277 (%prep) ==> /tmp/libgda-0.2.3-2mdk.src.rpm.err <== checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig ./ltconfig: .: /dev/null: not a regular file ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.46449 (%build) ==> /tmp/libpcap-0.6.2-1mdk.src.rpm.err <== + '[' 0 -ne 0 ']' + cd libpcap-0.6.2 ++ /usr/bin/id -u + '[' 501 = 0 ']' ++ /usr/bin/id -u + '[' 501 = 0 ']' + /bin/chmod -Rf a+rX,g-w,o-w . + autoheader autoheader: No template for symbol `const' Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.58705 (%prep) ==> /tmp/licq-1.0.3-5mdk.src.rpm.err <== + autoconf configure.in:35: error: AC_REQUIRE: circular dependency of AC_PROG_LIBTOOL configure.in:35: AC_PROG_LIBTOOL is required by... ./aclocal.m4:913: _AC_LIBTOOL_CXX is expanded from... configure.in:35: _AC_LIBTOOL_CXX is required by... ./aclocal.m4:887: AC_LIBTOOL_CXX is expanded from... ./aclocal.m4:176: AC_PROG_LIBTOOL is expanded from... ./aclocal.m4:948: AM_PROG_LIBTOOL is expanded from... configure.in:35: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.38815 (%build) ==> /tmp/rpm-4.0-30mdk.src.rpm.err <== error: cannot open rpm-4.0-30mdk.src.rpm: No such file or directory ==> /tmp/shadow-utils-20000826-6mdk.src.rpm.err <== + cd shadow-20000826 + unset LINGUAS + : + libtoolize --copy --force You should update your `aclocal.m4' by running aclocal. + aclocal + automake + autoheader autoheader: No template for symbol `USG' Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.59901 (%build) ==> /tmp/strace-4.2-7mdk.src.rpm.err <== + exit 0 Executing(%build): /bin/sh -e /home/arnd/rpm/tmp/rpm-tmp.32742 + umask 022 + cd /home/arnd/rpm/BUILD + cd strace-4.2 + autoconf configure.in:26: /usr/bin/m4: Bad regular expression `[[[\([[`""]]\)]]]': Unmatched ) or \) [configure.in:26[: error: [[[back quotes and double quotes should not be escaped in: [[$as_me:__oline__: [error: this operating system is not yet supported by strace]]]]]]] ]configure.in:26: /usr/bin/m4: ERROR: Recursion limit of 250 exceeded, use -L<N> to ]change it Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.32742 (%build) ==> /tmp/ucd-snmp-4.1.2-5mdk.src.rpm.err <== + SMP= + libtoolize --force Remember to add `AC_PROG_LIBTOOL' to `configure.in'. You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. + aclocal + autoconf configure.in:349: /usr/bin/m4: Bad regular expression `[[[\([[`""]]\)]]]': Unmatched ) or \) [configure.in:349[: error: [[[back quotes and double quotes should not be escaped in: [[$as_me:__oline__: result: $ac_cv_MACHINE_INCLUDE_FILE]]]]]] ]configure.in:349: /usr/bin/m4: ERROR: Recursion limit of 250 exceeded, use -L<N> to ]change it Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.34256 (%build) ==> /tmp/which-2.12-4mdk.src.rpm.err <== + echo 'Patch #1 (which-2.12-fixinfo.patch.bz2):' Patch #1 (which-2.12-fixinfo.patch.bz2): + /usr/bin/bzip2 -d + patch -p1 -s + touch ChangeLog + automake --gnu -a -c + aclocal + autoheader autoheader: error: shell error while sourcing /tmp/ahWBylN0/traces.sh Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.7881 (%prep) ==> /tmp/xlockmore-4.17.2-3mdk.src.rpm.err <== Executing(%build): /bin/sh -e /home/arnd/rpm/tmp/rpm-tmp.80043 + umask 022 + cd /home/arnd/rpm/BUILD + cd xlockmore-4.17.2 + autoconf configure.in:3349: error: `config.h' is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS. acgeneral.m4:3384: AC_CONFIG_HEADERS is expanded from... acgeneral.m4:3397: AC_CONFIG_HEADER is expanded from... configure.in:3349: the top level Bad exit status from /home/arnd/rpm/tmp/rpm-tmp.80043 (%build)
