Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775953 - sys-apps/sandbox-2.21 checking whether we are cross compiling... configure: error: in `/var/tmp/portage/sys-apps/sandbox-2.21/work/sandbox-2.21-abi_x86_32.x86
Summary: sys-apps/sandbox-2.21 checking whether we are cross compiling... configure: e...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-14 09:21 UTC by Andrea Postiglione
Modified: 2021-03-14 21:55 UTC (History)
2 users (show)

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


Attachments
emerge --info sandbox (sandbox-info.txt,7.75 KB, text/plain)
2021-03-14 09:21 UTC, Andrea Postiglione
Details
sandbox 2.21 build.log (sandbox-build.log,4.40 KB, text/x-log)
2021-03-14 09:22 UTC, Andrea Postiglione
Details
config.log (sandbox-2.21-config.log,26.87 KB, text/x-log)
2021-03-14 12:33 UTC, Andrea Postiglione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Postiglione 2021-03-14 09:21:57 UTC
Created attachment 691329 [details]
emerge --info sandbox

>>> Emerging (1 of 1) sys-apps/sandbox-2.21::gentoo
 * sandbox-2.21.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-2.21.tar.xz to /var/tmp/portage/sys-apps/sandbox-2.21/work
>>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.21/work
>>> Preparing source in /var/tmp/portage/sys-apps/sandbox-2.21/work/sandbox-2.21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/sandbox-2.21/work/sandbox-2.21 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating sandbox-2.21/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating sandbox-2.21/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/sys-apps/sandbox-2.21/work/sandbox-2.21/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.21 --htmldir=/usr/share/doc/sandbox-2.21/html --with-sysroot=/ --libdir=/usr/lib
checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free 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.21/work/sandbox-2.21-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
Comment 1 Andrea Postiglione 2021-03-14 09:22:35 UTC
Created attachment 691332 [details]
sandbox 2.21 build.log
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-14 10:01:11 UTC
> See `config.log' for more details

Can you attach config.log as well?
Comment 3 Ionen Wolkens gentoo-dev 2021-03-14 10:58:39 UTC
>abi_x86_32.x86 [...] cannot run
Kernel without CONFIG_IA32_EMULATION perhaps?
Comment 4 Andrea Postiglione 2021-03-14 12:31:03 UTC
(In reply to Ionen Wolkens from comment #3)
> >abi_x86_32.x86 [...] cannot run
> Kernel without CONFIG_IA32_EMULATION perhaps?


yes i have disabled ia32 and x32 emulation on kernel config
Comment 5 Andrea Postiglione 2021-03-14 12:33:34 UTC
Created attachment 691386 [details]
config.log
Comment 6 Ionen Wolkens gentoo-dev 2021-03-14 12:59:23 UTC
(In reply to Andrea Postiglione from comment #4)
> yes i have disabled ia32 and x32 emulation on kernel config
On a multilib profile without IA32 you most likely won't be able to compile glibc anymore either.

    || die "CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc."

If you really wish to disable IA32, you'd need to use a no-multilib profile. I'd personally recommend to just re-enable it but that's up to you (x32 doesn't matter here, can be left disabled).