Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86771 - glibc-2.3.4.20041102-r1 with nptl and nptlonly flags fails on update
Summary: glibc-2.3.4.20041102-r1 with nptl and nptlonly flags fails on update
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 06:37 UTC by MickKi
Modified: 2005-06-07 21:15 UTC (History)
0 users

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 MickKi 2005-03-26 06:37:35 UTC
Updating a stage 3 install with nptl and nptlonly USE flags fails because the ebuild calls for 

cd: /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-nptl

which does not seem to exist?

Reproducible: Always
Steps to Reproduce:
1. Set USE="nptl nptlonly"
2. emerge -uDv system
3. BANG!

Actual Results:  
>>> emerge (1 of 9) sys-libs/glibc-2.3.4.20041102-r1 to /
>>> md5 src_uri ;-) glibc-2.3.3.tar.bz2
>>> md5 src_uri ;-) glibc-manpages-2.3.4.tar.bz2
>>> md5 src_uri ;-) glibc-infopages-2.3.4.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.4-branch-update-20041102.patch.bz2
nptlonly
nptl
>>> Unpacking source...
nptl
>>> Unpacking glibc-2.3.3.tar.bz2 to /var/tmp/portage/glibc-2.3.4.20041102-r1/
work
>>> Unpacking glibc-manpages-2.3.4.tar.bz2 to /var/tmp/portage/glibc-2.3.4.
20041102-r1/work/glibc-2.3.3/man
 [32;01m*[0m Applying glibc-2.3.4-branch-update-20041102.patch.bz2 ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Patching version to display snapshot date ...
>>> Unpacking glibc-infopages-2.3.4.tar.bz2 to /var/tmp/portage/glibc-2.3.4.
20041102-r1/work/glibc-2.3.3
nptl
 [32;01m*[0m Applying glibc-2.3.4-fedora-branch-no-libnoversion.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4-fedora-branch-no-force-nontls.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
!hppa
 [32;01m*[0m Applying glibc-2.3.2-propolice-guard-functions-v3.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.3-frandom-detect.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4-dl_execstack-PaX-support.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.3_pre20040117-pt_pax.diff ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4.20040808-i386-got-fix.diff ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-gentoo-libdir.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-sec-hotfix-20040916.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4-mdns-resolver-20041102.diff ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4-features-header-fix.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying glibc-2.3.4-fix-_dl_next_tls_modid-assert.patch ...
[A[115G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
nptl
>>> Test phase [not enabled]: sys-libs/glibc-2.3.4.20041102-r1

>>> Install glibc-2.3.4.20041102-r1 into /var/tmp/portage/glibc-2.3.4.20041102-
r1/image/ category sys-libs
nptlonly
nptlonly
/usr/lib/portage/bin/ebuild.sh: line 830: cd: /var/tmp/portage/glibc-2.3.4.
20041102-r1/work/build-default-i686-pc-linux-gnu-nptl: No such file or directory
 [32;01m*[0m Installing GLIBC with NPTL...
Makeconfig:84: x86/config.make: No such file or directory
Makerules:782: no file name for `include'
configure.in > configure.new
/bin/sh: line 1: configure.in: command not found
make: *** [configure] Error 127

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_install, Line 834, Exitcode 2
!!! (no error message)

Expected Results:  
Err, configure, make & install? ;-)

This is a brand new installation using the x86 stage3 2004.3 LiveCD.

Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake: sys-devel/automake-1.7.9-r1,sys-devel/automake-1.8.5-r3,sys-devel/
automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/
automake-1.9.4
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userlocales 
userpriv usersandbox"
GENTOO_MIRRORS="ftp://194.117.143.69/mirrors/gentoo ftp://ftp.easynet.nl/mirror/
gentoo/ http://gentoo.mirror.icd.hu/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb 
fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod 
motif mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl 
png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts 
type1-fonts xml2 xmms xv zlib"
Comment 1 reisio 2005-03-27 17:38:38 UTC
same here (emerge glibc after setting USE="nptl nptlonly" & update to linux26-headers)

CHOST="i386-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="sandbox ccache distlocks"
CCACHE_SIZE="2G"
RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
USE="nptl nptlonly"
Comment 2 MickKi 2005-03-28 03:05:30 UTC
It seems that trying to emerge glibc with USE="nptl nptlonly" straight from the 2004.3 LiveCD is too much to ask?

First <emerge -uDv system> with *no* USE flags set to bring it up to date and then set the "nptl  nptlonly" flags before trying to <emerge -ev glibc> again.

Note that at some point during the initial update it will try to bring in linux-headers again.  Mask it, or remove it and re-emerge linux26-headers before you continue.

Assuming this works for you too and with 2005.0 release just out, it would be better if the bug was closed so that the devs concentrate on more worthwhile jobs!  :-)

Regards,
Mick
Comment 3 MickKi 2005-03-28 06:37:19 UTC
Oops, ignore the linux26-headers comment . . . things are moving sooo fast with Gentoo ;-)

linux-headers in portage now contains linux26.

Marvellous!  On with installing Xorg now :-D
Comment 4 Nathan Sullivan 2005-06-06 23:01:43 UTC
I just managed to get the same issue here, while remerging
sys-libs/glibc-2.3.4.20050125 (toolchain rebuild for gcc 3.4.4). This build was
being built with my current gcc 3.4.3 though...very weird, as the examples below
are standard Gentoo installs, wheres mine is a hardened install...

Error as below, exactly the same.


>>> Unpacking source...
>>> Unpacking glibc-2.3.4.tar.bz2 to /var/tmp/portage/glibc-2.3.4.20050125/work
>>> Unpacking glibc-linuxthreads-2.3.4.tar.bz2 to
/var/tmp/portage/glibc-2.3.4.20050125/work/glibc-2.3.4
>>> Unpacking glibc-2.3.4-patches-1.2.tar.bz2 to
/var/tmp/portage/glibc-2.3.4.20050125/work
>>> Unpacking glibc-manpages-2.3.4-r1.tar.bz2 to
/var/tmp/portage/glibc-2.3.4.20050125/work
>>> Unpacking glibc-infopages-2.3.4-r1.tar.bz2 to
/var/tmp/portage/glibc-2.3.4.20050125/work/glibc-2.3.4
 * Applying Gentoo Glibc Patches: 2.3.4-1.2
 * Applying various patches (bugfixes/updates) ...
 *   2000_all_2.3.2-propolice-guard-functions-v3.patch ...                     
                                                                               
                                  [ ok ]
 *   2010_all_2.3.3-frandom-detect.patch ...                                   
                                                                               
                                  [ ok ]
 *   3000_all_2.3.4-dl_execstack-PaX-support.patch ...                         
                                                                               
                                  [ ok ]
 *   3010_all_2.3.3_pre20040117-pt_pax.patch ...                               
                                                                               
                                  [ ok ]
 *   3020_all_2.3.4.20040808-i386-got-fix.patch ...                            
                                                                               
                                  [ ok ]
 *   4000_all_2.3.4-hardened-sysdep-shared.patch ...                           
                                                                               
                                  [ ok ]
 *   5000_all_2.3.4-mdns-resolver-20041102.patch ...                           
                                                                               
                                  [ ok ]
 *   5010_all_2.3.4-features-header-fix.patch ...                              
                                                                               
                                  [ ok ]
 * Done with patching
 * Applying glibc-2.3.4-fix-_dl_next_tls_modid-assert.patch ...                
                                                                               
                                  [ ok ]
>>> Source unpacked.
>>> Test phase [not enabled]: sys-libs/glibc-2.3.4.20050125

>>> Install glibc-2.3.4.20050125 into
/var/tmp/portage/glibc-2.3.4.20050125/image/ category sys-libs
 * Enabling the use of some unstable flags
/usr/portage/sys-libs/glibc/glibc-2.3.4.20050125.ebuild: line 264: cd:
/var/tmp/portage/glibc-2.3.4.20050125/work/build-default-i386-pc-linux-gnu-nptl:
No such file or directory
 * Installing GLIBC with NPTL...
Makeconfig:84: x86/config.make: No such file or directory
Makerules:782: no file name for `include'
/bin/sh: line 0: cd: x86: No such file or directory
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make: *** [x86/config.status] Error 1

!!! ERROR: sys-libs/glibc-2.3.4.20050125 failed.
!!! Function toolchain-glibc_src_install, Line 268, Exitcode 2
!!! (no error message)


--------------------------------------------------

Portage 2.0.51.22-r1 (selinux/2004.1/x86, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages loadpolicy nostrip sandbox
selinux sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirror.isp.net.au/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb cpdflib crypt cups curl dba debug dvd exif
fam ftp gd gdbm hardened hardenedphp imap innodb ipv6 jabber jpeg ldap libclamav
libwww mad maildir mcal mhash mmx mysql ncurses nls nptl nptlonly ogg pam pcntl
pcre perl pic pie png postgres python readline samba selinux session simplexml
slang snmp soap sockets spell sqlite ssl tcpd tidy tiff tokenizer truetype usb
userlocales vhosts vorbis wddx x86 xml xml2 xmlrpc zaptel zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Nathan Sullivan 2005-06-07 21:15:05 UTC
Ok ignore my last comment, im such an idiot. Tried 2.3.5, and its working fine
with nptl/nptlonly.