Bug 68578 - sys-devel/gettext-0.12.1-r2 failed
Bug#: 68578 Product:  Gentoo Linux Version: 2004.2 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: mvkessel@hotmail.com
Component: Core system
URL: 
Summary: sys-devel/gettext-0.12.1-r2 failed
Keywords:  
Status Whiteboard: 
Opened: 2004-10-22 11:20 0000
Description:   Opened: 2004-10-22 11:20 0000
When I try to re-emerge gettext 0.12.1-r2 I get the following error:

make[3]: Leaving directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.12
.1/gettext-runtime/lib'
Making all in libasprintf
make[3]: Entering directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.1
2.1/gettext-runtime/libasprintf'
make  all-am
make[4]: Entering directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.1
2.1/gettext-runtime/libasprintf'
cp ./autosprintf.h.in autosprintf.h
cp ./alloca_.h alloca.h
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
 -I.     -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -c -o lib-a
sprintf.lo lib-asprintf.c
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.
 -I.     -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -c -o autos
printf.lo autosprintf.cc
mkdir .libs
chmod 777 .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=k8 -O2 -pipe -fomit-
frame-pointer -frename-registers -c lib-asprintf.c  -fPIC -DPIC -o .libs/lib-asp
rintf.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -march=k8 -O2 -pipe -fomit-
frame-pointer -frename-registers -c autosprintf.cc  -fPIC -DPIC -o .libs/autospr
intf.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=k8 -O2 -pipe -fomit-
frame-pointer -frename-registers -c lib-asprintf.c -o lib-asprintf.o >/dev/null
2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -march=k8 -O2 -pipe -fomit-
frame-pointer -frename-registers -c autosprintf.cc -o autosprintf.o >/dev/null 2
>&1
/bin/sh ./libtool --mode=link x86_64-pc-linux-gnu-g++  -march=k8 -O2 -pipe -fomi
t-frame-pointer -frename-registers   -o libasprintf.la -rpath //usr/lib  lib-asp
rintf.lo autosprintf.lo
x86_64-pc-linux-gnu-g++ -shared /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../
../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtbeginS.o  .libs/lib-aspr
intf.o .libs/autosprintf.o  -L/usr/x86_64-pc-linux-gnu/lib -L/usr/x86_64-pc-linu
x-gnu/bin -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2 -L/usr/lib/gcc/x86_64-pc-linu
x-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-
linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-lin
ux-gnu/3.4.2/../../../../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../.. -
L/lib/../lib -L/usr/lib/../lib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libstdc++.
so -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtendS.o /usr/lib/gcc
/x86_64-pc-linux-gnu/3.4.2/../../../../lib/crtn.o  -march=k8 -o .libs/libasprint
f.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib/crti.o(.init+0x0): In fun
ction `_init':
/var/tmp/portage/glibc-2.3.4.20041006/work/build-x86_64-pc-linux-gnu-nptl/csu/cr
ti.S:11: multiple definition of `_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib/crti.o(.init+0x0):/var/tm
p/portage/glibc-2.3.4.20041006/work/build-x86_64-pc-linux-gnu-nptl/csu/crti.S:11
: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib/crti.o(.fini+0x0): In fun
ction `_fini':
: multiple definition of `_fini'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib/crti.o(.fini+0x0): first
defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtbeginS.o(.data.rel+0x0): multiple defi
nition of `__dso_handle'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtbeginS.o(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[4]: *** [libasprintf.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.12.1/gettext-runtime/libasprintf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.12.1/gettext-runtime/libasprintf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.12.1/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.12.1-r2/work/gettext-0.12.1/gettext-runtime'
make: *** [all-recursive] Error 1

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

here is my emerge --info:

Portage 2.0.51-r2 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 Mobile AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.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="X aalib acl acpi alsa amd64 apache2 apm arts avi berkdb bitmap-fonts bootsplash cdr cdrw crypt divx4linux doc dvd dvdr encode esd ethereal exif f77 fam flac foomaticdb ftp gd gdbm gif gnutls gphoto2 gpm gtk gtk2 hal icq imagemagick imlib ipv6 java joystick jp2 jpeg kde libg++ libwww lzw lzw-tiff maildir mailwrapper mbox mikmod mime motif mozilla mpeg msn multilib mysql mysqli ncurses nls nogcj nptl nptlonly odbc oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline samba sdl slang sockets spell spl ssl tcltk tcpd tiff truetype usb userlocales vhosts xine xlmrpc xml xml2 xmms xpm xprint xrandr xsl xv xvid zlib"

------- Comment #1 From SpanKY 2004-10-22 16:29:46 0000 -------
not a bug in gettext

------- Comment #2 From Jason Toffaletti 2004-10-23 14:26:32 0000 -------
I'm having this issue also.

------- Comment #3 From merwan kashouty 2004-10-25 06:29:42 0000 -------
getting the same error here too... might be nptl in USE?

------- Comment #4 From merwan kashouty 2004-10-25 06:49:45 0000 -------
ok gettext fails on another drive with gentoo and ~amd64 without nptl so it
isnt that. odd thing is it made it beyond bootstrap. these are both new
installs so its a ~ pkg issue... maybe glibc-20041006

------- Comment #5 From Brian Hall 2004-10-25 08:34:45 0000 -------
I get the exact same error. My emerge info:

Portage 2.0.51-r2 (gcc34-amd64-2004.1, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-ac3 x86_64)
=================================================================
System uname: 2.6.9-ac3 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.3
distcc 2.18 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -mtune=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -mtune=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb bitmap-fonts bzlib cdparanoia cdr chroot crypt cups curl dedicated dga dillo dio divx4linux dnd dvd dvdr encode f77 faac faad ffmpeg flac foomaticdb freetype gb gd gdbm gif gimp gimpprint ginac glut gphoto2 gpm gs gtk gtk2 gtkhtml imagemagick imlib imlib2 java jikes joystick jpeg kde lcd lesstif libdsk libg++ libwww lzw lzw-tiff mad maildir matrox mbox mcal md5sum mikmod mmap mng motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mplayer multilib music native ncurses net network nptl nptlonly offensive ofx oggvorbis ooo-kde openal opengl oss pam parse-clocks pdf pdflib perl physfs pic pie png ppds python qt quicktime readline scanner sdl slang sox spell ssl svg tcpd theora threads tiff transcode truetype type1 usb v4l v4l2 videos wifi wmf wxwindows xface xft xml xml2 xmms xosd xprint xrandr xscreensaver xv xvid xvmc yv12 zlib"

------- Comment #6 From Jason Toffaletti 2004-10-25 10:28:50 0000 -------
gettext-0.14 works for me, but I have to emerge it twice because of bug #66449

------- Comment #7 From Sebastian Spaeth 2004-10-26 23:43:56 0000 -------
CC'ing me, I experience this bug too

------- Comment #8 From jurrie 2004-10-27 10:29:32 0000 -------
Also experiencing this with the exact same error. Someone mentioned it could be
due to Sun JDK 1.5.0, but Blackdown 1.4.2 didn't solve it for me.

------- Comment #9 From Michel van Kessel 2004-10-30 17:57:48 0000 -------
yesterday after I did my weekly emerge sync, and I unmerged gaim and
gaim-encryption ... It worked again. 

Glibc got updated:
*  sys-libs/glibc
      Latest version available: 2.3.4.20041021
      Latest version installed: 2.3.4.20041021
      Size of downloaded files: 16,878 kB
      Homepage:    http://sources.redhat.com/glibc/
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2

Or it was a Glibc 20041006 bug, or a gaim and gaim-encryption bug ?!?!?

Please verify this

------- Comment #10 From jurrie 2004-10-31 08:14:29 0000 -------
emerges fine for me too with the new glibc

------- Comment #11 From Travis Tilley (RETIRED) 2004-11-04 18:39:07 0000 -------
gettext 0.14.1 is now in stable