sys-apps/sandbox-2.12 bails out during install phase with: * ERROR: sys-apps/sandbox-2.12::gentoo failed: * multilib-strict check failed! Reproducible: Always Steps to Reproduce: 1. emerge sandbox 2. error during install phase Actual Results: install phase fails Expected Results: clean install I've multiple systems where the problem occurs and others, where it does not. What seems to be common among all systems having problems so far is, that they are VM guests. One system that fails is a VirtualBox guest. Two failing systems are VMware guests. However install phase succeeds on a KVM guest. All Systems have the same CHOST and are KEYWORDED with ~amd64.
Can you please attach all the usual suspects -- build.log, emerge --info ?
Created attachment 500428 [details] emerge --info
Created attachment 500430 [details] build.log
You have "-m64" in your CFLAGS. That is causing /usr/lib32/libsanbox.so to be built as a 64-bit object instead of a 32-bit object. In general, you should not add -m64 or -m32 to CFLAGS unless you are doing so for some specific, known purpose (like development/testing).
(In reply to Mike Gilbert from comment #4) > You have "-m64" in your CFLAGS. That is causing /usr/lib32/libsanbox.so to > be built as a 64-bit object instead of a 32-bit object. > > In general, you should not add -m64 or -m32 to CFLAGS unless you are doing > so for some specific, known purpose (like development/testing). Ah I see. I added this a while back on one guest (and it propagated) since an older version of gcc did have some problems regarding -march and did not build 64 bit code at all. Stupid me.