Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64548 - glibc will not compile with nptl USE flag
Summary: glibc will not compile with nptl USE flag
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 10:29 UTC by pwhitt
Modified: 2005-07-17 07:58 UTC (History)
1 user (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 pwhitt 2004-09-18 10:29:54 UTC
when i attempt to emerge glibc with nptl in my USE flags, the emerge ends prematurely and reports the following:
=======================
CPP='gcc -E -x c-header'  /var/tmp/portage/glibc-2.3.4.20040808/work/build/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.4.20040808/work/build:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/math:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/elf:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/dlfcn:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/nss:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/nis:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/rt:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/resolv:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/crypt:
/var/tmp/portage/glibc-2.3.4.20040808/work/build/nptl
/var/tmp/portage/glibc-2.3.4.20040808/work/build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.4.20040808/work/build/sunrpc/xbootparam_prot.T
/var/tmp/portage/glibc-2.3.4.20040808/work/build/sunrpc/rpcgen: error while loading shared libraries: /var/tmp/portage/glibc-2.3.4.20040808/work/build/sunrpc/rpcgen: cannot open shared object file: No such file or directory
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808/work/build/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20040808 failed.
!!! Function src_compile, Line 559, Exitcode 2
!!! (no error message)
========================

I have attempted using various versions of gcc, binutils and several other combinations as well as glibc-2.3.3 to the most recent- the one which generated this message.  My emerge info is as follows:

========================
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-ck5)
==============================================
System uname: 2.6.7-ck5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/li
b/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/te
x/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aim alsa apm arts audiofile avi berkdb bitmap-fonts cdr cjk crypt cups dga dio directfb divx4linux
dvd enc ode esd foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg kde kerberos
libg++ libwww mad mikmod moti f mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pda pdflib perl
plotutils png python qt quicktime readline ruby scanner sdl slang slp spell ssl svga tcltk tcpd tetex truetype usb x86
xml2 xmms xosd xprint xv xvid zlib"
===========================

Please let me know if I should post more information.

Reproducible: Always
Steps to Reproduce:
1. USE="nptl" emerge glibc

Actual Results:  
The emerge ends reporting the error listed in the Details of this report.

Expected Results:  
completed the ebuild, enabling nptl in the rebuild of glibc

Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-ck5)
==============================================
System uname: 2.6.7-ck5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/li
b/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/te
x/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aim alsa apm arts audiofile avi berkdb bitmap-fonts cdr cjk
crypt cups dga dio directfb divx4linux
dvd enc ode esd foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 guile imlib
java jpeg kde kerberos
libg++ libwww mad mikmod moti f mozilla mpeg nas ncurses nls oggvorbis opengl
oss pam pda pdflib perl
plotutils png python qt quicktime readline ruby scanner sdl slang slp spell ssl
svga tcltk tcpd tetex truetype usb x86
xml2 xmms xosd xprint xv xvid zlib"
===========================
Comment 1 Raffi Chaglassian 2005-02-23 09:10:18 UTC
I can confirm this BUG
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 01:50:26 UTC
Is this still an issue?  Can you please try with newer versions of glibc?  Can
you please attach your full build log of glibc-2.3.5.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-16 10:57:26 UTC
Would be nice to know which library its complaining about.  I wonder if its not
a parallel make issue ... try with make -j1.
Comment 4 pwhitt 2005-07-17 04:38:35 UTC
this is no longer a problem for me.  i have no idea what exactly fixed it.  i
have updated my kernel several times and have likely `emerge -uv world` a few
times too.  i currently have glibc-2.3.4.20050125 running with 2.6.11-gentoo-r4
sources and nptl enabled.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-17 07:58:18 UTC
Thanks.