Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66637 - sys-devel/binutils-2.15.92.0.2 failed to compile
Summary: sys-devel/binutils-2.15.92.0.2 failed to compile
Status: RESOLVED DUPLICATE of bug 66449
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 05:25 UTC by Wayne
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne 2004-10-07 05:25:45 UTC
!!! ERROR: sys-devel/binutils-2.15.92.0.2 failed.
!!! Function src_compile, Line 90, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Hanno Zysik (geki) 2004-10-07 06:28:57 UTC
please add 'emerge info' and more information of compilation. like this its impossible to help. thanks! :)
Comment 2 Hanno Zysik (geki) 2004-10-07 08:10:55 UTC
a guess into the darkness...

if it errors out with xgettext something do:

emerge gettext && emerge gettext && emerge -uD world... thanks
Comment 3 tom.garland 2004-10-07 10:26:31 UTC
Fails for me too. Here's additional info as requested.

emerge info:

Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r6 i686)
=================================================================
System uname: 2.6.8-gentoo-r6 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imagemagick imlib jpeg kde libg++ libwww lirc mad mikmod motif mpeg ncurses nls nocardbus oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xprint xv zlib"


Compile info from first error to end:

make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils-2.15.92.0.2/bfd/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file fr.po
file=./`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file tr.po
file=./`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file ja.po
yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for string.h... (cached) yes
checking for strings.h... /usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory
make[3]: *** [fr.gmo] Error 127
make[3]: *** Waiting for unfinished jobs....
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory
make[3]: *** [ja.gmo] Error 127
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory
make[3]: *** [tr.gmo] Error 127
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils-2.15.92.0.2/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils-2.15.92.0.2/bfd'
make: *** [all-bfd] Error 2
make: *** Waiting for unfinished jobs....
yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sbrk... yes
checking for realpath... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether weak symbol works... yes
checking for library containing dlopen... -ldl
checking whether strstr must be declared... no
checking whether free must be declared... no
checking whether sbrk must be declared... no
checking whether getenv must be declared... no
checking whether environ must be declared... yes
checking whether ANSI C string concatenation works... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating po/Makefile.in
creating config.h

!!! ERROR: sys-devel/binutils-2.15.92.0.2 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Hope this helps.
Comment 4 Sven Beukenex 2004-10-07 10:36:24 UTC
Same error here.
Here's the output of emerge info:

Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.
8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-4 -mtune=athlon-4 -fomit-frame-pointer -mfpmath=sse,38
7 -pipe -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-4 -mtune=athlon-4 -fomit-frame-pointer -mfpmath=sse,
387 -pipe -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/linux/gentoo http://ftp.easynet.nl/mirror/ge
ntoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://linux.rz.ruhr-uni-bochu
m.de/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.
oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm audiofile avi berkdb bitmap-fonts bzlib cdr cjk crypt dvd 
dvdr encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod
 mmx motif mpeg ncurses nls oggvorbis opengl oss pam pcre pdflib perl png python
 qt quicktime readline ruby sdl slang spell sse ssl tcltk tcpd truetype unicode 
x86 xml2 xmms xprint xv zlib"

I had exactly the same error, tried to fix it by emerging gettext first (to upgrade it to 0.14.1). Resulted in almost the same error:

--8<--snip--8<--
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default commands
make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils
2.15.92.0.2/bfd/po'
make[3]: Entering directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutil
-2.15.92.0.2/bfd/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file fr.po
file=./`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/gmsgfmt -o $file tr.po
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.12.1.so
 cannot open shared object file: No such file or directory
make[3]: *** [tr.gmo] Error 127
make[3]: *** Waiting for unfinished jobs....
/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.12.1.so
 cannot open shared object file: No such file or directory
make[3]: *** [fr.gmo] Error 127
make[3]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils
2.15.92.0.2/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils
2.15.92.0.2/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.15.92.0.2/work/binutils
2.15.92.0.2/bfd'
make: *** [all-bfd] Error 2

!!! ERROR: sys-devel/binutils-2.15.92.0.2 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

[sven@ummon ~]$ sudo emerge info
Password:


!!! Failed to complete portage imports. There are internal modules for
!!! portage and failure here indicates that you have a problem with your
!!! installation of portage. Please try a rescue portage located in the
!!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
!!! There is a README.rescue file that details the steps required to perform
!!! a recovery of portage.

Comment 5 Sven Beukenex 2004-10-07 10:38:23 UTC
Disregard all after "[sven@ummon ~]$ sudo emerge info", that's me pressing ctrl-c, emerge still works fine.
Comment 6 Hanno Zysik (geki) 2004-10-07 11:33:48 UTC
you guys see this line:

/usr/bin/gmsgfmt: error while loading shared libraries: libgettextlib-0.12.1.so

its because of that gettext upgrade -> downgrade...

emerge gettext && emerge -uD world


this bug is INVALID!
Comment 7 Hanno Zysik (geki) 2004-10-07 11:37:45 UTC
if you guys upgrade or downgrade you HAVE TO emerge gettext _twice_ !

if not it will error out!
Comment 8 Hanno Zysik (geki) 2004-10-07 11:42:59 UTC
I meant: If you upgrade or downgrade gettext you have to emerge it twice! ;)
Comment 9 Sven Beukenex 2004-10-07 12:04:29 UTC
I thought that might do the trick ;)
Maybe this process can be automated in portage? As in, gettext gets built twice by default?

Anyway, thanks for the response.
Comment 10 Hanno Zysik (geki) 2004-10-07 12:07:44 UTC
it is that gettext gets linked to the old installed gettext. read this bug for more information:

http://bugs.gentoo.org/show_bug.cgi?id=66449
Comment 11 Max Cizauskas 2004-10-07 12:11:51 UTC
I had this same issue and solved it by emerging gettext again. Suggest that this is a bug with gettext rather then binutils
Comment 12 tom.garland 2004-10-07 12:39:12 UTC
After the second 'emerge gettext', 'emerge binutils' worked fine.

Thanks
Comment 13 SpanKY gentoo-dev 2004-10-07 15:58:35 UTC

*** This bug has been marked as a duplicate of 66449 ***