Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820758 - FEATURES='-sandbox -usersandbox' emerge sandbox ends with the same error message
Summary: FEATURES='-sandbox -usersandbox' emerge sandbox ends with the same error message
Status: RESOLVED DUPLICATE of bug 192286
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-10-29 19:37 UTC by Hajo
Modified: 2021-11-02 06:16 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,4.12 KB, text/x-log)
2021-10-29 19:37 UTC, Hajo
Details
config.log (config.log,26.71 KB, text/x-log)
2021-10-29 19:38 UTC, Hajo
Details
emerge --info sandbox (emerge--info-sandbox,6.93 KB, text/plain)
2021-10-29 19:39 UTC, Hajo
Details
emerge pqv sandbox (emerge-pqv-sandbox,73 bytes, text/plain)
2021-10-29 19:40 UTC, Hajo
Details
environment (environment,84.94 KB, text/plain)
2021-10-29 19:41 UTC, Hajo
Details
sys-apps:sandbox-225:20211029-185339.log (sys-apps:sandbox-2.25:20211029-185339.log,4.12 KB, text/plain)
2021-10-29 19:42 UTC, Hajo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hajo 2021-10-29 19:37:23 UTC
Created attachment 747306 [details]
build.log

emerge sys-apps/sandbox-2.25::gentoo
ends with error message:
"configure: error: cannot run C compiled programs."

It gives the hint:
* If configure failed with a 'cannot run C compiled programs' error, try this:
* FEATURES='-sandbox -usersandbox' emerge sandbox

But this does not work. The error remains the same.

Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. FEATURES='-sandbox -usersandbox' emerge sandbox
Comment 1 Hajo 2021-10-29 19:38:32 UTC
Created attachment 747309 [details]
config.log
Comment 2 Hajo 2021-10-29 19:39:24 UTC
Created attachment 747312 [details]
emerge --info sandbox
Comment 3 Hajo 2021-10-29 19:40:23 UTC
Created attachment 747315 [details]
emerge pqv sandbox
Comment 4 Hajo 2021-10-29 19:41:00 UTC
Created attachment 747318 [details]
environment
Comment 5 Hajo 2021-10-29 19:42:24 UTC
Created attachment 747321 [details]
sys-apps:sandbox-225:20211029-185339.log
Comment 6 Ionen Wolkens gentoo-dev 2021-10-29 19:45:18 UTC
Did you disable CONFIG_IA32_EMULATION in your kernel by any chances?

It should be enabled on a multilib profile.
Comment 7 Hajo 2021-10-29 19:54:24 UTC
(In reply to Ionen Wolkens from comment #6)
> Did you disable CONFIG_IA32_EMULATION in your kernel by any chances?
> 
> It should be enabled on a multilib profile.

That was quick. Thanks for the question!
In my .config is:

$ cat /usr/src/linux/.config | grep CONFIG_IA32_EMULATION
# CONFIG_IA32_EMULATION is not set

I will change this and report back.
Comment 8 Hajo 2021-10-30 10:40:36 UTC
Using CONFIG_IA32_EMULATION=y
solved the problem.
Thank you very much!
Comment 9 SpanKY gentoo-dev 2021-11-02 06:16:56 UTC

*** This bug has been marked as a duplicate of bug 192286 ***