Trying to emerge -u rpm-4.0.4-r4 and get the following error message. All other packages on my system are fully updated to the latest ~x86 versions. [...] make[2]: Entering directory `/var/tmp/portage/rpm-4.0.4-r4/work/rpm-4.0.4' gcc -DHAVE_CONFIG_H -I. -I. -I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -march=athlon -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c rpm2cpio.c /bin/sh ./libtool --mode=link gcc -march=athlon -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpm2cpio -all-static rpm2cpio.o ./build/librpmbuild.la ./lib/librpm.la ./rpmdb/librpmdb.la ./rpmio/librpmio.la /usr/lib/libpopt.la -lrt -lpthread mkdir .libs gcc -march=athlon -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpm2cpio -static rpm2cpio.o ./build/.libs/librpmbuild.a ./lib/.libs/librpm.a ./rpmdb/.libs/librpmdb.a ./rpmio/.libs/librpmio.a -L/usr/local/lib -lz -lbz2 /usr/lib/libpopt.a -lrt -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbz2.a(bzlib.o)(.text+0x2d9b): In function `bzopen_or_bzdopen': : undefined reference to `__ctype_b' /usr/lib/libpopt.a(poptparse.o)(.text+0x1dd): In function `poptParseArgvString': : undefined reference to `__ctype_b' collect2: ld returned 1 exit status make[2]: *** [rpm2cpio] Error 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.0.4-r4/work/rpm-4.0.4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.0.4-r4/work/rpm-4.0.4' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message)
After a bit of playing around, I've managed to get the compilation to work. It required emerging bzip2 and popt again - (not sure that bzip2 was required, but I was playing safe). I'm not sure whether the conclusion to this is that (a) it was my cock-up; (b) the dependency checking between ebuilds isn't working quite how I expect; or (c) an ebuild version needed bumping somewhere along the line to ensure a rebuild was made... Any advice/ideas would be good. (I've just had the same problem with pan and aspell, in fact, and needed to emerge aspell again to fix pan...)
Nall, this one is worth investigating as well? the popt issue I mean. Phil: we're working on the aspell issue, see bug 9996 *** This bug has been marked as a duplicate of 9996 ***
i think the popt issue and the aspell issue are different. you're dealing with static libs here and the aspell bug is a shared lib issue. i know it's unlikely, but can you post the following info: versions for the following (both before upgrading and after upgrading): bzip, popt, rpm (if it exists, you might dig through /var/log/emerge.log for this info) i'm reopening this and assigning it to myself.
Installed versions are: popt 1.6.3 bzip2 1.0.2-r2 rpm 4.0.4-r4 Old versions: popt 1.6.3 bzip2 1.0.2-r2 rpm 4.0.4-r3 But that's probably not important... I have recently (3 Oct) done a completely clean build of 1.4_rc1, followed by an upgrade to ~x86 on Oct 26 - unfortunately, the emerge.log file starts at Oct 26. I think the thing that might have changed most significantly is glibc - and that would tie in with the symbol that was showing problems (which is refered to in <ctype>). Makes sense, perhaps, but it still shouldn't get through the dependency mechanism... :-) phil
closing this as it seems pretty unreproducible.