sandbox's configure script dies with error: C compiler cannot create executables It looks like sandbox is trying to use i686-pc-linux-gnu on an amd64 platform Reproducible: Always Steps to Reproduce: 1.emerge sandbox Actual Results: >>> Emerging (1 of 2) sys-apps/sandbox-1.2.18.1-r2 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-r2/work * Applying sandbox-1.2.18.1-open-normal-fail.patch ... [ ok ] * Applying sandbox-1.2.18.1-open-cloexec.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/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.guess with /usr/share/gnuconfig/config.guess * econf: updating sandbox-1.2.18.1/config.sub with /usr/share/gnuconfig/config.sub ../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... i686-pc-linux-gnu-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/build-x86-x86_64-pc-linux-gnu/config.log * * ERROR: sys-apps/sandbox-1.2.18.1-r2 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2422: Called econf 'src_compile' 'src_compile' * ebuild.sh, line 506: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/temp/environment'. * contents of config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by sandbox configure 1.2.18.1, which was generated by GNU Autoconf 2.59. Invocation command line was $ ../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 ## --------- ## ## Platform. ## ## --------- ## hostname = quasar uname -m = x86_64 uname -r = 2.6.22-gentoo-r6 uname -s = Linux uname -v = #1 PREEMPT Wed Sep 19 20:27:47 EDT 2007 /usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3200+ /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /sbin PATH: /usr/sbin PATH: /usr/lib64/portage/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2 PATH: /opt/blackdown-jdk-1.4.2.03/bin PATH: /opt/blackdown-jdk-1.4.2.03/jre/bin PATH: /usr/kde/3.5/sbin PATH: /usr/kde/3.5/bin PATH: /usr/qt/3/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1707: checking for gawk configure:1723: found /bin/gawk configure:1733: result: gawk configure:1743: checking whether make sets $(MAKE) configure:1763: result: yes configure:1942: checking for i686-pc-linux-gnu-gcc configure:1958: found /usr/bin/i686-pc-linux-gnu-gcc configure:1968: result: i686-pc-linux-gnu-gcc configure:2250: checking for C compiler version 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 -pipe 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 See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CC=i686-pc-linux-gnu-gcc ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run aclocal-1.9' ALLOCA='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run tar' AR='' AUTOCONF='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run automake-1.9' AWK='gawk' CC='i686-pc-linux-gnu-gcc' CCDEPMODE='' CFLAGS='-O2 -pipe' CPP='' CPPFLAGS='' CXXCPP='' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBC_PATH='' LIBDL='' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/missing --run makeinfo' OBJEXT='' PACKAGE='sandbox' PACKAGE_BUGREPORT='sandbox@gentoo.org' PACKAGE_NAME='sandbox' PACKAGE_STRING='sandbox 1.2.18.1' PACKAGE_TARNAME='sandbox' PACKAGE_VERSION='1.2.18.1' PATH_SEPARATOR=':' RANLIB='' READELF='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='1.2.18.1' ac_ct_AR='' ac_ct_CC='' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='/usr/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='i686-pc-linux-gnu' host_cpu='' host_os='' host_vendor='' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='/var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/sandbox-1.2.18.1/install-sh' libdir='/usr/lib32' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "sandbox" #define PACKAGE_BUGREPORT "sandbox@gentoo.org" #define PACKAGE_NAME "sandbox" #define PACKAGE_STRING "sandbox 1.2.18.1" #define PACKAGE_TARNAME "sandbox" #define PACKAGE_VERSION "1.2.18.1" #define VERSION "1.2.18.1" configure: exit 77 # emerge --info Portage 2.1.4_rc7 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.22-gentoo-r6 x86_64) ================================================================= System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Wed, 05 Dec 2007 18:00:04 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r3 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus dts dvd dvdr dvdread eds emboss encode evo fam firefox flac gdbm gif glut gnome gpm gstreamer gtk hal iconv ipod isdnlog java jpeg kde mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff timidity truetype truetype-fonts type1-fonts unicode vorbis wma x264 xml xorg xv xvid xvmc 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="joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="serial" 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, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of bug 135688 ***