binutils, as some other programs like lrzsz, recode and psmisc fail to build during world (install went fine). Others, like grep, make, bison and coreutils, though also dependend on nls, compile fine. pam-0.77 failed, too, pam-0.78 works so far. Basically the same bug as 97847, now this time with a highly official profile and removed -m64 flag, although I do not see the problem with latter. This system has been freshly set up from the scratch. The strage part again: bootstrap and first "emerge system" ran fine. The other software mentioned installed fine, too. The trouble began with the first try of "emerge -evb world". Here again the output of binutils /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=k8 -pipe -o size size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -ldl mkdir .libs gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=k8 -pipe -o .libs/size size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.so -L/home/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/libiberty/pic -liberty ../libiberty/libiberty.a -ldl -Wl,--rpath -Wl,/usr/lib64/binutils/x86_64-pc-linux-gnu/2.15.92.0.2 bucomm.o(.text+0x9f2): In function `make_tempname': : warning: the use of `mktemp' is dangerous, better use `mkstemp' size.o(.text+0x11): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x2f): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x46): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x5d): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x96): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x7c1): In function `main': : undefined reference to `libintl_bindtextdomain' size.o(.text+0x7cb): In function `main': : undefined reference to `libintl_textdomain' size.o(.text+0x84e): In function `main': : undefined reference to `libintl_gettext' bucomm.o(.text+0x246): In function `set_default_bfd_target': : undefined reference to `libintl_gettext' bucomm.o(.text+0x26a): In function `list_matching_formats': : undefined reference to `libintl_gettext' bucomm.o(.text+0x2ed): In function `list_supported_targets': : undefined reference to `libintl_gettext' bucomm.o(.text+0x350): In function `list_supported_targets': : undefined reference to `libintl_gettext' bucomm.o(.text+0x387): more undefined references to `libintl_gettext' follow ../bfd/.libs/libbfd.so: undefined reference to `libintl_dgettext' collect2: ld returned 1 exit status make[3]: *** [size] Fehler 1 make[3]: Leaving directory `/home/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make[1]: *** [all-recursive-am] Fehler 2 make[1]: Leaving directory `/home/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make: *** [all-binutils] Fehler 2 !!! ERROR: sys-devel/binutils-2.15.92.0.2-r10 failed. !!! Function toolchain-binutils_src_compile, Line 131, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. And here psmisc: /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -Wall -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe -o fuser fuser.o signals.o mkdir .libs x86_64-pc-linux-gnu-gcc -Wall -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe -o fuser fuser.o signals.o fuser.o(.text+0x61a): In function `kill_item': : undefined reference to `libintl_gettext' fuser.o(.text+0x6e8): In function `kill_item': : undefined reference to `libintl_gettext' fuser.o(.text+0x716): In function `kill_item': : undefined reference to `libintl_gettext' fuser.o(.text+0x740): In function `kill_item': : undefined reference to `libintl_gettext' fuser.o(.text+0x8ba): In function `usage': : undefined reference to `libintl_gettext' fuser.o(.text+0x8ea): more undefined references to `libintl_gettext' follow fuser.o(.text+0x992): In function `main': : undefined reference to `libintl_bindtextdomain' fuser.o(.text+0x99c): In function `main': : undefined reference to `libintl_textdomain' fuser.o(.text+0x9f4): In function `main': : undefined reference to `libintl_gettext' fuser.o(.text+0x134a): In function `main': : undefined reference to `libintl_gettext' fuser.o(.text+0x14c7): In function `main': : undefined reference to `libintl_gettext' fuser.o(.text+0x1a5d): In function `main': : undefined reference to `libintl_gettext' fuser.o(.text+0x1ed6): In function `main': : undefined reference to `libintl_gettext' fuser.o(.text+0x1f3c): more undefined references to `libintl_gettext' follow collect2: ld returned 1 exit status make[3]: *** [fuser] Fehler 1 make[3]: Leaving directory `/home/gentoo/tmp/portage/psmisc-21.5/work/psmisc-21.5/src' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/gentoo/tmp/portage/psmisc-21.5/work/psmisc-21.5/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/gentoo/tmp/portage/psmisc-21.5/work/psmisc-21.5' make: *** [all] Fehler 2 !!! ERROR: sys-process/psmisc-21.5 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge -v binutils 2. emerge -ev world 3. emerge -v psmisc Actual Results: build failed Expected Results: rebuild and install software Disclaimer: I am using gcc-3.4.4 and glibc 2.3.5 as the stable glibc 2.3.4-somedate did not even bootstrap and re-compiling of gcc-3.4.3 failed, too. However upgrading binutils did not help. # emerge --info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12.2-amd64 x86_64) ================================================================= System uname: 2.6.12.2-amd64 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/home/gentoo/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" MAKEOPTS="-j1" PKGDIR="/home/gentoo/packages" PORTAGE_TMPDIR="/home/gentoo/tmp" PORTDIR="/home/gentoo/portage" PORTDIR_OVERLAY="/home/gentoo/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa apache2 arts audiofile berkdb bidi bzlib caps cdparanoia cdr crypt cups curl curlwrappers dbus dga dts dv dvd dvdr encode exif faac faad fam fftw flac font-server fortran ftp gd gif gmp gphoto2 gpm hal ieee1394 imagemagick imlib ithreads jack jp2 jpeg jpeg2k kde kdeenablefinal lcms ldap libwww live lzw lzw-tiff mad matroska mmap mng mp3 mpeg nls no_wxgtk1 nptl nptlonly offensive oggvorbis opengl pcntl pdflib pic png quicktime readline rtc scanner sdl smartcard speex spell ssl svg theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis xine xml2 xpm xrandr xsl xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Hi all, same problem but on x86 architecture. All compilation that need gettext are brocken. tryed to reinstall gettext, glib without results. Cheers, Denis
ressigning per comment 1
I do have another anecdote. Just did an "emerge -v gettext" as I felt like manually and step by step rebuilding the toolchain. The build finished without errors, the install (and unmerge of the old package) showed a wicket behaviour, it did not even install (but deinstall) the libintl shared object. Seems my system is decomposing with each build. make of cthulhu? >>> Merging sys-devel/gettext-0.14.4 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/msgen >>> /usr/bin/msgattrib >>> /usr/bin/msgfilter >>> /usr/bin/gettext.sh >>> /usr/bin/gettextize >>> /usr/bin/gettext >>> /usr/bin/msgcomm >>> /usr/bin/msgconv >>> /usr/bin/msgexec >>> /usr/bin/msggrep >>> /usr/bin/msginit >>> /usr/bin/msguniq >>> /usr/bin/msgcat >>> /usr/bin/msgcmp >>> /usr/bin/msgfmt >>> /usr/bin/gmsgfmt -> msgfmt >>> /usr/bin/envsubst >>> /usr/bin/autopoint >>> /usr/bin/ngettext >>> /usr/bin/xgettext >>> /usr/bin/msgmerge >>> /usr/bin/msgunfmt --- /usr/lib/ >>> /usr/lib/libgettextpo.la >>> /usr/lib/libgettextpo.so -> libgettextpo.so.0.1.0 >>> /usr/lib/libgettextlib.la >>> /usr/lib/libgettextlib.so -> libgettextlib-0.14.4.so >>> /usr/lib/libgettextsrc-0.14.4.so --- /usr/lib/gettext/ >>> /usr/lib/gettext/hostname >>> /usr/lib/gettext/project-id >>> /usr/lib/gettext/urlget >>> /usr/lib/gettext/user-email >>> /usr/lib/libgettextsrc.la >>> /usr/lib/libgettextsrc.so -> libgettextsrc-0.14.4.so >>> /usr/lib/libgettextlib-0.14.4.so >>> /usr/lib/libgettextpo.so.0 -> libgettextpo.so.0.1.0 >>> /usr/lib/libgettextpo.so.0.1.0 >>> /usr/lib/libgettextpo.a --- /usr/share/ ... Deinstall of old package: QA Notice: USE Flag 'elibc_glibc' not in IUSE for sys-devel/gettext-0.14.4 ... --- !mtime obj /usr/bin/autopoint <<< sym /usr/lib/libintl.so.3 <<< sym /usr/lib/libintl.so --- !empty dir /usr/share/man/man3 --- !empty dir /usr/share/man/man1 --- !empty dir /usr/share/man --- !empty dir /usr ... --- !targe sym /usr/lib/libgettextsrc.so --- !targe sym /usr/lib/libgettextpo.so.0 --- !targe sym /usr/lib/libgettextpo.so --- !targe sym /usr/lib/libgettextlib.so --- !targe sym /usr/bin/gmsgfmt [gettext-0.14.4] bash: error while loading shared libraries: libintl.so.3: cannot open shared object file: No such file or directory !!! FAILED postrm: 127 kaperfahrt gentoo # kaperfahrt gentoo # bash bash: error while loading shared libraries: libintl.so.3: cannot open shared object file: No such file or directory kaperfahrt gentoo # ls ls: error while loading shared libraries: libintl.so.3: cannot open shared object file: No such file or directory I should note though, that for me this problem on my x86 machines are, why ever and at least for today, not existent any more. binutils just build fine on both of them, with USE="nls". Haven't tried gettext, though. However, none of my machines do have an "/usr/lib/preloadable_libintl.so" file. Not sure wether this is an issue or not. Somewhat related to Bug: 95126?
hrm, i dont know how your machine got it, but gettext should have never installed libintl.so
@k_berbach@gmx.de, I bet your /etc/make.conf file is screwed up! can you post the ouput of the followings: 1) cat /etc/make.conf 2) emerge info ?? 2) should at least show under USE "kernel_linux elibc_glibc", if not then that's a major screw up. You could at least start by sanitizing your /etc/make.conf file. As to how to fix it, I just don't know, as SpanKY said, "gettext should have never installed libintl.so". @SpanKY, any suggestions, on how to fix that, I'm just curious.. TIA
Sorry for the delay. For the record, thanks to our common friend libintl.so.3 I reinstalled my system again. Same make.conf, same /etc/portage, but this time it did survive two make.worlds so far. I also do not have any libintl.so.3 any more, but our preloadable friend is back. As my x86 machines are stable, too, it really looks like a happy end this time. Will try this weekend again to build world. Nevertheless, here is my /etc/make.conf: # cat /etc/make.conf # Please consult /etc/make.conf.example for a more detailed example ARCH="amd64" ACCEPT_KEYWORDS="${ARCH}" MULTILIB_ABIS="${ARCH}" #LIBDIR_amd64="lib" #CFLAGS="-O2 -march=k8 -m64 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" CFLAGS="-O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j1" FEATURES="buildpkg" PORTDIR_BASE=/home/gentoo PORTAGE_TMPDIR=${PORTDIR_BASE}/tmp PORTDIR=${PORTDIR_BASE}/portage PORTDIR_OVERLAY=${PORTDIR_BASE}/local DISTDIR=${PORTDIR_BASE}/distfiles PKGDIR=${PORTDIR_BASE}/packages RPMDIR=${PORTDIR_BASE}/rpm PORTAGE_NICENESS="1" PORT_ENOTICE_DIR=/var/log/enotice NOCOLOR="true" CLEAN_DELAY="3" VIDEO_CARDS="radeon" LINGUAS="de nds en_GB tr" # For openoffice to build with another java than blackdown and in the desired language: #FORCE_JAVA=yes #LANGUAGE=GER # Which Camera models libgphoto should build: CAMERAS="canon fuji kodak" # What NOT to prelink PRELINK_PATH_MASK="/opt /usr/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="-3dfx 3dnow X -Xaw3d aalib -accessibility -acl acpi -adabas -adns -afs -aim alsa apache2 -apm arts audiofile -avi -bcmath berkdb bidi -bindist -birdstep -bitmap-fonts -bonobo bzlib -calendar -canna caps -cdb cdr cdparanoia -cjk -cpdflib crypt -cscope -ctype cups curl curlwrappers -db2 -dba -dbase -dbmaker dbus -dbx -debug dga -dlloader -dmx -divx4linux -doc -dio -drac dv -dvb dvd dvdr dts -emacs -emacs-w3 -empress -empress-bcs encode -esd -esoob -ethereal -evo exif faad faac fam -fastcgi -fbcon -directfb fftw -fdftk -filepro -firebird flac -flash -flatfile -font-server -foomaticdb -freetds -freewnn -frontbase ftp -gatos -gb gd -gd-external -gdbm -ggi gif -ginac gmp -gnome -gnutls gphoto2 gpm -gps -gstreamer -gtk -gtk2 -gtkhtml -guile hal -hardened -hardenedphp -hyperwave-api -icc -icc-pgo -icq -iconv ieee1394 -ifc imagemagick -imap imlib -informix -ingres -inifile -innodb -insecure-drivers -interbase -iodbc -ipv6 ithreads -jabber jack -java -jikes -joystick jpeg jpeg2k -junit kde kdeenablefinal -kerberos -krb4 -ladcca lcms ldap -leim -lesstif -libcaca -libedit -libg++ -libgda libwww -lirc live -lzo mad -maildir -mailwrapper matroska -matrox -mbox -mcal -mcve -memlimit -mhash -mikmod -ming mmap mmx mmx2 mng -mnogosearch -motif -mozilla mp3 mpeg -mpi -msession -msn -msql -mssql -mule -multilib -mysql -mysqli -nas -ncurses -netcdf -nhc98 -nis nls -nocardbus -nocd no_wxgtk1 nptl nptlonly -oci8 -odbc offensive oggvorbis -openal opengl -oracle7 -oscar -oss -ovrimos -pam -pcmcia pcntl -pcre -pcsc-lite -pda pdflib -perl -pfpro -php pic -plotutils png -pnp -postgres -posix ppds -prelude -python -qdbm -qt quicktime readline -recode rtc -ruby -samba -sapdb -sasl scanner sdl -selinux -simplexml -slang -slp smartcard -snmp -soap -socks5 -solid speex spell -spl -sqlite sse sse2 ssl -static svg -svga -sybase -sybase-ct -tcltk -tcpd -tetex theora threads -tidy tiff -tokenizer truetype truetype-fonts -trusted -type1-fonts unicode -uclibc usb v4l v4l2 -vhosts -videos -voodoo3 vorbis -wavelan -wddx -wmf -wxwindows -xface xine -xinerama -xml xml2 -xmlrpc -xmms -xosd -xprint xsl xrandr xv xvid -yahoo -yaz -zeo zlib" and again: # emerge --info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12.2 x86_64) ================================================================= System uname: 2.6.12.2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/home/gentoo/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de nds en_GB tr" MAKEOPTS="-j1" PKGDIR="/home/gentoo/packages" PORTAGE_TMPDIR="/home/gentoo/tmp" PORTDIR="/home/gentoo/portage" PORTDIR_OVERLAY="/home/gentoo/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 3dnow X aalib acpi alsa apache2 arts audiofile berkdb bidi bzlib caps cdparanoia cdr crypt cups curl curlwrappers dbus dga dts dv dvd dvdr encode exif faac faad fam fftw flac fortran ftp gd gif gmp gphoto2 gpm hal ieee1394 imagemagick imlib ithreads jack jpeg jpeg2k kde kdeenablefinal lcms ldap libwww live lzw lzw-tiff mad matroska mmap mmx mmx2 mng mp3 mpeg nls no_wxgtk1 nptl nptlonly offensive ogg oggvorbis opengl pcntl pdflib pic png ppds quicktime readline rtc scanner sdl smartcard speex spell sse sse2 ssl svg theora threads tiff truetype truetype-fonts unicode usb userlocales v4l v4l2 vorbis xine xml2 xpm xrandr xsl xv xvid zlib video_cards_radeon linguas_de linguas_nds linguas_en_GB linguas_tr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
glad to hear ... if you can find out why gettext did that to your system, please post that info so we can get further :/