Summary: | sys-apps/sandbox-1.2.18.1-r2 automagically configures for cross-compiling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Albert Zeyer <albzey> |
Component: | Current packages | Assignee: | Sandbox Maintainers <sandbox> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | romangarnett |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
conflig.log |
Description
Albert Zeyer
2008-06-07 02:25:16 UTC
Created attachment 155779 [details]
config.log
Important part: ... configure:2253: i686-pc-linux-gnu-gcc --version </dev/null >&5 gcc-config error: i686-pc-linux-gnu-gcc wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=gcc configure:2256: $? = 1 configure:2258: i686-pc-linux-gnu-gcc -v </dev/null >&5 gcc-config error: i686-pc-linux-gnu-gcc wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=gcc configure:2261: $? = 1 configure:2263: i686-pc-linux-gnu-gcc -V </dev/null >&5 gcc-config error: i686-pc-linux-gnu-gcc wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=gcc configure:2266: $? = 1 configure:2289: checking for C compiler default output file name configure:2292: i686-pc-linux-gnu-gcc -O2 -march=athlon64 conftest.c >&5 gcc-config error: i686-pc-linux-gnu-gcc wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=gcc configure:2295: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "sandbox" | #define PACKAGE_TARNAME "sandbox" | #define PACKAGE_VERSION "1.2.18.1" | #define PACKAGE_STRING "sandbox 1.2.18.1" | #define PACKAGE_BUGREPORT "sandbox@gentoo.org" | #define PACKAGE "sandbox" | #define VERSION "1.2.18.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2334: error: C compiler cannot create executables ... Also when I call it manually: hcompneu ~ # i686-pc-linux-gnu-gcc gcc-config error: i686-pc-linux-gnu-gcc wrapper: Unable to determine executable. CTARGET=i686-pc-linux-gnu exec=gcc hcompneu ~ # emerge --info Portage 2.1.2.9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-suspend2 x86_64) ================================================================= System uname: 2.6.22-suspend2 x86_64 AMD Sempron(tm) Processor 2800+ Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 07 Jun 2008 00:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 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.15.92.0.2-r10, 2.16.1-r3, 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms" GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" LINGUAS="de" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/private" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X a52 aac aalib acpi alsa amd amd64 ao apm artworkextra asf audiofile auth automount bash-completion beagle binary-drivers bindist bittorrent branding browserplugin bzip2 cairo cdda cddb cdparanoia cdr cdrom cle266 corba cracklib crypt cups curl cursors dbus dedicated dga divx4linux dlopen dlz dmi dmx dri dts dv dvd dvdnav dvdr dvdread dvi ecc edl eds emovix encode erandom evo exif fame ffmpeg firefox flac font-server foomaticdb fortran fping fpx freetts freetype ftp gcj gdm gedit gif gimp glade glibc-omitfp glitz glut glx gnome gnome-print gnutls gphoto2 gtk gtk2 guile hal howl i8x0 icons iconv imagemagick imlib imlib2 insecure-drivers ithreads jack java javascript jpeg jpeg2k kerberos krb4 lame lcms libcaca linuxthreads-tls live logitech-mouse lzo mad matroska midi mikmod mjpeg mng mod modplug motif mozilla mp3 mp4 mpeg mpeg2 mpeg4 mplayer mudflap multislot musepack nautilus ncurses network nls nntp nptl nptlonly nsplugin nvidia nvram objc ogg oggvorbis ole on-the-fly-crypt openal opengl openmp oss pam pdf png posix ppds profile python qt quicktime rar readline reiserfs rtc samba sblive scanner scp screen sdl sensord server session sharedext sharedmem silc silverxp speex spell ssl subtitles svg svgz t1lib tcltk teamarena tetex tga themes theora threads threadsafe tiff timidity tivo transcode truetype type1 unicode usb utf8 vcd vlm vorbis wma wma123 wmf wxwindows x264 xanim xcomposite xine xml2 xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS "checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc" <- Why is configure doing this? This is a 64bit system, the correct executable would be x86_64-pc-linux-gnu-gcc * Configuring sandbox for ABI=x86... This seems also wrong to me. OK, I just deleted all /usr/bin/i686-* files and it seems to compile without a problem now. But is that the right way? Why was sandbox trying to compile it with these i686-* tools? I also don't realy know why there are i686-* files at all. I didn't found any installed package owning these files. Created attachment 159810 [details] conflig.log I have this problem as well on a new install using the 2008.0 amd64 livedvd: # emerge sandbox Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sys-apps/sandbox-1.2.18.1-r3 to / * sandbox-1.2.18.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking sandbox-1.2.18.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking sandbox-1.2.18.1.tar.bz2 to /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r3/work * Applying sandbox-1.2.18.1-open-normal-fail.patch ... [ ok ] * Applying sandbox-1.2.18.1-open-cloexec.patch ... [ ok ] * Applying sandbox-1.2.18.1-rtld-validation.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r3/work/sandbox-1.2.18.1 ... * If configure fails with a 'cannot run C compiled programs' error, try this: * FEATURES=-sandbox emerge sandbox * Configuring sandbox for ABI=x86... * econf: updating sandbox-1.2.18.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sandbox-1.2.18.1/config.guess with /usr/share/gnuconfig/config.guess ../sandbox-1.2.18.1//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --enable-multilib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. # gcc-config -c x86_64-pc-linux-gnu-4.3.1 # emerge --info Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6-mactel x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r6-mactel-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Sun, 06 Jul 2008 23:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r6, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.62-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -msse4.1 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi aim alsa amd64 apache2 bash-completion berkdb blas bzip2 cairo caps cdda cddb cdparanoia cdr cli cracklib crypt css cups curl curlwrappers dbus dri dvd dvdr dvdread emacs encode examples exif ffmpeg fftw flac fontconfig fortran ftp gdbm gif gimp ginac glitz gmp gnuplot gphoto2 gpm gstreamer gtk hal iconv imagemagick ipod ipv6 isdnlog jabber java jikes joystick jpeg jpeg2k kde kdehiddenvisibility lame lapack latex lcms libcaca mad madwifi matroska midi mime mmx mozilla mp3 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin ocaml ocamlopt offensive ogg opengl openmp oscar pam pcre pdf perl php pic png pppd python qhull qt3 qt4 quicktime readline reflection ruby samba scanner sdl session shorten smp sox speex spell spl srt sse sse2 ssl ssse3 subtitles subversion svg taglib tcpd tetex theora tiff truetype unicode usb v4l videos visualization vorbis wifi wmf xcomposite xine xinerama xml xmlreader xmlwriter xorg xosd xscreensaver xulrunner xvid 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 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY (In reply to comment #8) I don't even have any /usr/bin/i686* files nor have i set up cross-compiling. (In reply to comment #8) sigh, i had failed to set CONFIG_IA32_EMULATION=y in my kernel; it fixed the problem. *** This bug has been marked as a duplicate of bug 202811 *** |