Can't emerge =sys-apps/dtc-1.5.0 because of a sandbox access violation when trying to symlink `build/lib.linux-x86_64-2.7/_libfdt.so -> /usr/lib64/python2.7/site-packages`. Error: `* ACCESS DENIED: fopen_wr: /usr/lib64/python2.7/site-packages/_libfdt.so` ``` running install_lib copying build/lib.linux-x86_64-2.7/_libfdt.so -> /usr/lib64/python2.7/site-packages * ACCESS DENIED: fopen_wr: /usr/lib64/python2.7/site-packages/_libfdt.so error: [Errno 13] Permission denied: '/usr/lib64/python2.7/site-packages/_libfdt.so' make[1]: *** [pylibfdt/Makefile.pylibfdt:24: install_pylibfdt] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/dtc-1.5.0/work/dtc-1.5.0' make: *** [Makefile:231: maybe_install_pylibfdt] Error 2 ``` ``` * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- * LOG FILE: "/var/log/sandbox/sandbox-4.log" * VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fopen_wr S: deny P: /usr/lib64/python2.7/site-packages/_libfdt.so A: /usr/lib64/python2.7/site-packages/_libfdt.so R: /usr/lib64/python2.7/site-packages/_libfdt.so C: /usr/lib/python-exec/python2.7/python2 pylibfdt/setup.py install --prefix=/usr * -------------------------------------------------------------------------------- ```
ping
If it still happens for you can you attach build.log and emerge --info? I'm a bit surprised pkg-config was able to find your python.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a956d8d3efcc4f50aaf40f222fdca39d8547aea commit 7a956d8d3efcc4f50aaf40f222fdca39d8547aea Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-07 06:54:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-07 06:54:55 +0000 sys-apps/dtc: be explicit about disabling python Reported-by: m0wer Closes: https://bugs.gentoo.org/686852 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-apps/dtc/dtc-1.5.0-r2.ebuild | 3 ++- sys-apps/dtc/dtc-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)