Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631180 - sys-apps/sandbox-2.10-r4 - checking whether we are cross compiling... configure: error: in `.../work/sandbox-2.10-abi_x86_32.x86': configure: error: cannot run C compiled programs.
Summary: sys-apps/sandbox-2.10-r4 - checking whether we are cross compiling... configu...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 06:39 UTC by klaus818
Modified: 2018-01-18 08:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2017-09-17 06:39:12 UTC
>>> Emerging (1 of 1) sys-apps/sandbox-2.10-r4::gentoo
 * sandbox-2.10.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-2.10.tar.xz to /var/tmp/portage/sys-apps/sandbox-2.10-r4/work
>>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.10-r4/work
>>> Preparing source in /var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10 ...
 * Applying sandbox-2.10-memory-corruption.patch ...                     [ ok ]
 * Applying sandbox-2.10-disable-same.patch ...                          [ ok ]
 * Applying sandbox-2.10-fix-opendir.patch ...                           [ ok ]
 * Applying sandbox-2.11-symlinkat-renameat.patch ...                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating sandbox-2.10/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating sandbox-2.10/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib32
checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking environment state... ok
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10-abi_x86_32.x86':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10-abi_x86_32.x86/config.log
 * ERROR: sys-apps/sandbox-2.10-r4::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  115:  Called src_configure
 *             environment, line 2962:  Called multilib-minimal_src_configure
 *             environment, line 2044:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2258:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1905:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1903:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  364:  Called multilib-minimal_abi_src_configure
 *             environment, line 2038:  Called multilib_src_configure
 *             environment, line 2473:  Called econf
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.10-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.10-r4::gentoo'`.
 * If configure failed with a 'cannot run C compiled programs' error, try this:
 * FEATURES='-sandbox -usersandbox' emerge sandbox
 * The complete build log is located at '/var/log/portage/sys-apps:sandbox-2.10-r4:20170917-063628.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.10-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10-abi_x86_32.x86'
 * S: '/var/tmp/portage/sys-apps/sandbox-2.10-r4/work/sandbox-2.10'
Comment 1 klaus818 2017-09-17 06:40:12 UTC
emerge --info sandbox
Portage 2.3.8 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r5, 4.13.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.2-gentoo-x86_64-Intel-R-_Core-TM-_i3-5005U_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:     8091772 total,   1405540 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 17 Sep 2017 05:00:01 +0000
Head commit of repository gentoo: 01ffade15e855ac3794100a65bfc6ac61027c3f4
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29 p1.0) 2.29
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.9.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.31.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::ahyangyi-overlay
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

c2p-overlay
    location: /var/lib/layman/c2p-overlay
    sync-type: laymansync
    sync-uri: https://github.com/karolgrudzinski/c2p-overlay.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/kde.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-logs candy compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb branding brightness-control bzip2 cairo cdda cdr chromium cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode epub exif fam fax ffmpeg firefox flac fortran gdbm gif glamor gpm grub gtk hwaccel iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify lm_sensors mad matroska mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl office ogg opencl opengl openmp opus pam pango pch pcre pdf phonon pim plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline scanner sdl seccomp semantic-desktop session spell ssl startup-notification svg sync-plugin-portage system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vc vorbis vpx wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="sony_dscf1" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics libevent" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/sandbox-2.10-r4::gentoo was built with the following:
USE="" ABI_X86="(32) (64) (-x32)"
Comment 2 Fabian Groffen gentoo-dev 2017-10-19 18:40:29 UTC
The config.log the error refers too is necessary here, can you upload it?
Comment 3 SpanKY gentoo-dev 2018-01-18 08:11:09 UTC
assuming you misconfigured your kernel and omitted CONFIG_IA32_EMULATION while running a multilib userland.  please attach your config.log file if you still need assistance.