Portage 2.1-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r7gh0st i686) ================================================================= System uname: 2.6.17-gentoo-r7gh0st i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -mtune=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" LANG="uk_UA" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.2.1/gentoo-portage" USE="x86 7zip X a52 aac aalib acl acpi aim alsa amuled apache2 apm arts atm avi bash-completion bcmath berkdb bidi bitmap-fonts bl bonobo bzip2 cdparanoia cdr clamav cli cpudetection crypt cups curl dbm dbus dedicated dga directfb djvu dlloader dri dts dv dvb dvd dvdr dvdread eds effects emboss encode esd examples extras fastcgi fbcon firefox flac fontconfig foomaticdb fortran ftp gd gdbm ggi gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal hash howl iconv icq imagemagick imap imlib inkjar iproute2 ipv6 irc isdnlog jabber jack jpeg kde kdeenablefinal libcaca libclamav libg++ libnotify libwww lirc lj lm_sensors logrotate lua# lzo mad mailwrapper mbox md5sum mikmod milter mmx mmxext modplug motif mozcalendar mozsvg mp3 mpeg mpm-prefork msn multiuser musepack mysql nas nautilus ncurses nls nsplugin oav odbc ogg openal opengl oscar oss pam pcre pdflib perl plugin png postgres pppd python qt qt3 qt4 quicktime quotas readline real reflection remote rss rtc ruby samba sasl sdl sensord session sharedmem sid slang smux sndfile snmp soap sockets source speex spell spl sse sse2 ssl stats svg svga swat syslog t1lib tcltk tcpd teamarena tga theora tidy tiff tokenizer toolbar tools truetype truetype-fonts type1-fonts unicode urandom v4l v4l2 vdr vhosts vorbis win32codecs winbind wma xanim xchatdccserver xine xml xml2 xmms xorg xpm xprint xscreensaver xv xvid xvmc yahoo zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Don't restrict bugs without any reason. Just leave the checkboxes alone.
>>> Emerging (1 of 1) dev-libs/klibc-1.2.1-r2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking klibc-1.2.1.tar.bz2 ;-) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.17-gentoo-r7gh0st >>> Unpacking source... >>> Unpacking klibc-1.2.1.tar.bz2 to /var/tmp/portage/klibc-1.2.1-r2/work * It does not look like your cross-compiler is setup properly! !!! ERROR: dev-libs/klibc-1.2.1-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_unpack ebuild.sh, line 711: Called src_unpack klibc-1.2.1-r2.ebuild, line 68: Called die !!! It does not look like your cross-compiler is setup properly! !!! If you need support, post the topmost build error, and the call stack if relevant.
I had the same problem on my install. But the emerge -Du --newuse world fixed the problem ! (just before Gcc get compiled... maybe gcc-config fixed the problem ?)
Gentoo Base System version 1.12.6 Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(TM) XP 2500+ Last Sync: Tue, 23 Jan 2007 22:59:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi alsa alsa_cards_emu10k1 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dga dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode esd fam fastcgi ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ mad mikmod mmx mono mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ogg openal opengl oss pam pcre perl php png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs wxwindows x264 xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS ------------------- >>> Emerging (1 of 1) dev-libs/klibc-1.2.1-r2 to / * klibc-1.2.1.tar.bz2 MD5 ;-) ... [ ok ] * klibc-1.2.1.tar.bz2 RMD160 ;-) ... [ ok ] * klibc-1.2.1.tar.bz2 SHA1 ;-) ... [ ok ] * klibc-1.2.1.tar.bz2 SHA256 ;-) ... [ ok ] * klibc-1.2.1.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking klibc-1.2.1.tar.bz2 ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.18-gentoo-r6/build * Found sources for kernel version: * 2.6.18-gentoo-r6 >>> Unpacking source... >>> Unpacking klibc-1.2.1.tar.bz2 to /var/tmp/portage/klibc-1.2.1-r2/work * It does not look like your cross-compiler is setup properly! !!! ERROR: dev-libs/klibc-1.2.1-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack klibc-1.2.1-r2.ebuild, line 68: Called die !!! It does not look like your cross-compiler is setup properly! !!! If you need support, post the topmost build error, and the call stack if relevant. ------------------- The same problem is happening to me. This is a fairly fresh install of Gentoo -- have been using it for about a week now. GCC 4.1.1 is what came with the install and I haven't emerged any other version. I have done an emerge -uDN world and it hasn't helped.
(In reply to comment #4) > Gentoo Base System version 1.12.6 > Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, > 2.6.18-gentoo-r6 i686) > ================================================================= > System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(TM) XP 2500+ > Last Sync: Tue, 23 Jan 2007 22:59:01 +0000 > app-admin/eselect-compiler: [Not Present] > dev-java/java-config: 1.3.7, 2.0.31 > dev-lang/python: 2.4.3-r4 > dev-python/pycrypto: 2.0.1-r5 > dev-util/ccache: [Not Present] > dev-util/confcache: [Not Present] > sys-apps/sandbox: 1.2.17 > sys-devel/autoconf: 2.13, 2.61 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 > sys-devel/binutils: 2.16.1-r3 > sys-devel/gcc-config: 1.3.14 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.17-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-march=athlon-xp -O2 -pipe" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf > /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" > CXXFLAGS="-march=athlon-xp -O2 -pipe" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" > GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo > http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress > --force --whole-file --delete --delete-after --stats --timeout=180 > --exclude='/distfiles' --exclude='/local' --exclude='/packages'" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 3dnow X a52 aac acpi alsa alsa_cards_emu10k1 alsa_pcm_plugins_adpcm > alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy > alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop > alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file > alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug > alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear > alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi > alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate > alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm > alsa_pcm_plugins_softvol apache2 berkdb bitmap-fonts cairo cdr cli cracklib > crypt cups dbus dga dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss > encode esd fam fastcgi ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk > hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 > isdnlog jack java jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz > lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 > lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text > ldap libg++ mad mikmod mmx mono mp3 mpeg mysql mysqli ncurses nls nptl nptlonly > nsplugin ogg openal opengl oss pam pcre perl php png ppds pppd python qt3 qt4 > quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype > truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev > video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs > wxwindows x264 xml xorg xv xvid zlib" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, > LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS And its even right .. When cross-compiling, you usually set ${CTARGET} to the Platform the cross toolchain produces binaries for. So either export CTARGET to something valid (and merge a working toolchain for it *before* trying to cross-compile stuff).