Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86608 - sys-libs/glibc-2.3.4.20041102-r1 failed.
Summary: sys-libs/glibc-2.3.4.20041102-r1 failed.
Status: RESOLVED DUPLICATE of bug 86465
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-24 21:04 UTC by Joshua Banks
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 Joshua Banks 2005-03-24 21:04:45 UTC
After doing an "emerge --sync" and "emerge -uDv world" and update to glibc was included. When the glibc package was compiling it stoped with the following error.

**************************************************
 * Installing Info pages...
make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C /var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3 objdir=`pwd` info
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
make -j2 -C manual info
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/manual'
make[2]: Nothing to be done for `info'.
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/manual'
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
 * Installing locales in /etc/locales.build...
make -r PARALLELMFLAGS="-j2 -j1" CVSOPTS="" -C /var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3 objdir=`pwd` localedata/install-locales
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
make -j2 -j1 -C localedata install-locales
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/localedata'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20041102-r1/image//usr/lib/locale
mkdir /var/tmp/portage/glibc-2.3.4.20041102-r1/image/usr/lib/locale
en_US.ISO-8859-1... done
en_US.UTF-8... done
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/localedata'
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
 * Installing man pages and docs...
/usr/lib/portage/bin/ebuild.sh: line 1874: 10317 Segmentation fault      env LD_LIBRARY_PATH="${D}/$(get_libdir)" ${x} >/dev/null

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_install, Line 1008, Exitcode 139
!!! simple run test (ls) failed
!!! If you need support, post the topmost build error, NOT this status message.
**************************************************

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 13 2005, 00:31:31)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://gentoo.mirrors.pair.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt emboss encode font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imap imlib jpeg libg++ libwww mad maildir mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts vhosts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

***************************************************

Not sure what's going on. I've looked on Bugzilla and I only found one thing when searching on "sys-libs/glibc-2.3.4.20041102-r1", and that persons errors where different from my. I do see alot of people complaining about glibc today so I assume something is going on. The forums show lots of different stuff ads well but nothing related to glibc failing with a "segfault error" like mine. Anyways I thought I should post this just in case someone else runs into the same issue. Thanks. Your help is appreciated.

Reproducible: Always
Steps to Reproduce:
1. emerge -uDv world
2. build dies with segfault errors described above.
3. tried to emerge --sync again and got the same errors when compiling the upgraded glibc.

Actual Results:  
Explained in the "Details" portion of the bug report.

Expected Results:  
glibc should build without errors. Heh.. 

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 13 2005, 00:31:31)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://gentoo.mirrors.pair.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt emboss encode
font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imap imlib jpeg libg++
libwww mad maildir mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd tiff
truetype truetype-fonts type1-fonts vhosts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Nick Price 2005-03-24 23:53:30 UTC
I'm having the same issue as well, while I try to bootstrap a new system.  I hope this gets fixed soon :(
Comment 2 Matthew Baker 2005-03-25 00:23:02 UTC
Same here. Here's my emerge info:

**********
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 12:32:43)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6
sys-devel/automake:  1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apm berkdb crypt emboss encode fortran gdbm mikmod mp3 ncurses pam perl python readline slang ssl tcpd zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

***********

My error differs slightly in the line numbers.

make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/localedata'
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
 * Installing man pages and docs...
/usr/portage/sys-libs/glibc/glibc-2.3.4.20041102-r1.ebuild: line 1006: 13235 Segmentation fault      env LD_LIBRARY_PATH="${D}/$(get_libdir)" ${x} >/dev/null

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_install, Line 1009, Exitcode 139
!!! simple run test (ls) failed

Also like to add that I am trying to resolve a system crash that happens during daily cronjob, that I don't seem to be able to recreate. This _may_ be related to an instability in the system.
Comment 3 Matthew Baker 2005-03-25 01:25:47 UTC
I have just successfully emerged this ebuild!
I simply ran a emerge just against glibc after a emerge sync:
  emerge glibc

Very Odd!
Comment 4 Lev Shamardin 2005-03-25 02:01:25 UTC
I have absolutely the same problem.

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) III CPU             1133MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 13:51:58)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium3 -msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium3 -msse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://green.hackers/pub/mirror/gentoo/ http://mirror.gentoo.ru/pub/mirror/gentoo/ ftp://mirror.gentoo.ru/pub/mirror/gentoo/"
LANG="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups directfb emacs emboss encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib innodb java jpeg ldap libg++ libwww mad mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly objc oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sqlite sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts vdesktop xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 5 Matthew Baker 2005-03-25 02:51:42 UTC
I've been up all night trying to sort this server out that I'm going mad!!

I totally forgot something I did to get it to compile. Try removing the sandbox feature in make.conf.

Got the idea from here: Bug 69209
Comment 6 Phattanon Duangdara 2005-03-25 03:23:31 UTC
I got same probles with glibc-2.3.4-20041102 when use nptl

You need ~x86 (for glibc and dependency /etc/portage/package.keywords)
Then use glibc-2.3.4.20050125

I think lastest commit was the cause

--
  23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>
  glibc-2.3.4.20041102-r1.ebuild, glibc-2.3.4.20050125-r1.ebuild:
  Fixup copy operations to not replace symlinks with files. Add a fix ala
  vapier for bug #85555 (more a abort if this glibc is going to kill / than a
  fix).
--

See ChangeLog for details ... (I'm next go to browse glibc ebuild) in CVS
Comment 7 SpanKY gentoo-dev 2005-03-25 05:41:10 UTC

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