Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Ricky Egeland <ricky.egeland@...>
Subject: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6
Date: Mon, 9 May 2011 18:58:43 -0300
Hi,

I am trying to install Gentoo Prefix on a Centos 5.5 system.  I was following the instructions word-for-word here:

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml

But ran into trouble at

$ % emerge --oneshot --nodeps binutils

Details and `emerge --info` are below.  It looks like it's due to a missing file called '/config.sub', but I'm not sure the best way to resolve this.

As an aside, these instructions are for Solaris but recommended for non-gentoo Linux users.  Maybe I could go ahead without building binutils (among other things) and use them from the base OS?

Thanks,
Ricky

=====

make[4]: *** [arm.o] Error 1
make[4]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold'
make[1]: *** [all-gold] Error 2
make[1]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build'
make: *** [all] Error 2
emake failed
* ERROR: sys-devel/binutils-2.21.51.0.6 failed (compile phase):
*   emake failed
* 
* Call stack:
*     ebuild.sh, line   62:  Called src_compile
*   environment, line 3247:  Called toolchain-binutils_src_compile
*   environment, line 4009:  Called die
* The specific snippet of code:
*       emake all || die "emake failed";
* 
* If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.51.0.6',
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.51.0.6'.
* The complete build log is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log'.
* The ebuild environment file is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/environment'.
* S: '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6'

>>> Failed to emerge sys-devel/binutils-2.21.51.0.6, Log file:

>>> '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log'

* Messages for package sys-devel/binutils-2.21.51.0.6:

* Can't read /config.sub, skipping..
* Can't read /config.guess, skipping..
* ERROR: sys-devel/binutils-2.21.51.0.6 failed (compile phase):
*   emake failed
* 
* Call stack:
*     ebuild.sh, line   62:  Called src_compile
*   environment, line 3247:  Called toolchain-binutils_src_compile
*   environment, line 4009:  Called die
* The specific snippet of code:
*       emake all || die "emake failed";
* 
* If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.51.0.6',
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.51.0.6'.
* The complete build log is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log'.
* The ebuild environment file is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/environment'.
* S: '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6'
[egeland@squark]~/gentoo-prefix% emerge --info =sys-devel/binutils-2.21.51.0.6
zsh: sys-devel/binutils-2.21.51.0.6 not found
[egeland@squark]~/gentoo-prefix% emerge --info=sys-devel/binutils-2.21.51.0.6 
Usage: emerge [options]

emerge: error: --info option does not take a value

$ emerge --info =sys-devel/binutils-2.21.51.0.6
zsh: sys-devel/binutils-2.21.51.0.6 not found
[egeland@squark]~/gentoo-prefix% emerge --info \=sys-devel/binutils-2.21.51.0.6
Portage 2.2.01.18213-prefix (prefix/linux/amd64, gcc-4.1.2, unavailable, 2.6.18-194.32.1.el5 x86_64)
=================================================================
                       System Settings
=================================================================
System uname: Linux-2.6.18-194.32.1.el5-x86_64-with-redhat-5.5-Final
Timestamp of tree: Tue, 05 Apr 2011 21:39:05 +0000
app-shells/bash:     4.1_p7
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CPPFLAGS="-I/home/egeland/gentoo-prefix/usr/include"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/egeland/gentoo-prefix/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-L/home/egeland/gentoo-prefix/usr/lib -Wl,-rpath=/home/egeland/gentoo-prefix/usr/lib -L/home/egeland/gentoo-prefix/lib -Wl,-rpath=/home/egeland/gentoo-prefix/lib"
PKGDIR="/home/egeland/gentoo-prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/egeland/gentoo-prefix/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/egeland/gentoo-prefix/var/tmp"
PORTDIR="/home/egeland/gentoo-prefix/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 bootstrap bzip2 cli cracklib crypt cxx dri iconv ipv6 mmx modules mudflap ncurses nptl nptlonly openmp perl pppd prefix readline session sse sse2 sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS





Replies:
Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6
-- Fabian Groffen
Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6
-- Jonathan Callen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Mounting encrypted FS from prefix
Next by thread:
Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6
Previous by date:
Re: Mounting encrypted FS from prefix
Next by date:
Re: gentoo prefix bootstrap fails on emerge sys-devel/binutils-2.21.51.0.6


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.