Unix Technical Forum

Segfault emerging glibc-2.3.4.20041102-r1

This is a discussion on Segfault emerging glibc-2.3.4.20041102-r1 within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi all, emerge synced a new glibc version, but it fails while emerging with a segfault: mkdir /var/tmp/portage/glibc-2.3.4.20041102-r1/image/usr/lib/locale en_US.ISO-8859-1... ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 09:36 AM
Hannes Erven
 
Posts: n/a
Default Segfault emerging glibc-2.3.4.20041102-r1

Hi all,


emerge synced a new glibc version, but it fails while emerging with a
segfault:


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
ja_JP.EUC-JP... done
ja_JP.UTF-8... done
ja_JP.EUC-JP... done
en_HK.ISO-8859-1... done
en_PH.ISO-8859-1... done
de_DE.ISO-8859-1... done
de_DE.ISO-8859-15@euro... done
es_MX.ISO-8859-1... done
fa_IR.UTF-8... done
fr_FR.ISO-8859-1... done
fr_FR.ISO-8859-15@euro... done
it_IT.ISO-8859-1... 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: 5064 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.


The build itself seems to run fine, at least for my eyes. The only
suspicous line at the end is,


/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/elf/ldconfig
-r /var/tmp/portage/glibc-2.3.4.20041102-r1/image/ \
/lib /usr/lib
/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/elf/ldconfig:
Can't open configuration file /etc/ld.so.conf: No such file or directory
make[1]: Leaving directory
`/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'



emerge --info says:
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 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005,
14:05:17)]
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 -march=pentium4 -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 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at ftp://mirror.nutsmaas.nl/gentoo/
http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi apache2 apm arts avi bash-completion berkdb bitmap-fonts
cdr crypt cups curl dvd emboss encode esd ethereal fam flac font-server
foomaticdb fortran gd gdbm gif gpm gtk gtk2 imagemagick imap imlib ipv6
java jpeg junit kerberos libg++ libwww mad maildir mikmod motif mozilla
mp3 mpeg mysql ncurses nls oci oci8 oggvorbis opengl oracle oss pam pcre
pdflib perl php png postgres python qt quicktime readline samba sdl
slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts
unicode usb xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY



Any help would be greatly appreciated.

Thanks,
with best regards

-hannes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 09:36 AM
J.O. Aho
 
Posts: n/a
Default Re: Segfault emerging glibc-2.3.4.20041102-r1

Hannes Erven wrote:
> Hi all,
>
>
> emerge synced a new glibc version, but it fails while emerging with a
> segfault:


Do you get this segfault on the same place each time?

Do you get segfaults on other large ebuilds like kdelibs?
In that case, your CPU cooling ain't strong enough.


//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 09:36 AM
Felix Tiede
 
Posts: n/a
Default Re: Segfault emerging glibc-2.3.4.20041102-r1

Hannes Erven wrote:
> Hi all,
>
>
> emerge synced a new glibc version, but it fails while emerging with a
> segfault:
>

[snip]
> * Installing man pages and docs...
> /usr/lib/portage/bin/ebuild.sh: line 1874: 5064 Segmentation fault env
> LD_LIBRARY_PATH="${D}/$(get_libdir)" ${x} >/dev/null
>

[snap]

This is fixed in a newer ebuild - When did you do the last emerge sync?
I've had the same problem, but it was fixed in an ebuild I got by syncing on
Saturday, March 26th.

HTH, regards
Felix Tiede
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 09:37 AM
Hannes Erven
 
Posts: n/a
Default Re: Segfault emerging glibc-2.3.4.20041102-r1

Yes,



> This is fixed in a newer ebuild - When did you do the last emerge sync?


Thanks! I emerge --sync weekly, but obviously hadn't gotten that updated
ebuild until now :-/


lg,
-hannes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:23 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com