Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47155 - Can't emerge portage: Illegal instruction in setup.py
Summary: Can't emerge portage: Illegal instruction in setup.py
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 16:16 UTC by Pierre-Olivier Bouchard
Modified: 2004-04-22 16:00 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 Pierre-Olivier Bouchard 2004-04-07 16:16:10 UTC
When trying to emerge portage, I get this output:

tortue root # emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r3 to /
>>> md5 src_uri ;-) portage-2.0.50-r3.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r3.tar.bz2 to /var/tmp/portage/portage-2.0.50-r3/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox_futils.c -o sandbox_futils.o
gcc libsandbox.o sandbox_futils.o -shared  -fPIC -ldl -lc -nostdlib -lgcc -o libsandbox.so
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox.c -o sandbox.o
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox

>>> Install portage-2.0.50-r3 into /var/tmp/portage/portage-2.0.50-r3/image/ category sys-apps
/usr/sbin/ebuild.sh: line 1427: 17707 Illegal instruction     ./setup.py install --root ${D}

!!! ERROR: sys-apps/portage-2.0.50-r3 failed.
!!! Function src_install, Line 94, Exitcode 132
!!! Failed to install missingos module

I tried uncommenting the code block at lines 1424-1426, to no effect (this might be expected, I didn't read at all what it did - It was close to the failure point, only reason I tried it)

Here is system info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-ck1)
=================================================================
System uname: 2.6.4-ck1 i586 Pentium MMX
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-mmx -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
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=pentium-mmx -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ http://adelie.polymtl.ca/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="cups foomaticdb gif imlib jpeg mmx ncurses pam pic png readline samba ssl tcpd usb x86 zlib"

Thanks!
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-04-08 10:59:33 UTC
Looks like a python problem to me, sure you used the right stage tarball ?
Comment 2 Pierre-Olivier Bouchard 2004-04-08 17:11:53 UTC
I tried re-emerging python, and it didn't change a thing. The only ebuild I can't fully merge is portage, all others work fine. This system has been installed over a year ago, and has worked fine until about the time were portage 2.0.50-r2 was out, then retracted a few hours later.
Comment 3 Pierre-Olivier Bouchard 2004-04-20 15:00:36 UTC
I was able to fix this: I commented out a test for the missingos module (whatever that is), and I was able to merge portage fine. Everything is working good since then (It's been a week or two since I fixed it, so I don't remember the line numbers I commented out to fix it. There doesn't seem to be any more lines about missingos in the ebuild.sh I currently have).
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-04-22 16:00:47 UTC
It very much sounds like your using the wrong stage tarball. As the test is a
python script and the missingos module is C code, there aren't a lot more
options.

As you never answered that question, that is what I'm going with.
Reopen if you believe it otherwise.