Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136601 - sys-apps/file wants wrong version of compiler
Summary: sys-apps/file wants wrong version of compiler
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-12 19:07 UTC by Felix Finch
Modified: 2006-06-13 07:31 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 Felix Finch 2006-06-12 19:07:03 UTC
I have a laptop which used to run gentoo, but I confused it with conflicting versions of software and decided the best bet was to reinstall from scratch.  I am trying a stage1 install; that part went ok, but stage two fails with this complaint:

running build
running build_ext
building 'magic' extension
creating build
creating build/temp.linux-i686-2.4
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=i686 -O2 -pipe -fPIC -I./ -I../ -I../src -I/usr/include/ -I/usr/include/python2.4 -c py_magic.c -o build/temp.linux-i686-2.4/py_magic.o
unable to execute i386-pc-linux-gnu-gcc: No such file or directory
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: sys-apps/file-4.17-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  file-4.17-r1.ebuild, line 43:   Called distutils_src_compile
  distutils.eclass, line 38:   Called die

Everything prior to that for this sys-apps/file emerge was referencing i686* as the compiler.

Here is emerge --info:

Gentoo Base System version 1.12.1
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r5
 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu
tdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acpi afs aim alsa amd anthy apache apac
he2 apm applet arts asf audacious audiofile automount avi bash-completion bdf be
rkdb bidi bitmap-fonts bittorrent bluetooth bonjour bonobo bzip2 canna cardbus c
db cdda cddb cdf cdparanoia cdr cjk cli crypt css ctype cups curl curlwrappers d
ba dbus directfb dri dv dvb dvd dvdr dvdread dvi dxr3 ecc eds elibc_glibc emacs 
emacs-w3 emboss encode esd ethereal examples exif expat extensions fam fame fast
build fastcgi fat fbcon fbdev festival ffmpeg flac font-server fontconfig foomat
icdb force-cgi-redirect fortran freetds freetts freewnn ftp gcj gd gdbm gif gimp
 glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal haskell hfs
 idn ieee1394 imagemagick imap imlib innodb ipod ipv6 isdnlog jabber jack java j
avascript jbig jfs jpeg jpeg2k kde kernel_linux lame lcms ldap leim libcaca libg
++ libgd libgda libwww lm_sensors mad madwifi maildir memlimit mikmod mime mjpeg
 mmx mmxext mng motif mozilla mp3 mp4live mpeg mpeg2 mpi mplayer mysql mythtv nc
urses new-login nls nptl nptlonly odbc offensive ofx ogg oggvorbis opengl oss pa
m pcre pda pdflib perl player png posix postgres pppd procmail python qt quickti
me readline reflection reiserfs ruby samba scanner sdl session simplexml skk sla
ng slp smime snmp soap sockets sox speedo speex spell spf spl sql sqlite sqlite3
 sse sse2 ssl stroke svg svga tcltk tcpd tetex theora threads tiff tokenizer tra
nscode truetype truetype-fonts type1 type1-fonts udev unicode userland_GNU v4l v
4l2 vcd vfat vorbis webdav wifi win32codecs withsamplescripts wma wma123 wmf wxw
indows x264 x86 xanim xemacs xforms xfs xft xim xine xinerama xml xml2 xmms xorg
 xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU
AS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I can chroot to the mounted drives and emerge --resume repeats this, time after time.  I tried adding a symlink from /usr/bin/i686... to i386..., that failed exactly the same, and removing the symlink continues to fail exactly the same.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 23:56:04 UTC
env-update && source /etc/profile && 'emerge -e system'
Comment 2 Felix Finch 2006-06-13 07:27:30 UTC
This is pathetic.  I claim a stage 1 install fails and you run emerge -e system.  Somehow I don't see the similarity.  I have been continuing this stage 1 install using emerge --resume --skipfirst; my hope is taht I can struggle thru to the end and have a system which, altho crippled, can at least recompile the missing parts.

For instance, dev-perl/Locale-gettext fails because perl is not installed yet.

I wonder what else is not installed that makes sys-apps/file fail?  You eveidently don't see the relationship.  No shit.  If I have a fully installed system, I can probably emerge a part which has already emerged.

The real trick comes in trying to install from scratch.

Gentoo is run by a bunch of noobies who can't see past the end of their own noses.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-13 07:31:15 UTC
Eh, look - either use stage3 like everyone else or do the damned bootstrap and stage 1/2 properly. It's unsupported, period.