Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123474 - Segmentation faults during "emerge --update world"
Summary: Segmentation faults during "emerge --update world"
Status: RESOLVED DUPLICATE of bug 123342
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.kosunen.fi/gentoo/gentoo-e...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 03:31 UTC by Pertti Kosunen
Modified: 2006-02-20 03:37 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 Pertti Kosunen 2006-02-20 03:31:20 UTC
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 alsa alsaplayer avi berkdb bitmap-fonts crypt doc dts dvb dvd dvdread eds emboss encode foomaticdb fortran gif gpm gstreamer gtk2 imlib jpeg lirc lzw lzw-tiff mp3 mpeg ncurses nls pam pdflib perl png python quicktime readline sdl spell tcpd tiff truetype-fonts type1-fonts usb userlocales vdr xpm xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

During "emerge --update --deep --newuse world" configure scripts stops to Segmentation fault. I forgot ACCEPT_KEYWORDS="~amd64" to make.conf after some test. It seem that some of 16:41 updates broke the system. I managed to downgrade sysvinit to 2.86-r3 version, but it didn't help.

These ports went ok:
15:12 ./app-shells/bash-3.1_p8/bash-3.1_p8.ebuild
15:13 ./sys-devel/gnuconfig-20051223/gnuconfig-20051223.ebuild
15:13 ./sys-libs/readline-5.1_p2/readline-5.1_p2.ebuild
15:15 ./dev-lang/python-2.4.2-r1/python-2.4.2-r1.ebuild
15:16 ./app-misc/pax-utils-0.1.10/pax-utils-0.1.10.ebuild
15:16 ./app-portage/portage-manpages-1.2/portage-manpages-1.2.ebuild
15:16 ./sys-devel/gcc-config-1.3.13-r1/gcc-config-1.3.13-r1.ebuild
15:17 ./sys-apps/texinfo-4.8-r3/texinfo-4.8-r3.ebuild
15:44 ./sys-devel/gcc-3.4.5/gcc-3.4.5.ebuild
15:45 ./sys-libs/timezone-data-2006a/timezone-data-2006a.ebuild
16:28 ./sys-apps/sed-4.1.4-r1/sed-4.1.4-r1.ebuild
16:28 ./sys-libs/glibc-2.3.6-r3/glibc-2.3.6-r3.ebuild
16:28 ./virtual/libintl-0/libintl-0.ebuild
16:29 ./dev-python/pycrypto-2.0.1-r4/pycrypto-2.0.1-r4.ebuild
16:29 ./sys-apps/man-1.6c/man-1.6c.ebuild
16:29 ./sys-apps/man-pages-2.23/man-pages-2.23.ebuild
16:29 ./sys-apps/portage-2.1_pre4-r1/portage-2.1_pre4-r1.ebuild
16:30 ./sys-apps/grep-2.5.1a/grep-2.5.1a.ebuild
16:32 ./sys-devel/libperl-5.8.8/libperl-5.8.8.ebuild
16:37 ./dev-lang/perl-5.8.8/perl-5.8.8.ebuild
16:37 ./virtual/perl-Test-Simple-0.62/perl-Test-Simple-0.62.ebuild
16:38 ./sys-devel/make-3.80-r4/make-3.80-r4.ebuild
16:41 ./sys-apps/baselayout-1.12.0_pre16-r1/baselayout-1.12.0_pre16-r1.ebuild
16:41 ./sys-apps/coreutils-5.94/coreutils-5.94.ebuild
16:41 ./sys-apps/sysvinit-2.86-r4/sysvinit-2.86-r4.ebuild
16:41 ./sys-fs/udev-084/udev-084.ebuild
16:44 ./dev-python/python-fchksum-1.7.1/python-fchksum-1.7.1.ebuild

/var/log/messages @ 16:41:
Feb 19 16:41:24 vdr init: Trying to re-exec init
Feb 19 16:42:19 vdr expr[32727]: segfault at 00002aab0050711f rip 000000000040187d rsp 00007fffffd491c0 error 6
Feb 19 16:42:19 vdr expr[32741]: segfault at 00002aab0050711f rip 000000000040187d rsp 00007fffff871600 error 6 

This line causes the Segmentation fault (configure: line 58):
if expr a : '\(a\)' >/dev/null 2>&1; then

Emerge stopped here:
 * econf: updating libxml2-2.6.23/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-zlib --without-run-debug --with-python --with-readline --with-history --disable-ipv6 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: line 56:  6130 Segmentation fault      expr a : '\(a\)' >/dev/null 2>&1
./configure: line 198:  6144 Segmentation fault      expr a : '\(a\)' >/dev/null 2>&1
configure: error: invalid package name: 

!!! ERROR: dev-libs/libxml2-2.6.23-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  libxml2-2.6.23-r1.ebuild, line 67:   Called econf 'compile' '--with-zlib' '--without-run-debug' '--with-python' '--with-readline' '--with-history'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 03:37:02 UTC

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