Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637048 - sys-apps/sandbox-2.12 - configure: error: in `.../work/sandbox-2.12-abi_x86_32.x86': configure: error: cannot run C compiled programs.
Summary: sys-apps/sandbox-2.12 - configure: error: in `.../work/sandbox-2.12-abi_x86_3...
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-11-10 12:17 UTC by klaus818
Modified: 2017-11-13 12:32 UTC (History)
0 users

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


Attachments
config.log (config.log,26.40 KB, text/plain)
2017-11-10 17:55 UTC, klaus818
Details

Note You need to log in before you can comment on or make changes to this bug.
Description klaus818 2017-11-10 12:17:18 UTC
>>> Emerging (1 of 1) sys-apps/sandbox-2.12::gentoo
 * sandbox-2.12.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-2.12.tar.xz to /var/tmp/portage/sys-apps/sandbox-2.12/work
>>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.12/work
>>> Preparing source in /var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating sandbox-2.12/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating sandbox-2.12/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12/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 --docdir=/usr/share/doc/sandbox-2.12 --htmldir=/usr/share/doc/sandbox-2.12/html --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.12/work/sandbox-2.12-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.12/work/sandbox-2.12-abi_x86_32.x86/config.log
 * ERROR: sys-apps/sandbox-2.12::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3035:  Called multilib-minimal_src_configure
 *             environment, line 2110:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2324:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1971:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1969:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  356:  Called multilib-minimal_abi_src_configure
 *             environment, line 2104:  Called multilib_src_configure
 *             environment, line 2539:  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.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.12::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.12:20171110-121059.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.12/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12-abi_x86_32.x86'
 * S: '/var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12'
Comment 1 klaus818 2017-11-10 12:18:09 UTC
emerge --info sys-apps/sandbox
Portage 2.3.13 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-7.2.0, glibc-2.25-r9, 4.13.12-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.12-ck-x86_64-Intel-R-_Core-TM-_i3-5005U_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:     8077256 total,    948628 free
KiB Swap:   16197628 total,  16197628 free
Timestamp of repository gentoo: Fri, 10 Nov 2017 12:00:01 +0000
Head commit of repository gentoo: 48d1785c5e59a45a2edfe5c0fcd9c1f57a8a685d
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p2) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.9.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.6::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0::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-r9::gentoo
Repositories:

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

mv
    location: /var/lib/layman/mv
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-march=native -O2 -pipe"
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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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 cli corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss eme-free encode epub exif fam fax ffmpeg firefox flac fortran gdbm gif glamor gnuefi google gpm grub gtk hwaccel iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify lm_sensors mad matroska mng modules mp3 mp4 mpeg mtp multilib multimedia musicbrainz ncurses networkmanager nls nptl office ogg opencl opengl openmp opus pam pango pch pcre pdf pgo phonon pim plasma png policykit postproc postscript ppds printsupport pulseaudio qml qt3support qt4 qt5 qtmedia readline realtime scanner sdl seccomp semantic-desktop session spell ssl startup-notification svg sync-plugin-portage system-harfbuzz system-jpeg system-libevent system-libvpx system-sqlite systemd tcpd theora threads tiff touchpad truetype udev udisks unicode upower usb vaapi vc vorbis vpx vulkan wayland webp widgets wifi 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 f16c 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="libinput" 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.12::gentoo was built with the following:
USE="" ABI_X86="(32) (64) (-x32)"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-11-10 13:02:40 UTC
"
 * If configure failed with a 'cannot run C compiled programs' error, try this:
 * FEATURES='-sandbox -usersandbox' emerge sandbox
"

And?
Comment 3 klaus818 2017-11-10 17:18:08 UTC
Same problem.
Comment 4 Mike Gilbert gentoo-dev 2017-11-10 17:28:55 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12-abi_x86_32.x86/config.log
Comment 5 klaus818 2017-11-10 17:55:06 UTC
Created attachment 503504 [details]
config.log

config.log
Comment 6 klaus818 2017-11-13 12:32:04 UTC
I found the problem. I had tu build the kernel with support for ia32.