Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15197 - Emerging portage-2.0.46-r11 segfaults after counter updated succesfully
Summary: Emerging portage-2.0.46-r11 segfaults after counter updated succesfully
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 03:03 UTC by pasi.valminen
Modified: 2011-10-30 22:21 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 pasi.valminen 2003-02-06 03:03:43 UTC
I update portage with: emerge -u portage. After compiling and installing i get
this: 

Recalculating the counter... Counter updated successfully.
/usr/sbin/ebuild.sh: line 1109: 28950 Segmentation fault      python -O -c
"import py_compile;
py_compile.compile('${ROOT}usr/lib/python2.2/site-packages/portage.py')"

!!! ERROR: sys-apps/portage-2.0.46-r11 failed.
!!! Function pkg_postinst, Line 216, Exitcode 139
!!! (no error message)

>>> Regenerating /etc/ld.so.cache...
>>> sys-apps/portage-2.0.46-r11 merged.

Tried 'emerge portage' after this to reproduce the bug, and yes it segfaulted
again. 

Then I tried to update portage on a K6-2 and on a p4 box, and they did not
segfault... Go figure. The affected box was a P3 450MHz. Emerge info of the
affected box below...

Reproducible: Always
Steps to Reproduce:
1. emerge portage
Comment 1 pasi.valminen 2003-02-06 03:04:52 UTC
Portage 2.0.46-r11 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-openmosix-r2 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm crypt libg++ mmx ncurses zlib gdbm berkdb readline tcpd pam ssl -3dnow -arts -avi -cups -encode -gif -gnome -gpm -gtk -gtk2 -imlib innodb -java -jpeg -kde ldap -libwww -mikmod -motif -mpeg mysql -nls odbc -oggvorbis -opengl -oss -pdflib perl -png postgres -python -qt -qtmt -quicktime sasl -sdl -slang -spell sse -svga -truetype -X -xml2 -xmms -xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-02-06 21:30:15 UTC
Try it without -march=pentium3
try pentium2 There is a bug in p3 code generation.
Comment 3 pasi.valminen 2003-02-07 03:31:12 UTC
inherit flag-o-matic
replace-flags "-march=pentium3" "-march=pentium2" 

And yes. It works great like this :)
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-02-07 06:09:18 UTC
gcc bug