I have been upgrading live Gentoo server from it's state from 2018.
I have encountered problem upgrading sys-apps/sandbox from version 2.13 to 2.29.
When I try to emerge sys-apps/sandbox I do have following error:
Code: Select all
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-apps/sandbox-2.29/work/sandbox-2.29-abi_x86_32.x86':
configure: error: C compiler cannot create executables
I've already tried many things that came to my mind upon looking through the internet for solution:
1. copy sys-apps/sandbox from the chrooted current stage3 just as I did with GCC - unfortunatelly this can not be done due to internal collisions that IMO do not exist:
Code: Select all
>>> Emerging binary (1 of 1) sys-apps/sandbox-2.29::gentoo
* sandbox-2.29-1.xpak size ;-) ... [ ok ]
>>> Extracting info
>>> Extracting sys-apps/sandbox-2.29
>>> Installing (1 of 1) sys-apps/sandbox-2.29::gentoo
* checking 11 files for package collisions
* Package 'sys-apps/sandbox-2.29' has internal collisions between non-
* identical files (located in separate directories in the installation
* image (${D}) corresponding to merged directories in the target
* filesystem (${ROOT})):
*
* /usr/lib64/libsandbox.so
* /usr/lib/libsandbox.so
* /usr/lib64/libsandbox.so
* Differences: size, content
*
* Package 'sys-apps/sandbox-2.29' NOT merged due to internal collisions
* between non-identical files. If necessary, refer to your elog messages
* for the whole content of the above message.
* If configure failed with a 'cannot run C compiled programs' error, try this:
* FEATURES='-sandbox -usersandbox' emerge sandbox2 I have desperatelly deleted file that causes collision hoping that this will move merging on. It did not - the same error about collisions and now, after emerging back the old version of sys-apps/sandbox from binary xpak package I have created as a "backup" I do have disturbing error for every emerge command I issue:
Code: Select all
>> Emerging (1 of 1) sys-apps/sandbox-2.29::gentoo
* sandbox-2.29.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* ACCESS DENIED: open_wr: /dev/tty
* ACCESS DENIED: open_wr: /dev/tty
* ACCESS DENIED: open_wr: /dev/null
/usr/lib/portage/python3.10/ebuild.sh: line 11: /dev/null: Permission denied
* ACCESS DENIED: open_wr: /dev/nullAdditiona information:
- emerge --info : https://dpaste.com/7RJ8B6QHJ
- emerge --info sandbox:
Code: Select all
=================================================================
Package Settings
=================================================================
sys-apps/sandbox-2.13::gentoo was built with the following:
USE="-abi_ppc_32 -abi_ppc_64" ABI_X86="(32) (64) (-x32)"
CFLAGS="-O2 -pipe -mtune=skylake --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -fomit-frame-pointer -fgcse-after-reload -fstack-protector-strong"
CXXFLAGS="-O2 -pipe -mtune=skylake --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -fomit-frame-pointer -fgcse-after-reload -fstack-protector-strong"
FEATURES="assume-digests binpkg-logs candy compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync metadata-transfer multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

