Summary: | dev-libs/libdnet-1.11-r1 compilation fails (compiler selection failed...) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Linus <linus.brand> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | linus.brand |
Priority: | High | ||
Version: | 10.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/doc/en/change-chost.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Linus
2010-05-10 14:15:48 UTC
wolke config # emerge --info =dev-libs/libdnet-1.11-r1 Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r6-i686-VIA_Samuel_2-with-gentoo-2.0.1 Timestamp of tree: Sat, 08 May 2010 18:45:02 +0000 app-shells/bash: 4.1_p5 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=c3 -m3dnow -O2 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=c3 -m3dnow -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu http://www .ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow S3TC X acl alsa apache2 berkdb bzip2 bzlib cdparanoia cli cracklib crypt cups cxx dba deflate dri extras fbcon ffmpeg font-server fortran gdbm gimp gnome gnomedb gnutls gpm gtk iconv ipv6 javascript lzo lzw lzw-tiff maildir md5sum mime mmx modules mpeg4 mplayer mudflap ncurses network nls nptl nptlonly openmp operanom2 pam pcre perl pie policykit pppd python readline reflection regexp rtc secure-delete session sftp shaper spl src ssl sysfs tcpd unicode vroot x86 xfs xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= dev-libs/libdnet-1.11-r1 was built with the following: USE="python" There's a 'slight' difference between 'hangs' and 'stops with an error'. First thing to test would be gcc-config, but that usually fails much earlier. Next would be a rebuild of libtool. However, I've got a simpler question - did you change CHOST/CBUILD value in make.conf recently ? (In reply to comment #2) > There's a 'slight' difference between 'hangs' and 'stops with an error'. > > First thing to test would be gcc-config, but that usually fails > much earlier. Next would be a rebuild of libtool. > > However, I've got a simpler question - did you change CHOST/CBUILD > value in make.conf recently ? > Thanks for your response !! OK sorry for the wrong report, you're right! It stops with an error. Regarding the gcc-config, I believe you're right. I'd have seen problems earlier. This was ebuild 63 or so. And yes, I changed the CHOST/CBUILD and also upgraded GCC. I am just about to rebuild libtool, but I believe this isn't the problem. This was done through the GCC update and part of the CHOST change manual... I'll give it a try afterwards and update you on the results. Thanks, Linus OK I've rebuild libtool and emerged libdnet again. The problem remains. However I still believe my CPU type is mis-detected and therefore an older GCC is picked. (is that possible?) For some reason the i486-pc-linux-gnu-gcc is called instead of the i586-pc-linux-gnu-gcc. Full details below My gcc-config clearly shows only one active GCC profile (I removed the other) wolke ~ # gcc-config -l [1] i586-pc-linux-gnu-4.4.3 * wolke ~ # Making all in python make[1]: Entering directory `/var/tmp/portage/dev-libs/libdnet-1.11-r1/work/libdnet-1.11/python' python setup.py build running build running build_ext building 'dnet' extension creating build creating build/temp.linux-i686-2.6 i486-pc-linux-gnu-gcc -pthread -DNDEBUG -march=c3 -m3dnow -O2 -pipe -fomit-frame-pointer -Wall -fPIC -I../include -I/usr/include/python2.6 -c ./dnet.c -o build/temp.linux-i686-2.6/./dnet.o gcc-config: error: could not run/locate 'i486-pc-linux-gnu-gcc' error: command 'i486-pc-linux-gnu-gcc' failed with exit status 1 make[1]: *** [python-build] Error 1 Looks like you changed your CHOST variable. Please read the referenced document to figure out what step you missed. |