File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1611, in _get with open(path, 'rb') as stream: PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info/PKG-INFO' * ERROR: dev-python/retrying-1.3.3::gentoo failed (compile phase): * (no error message) * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-j3_test-20210729-212800 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 (none found) HEAD of ::gentoo commit 7e5dd37eb911e0b41e54c5d2b780895e39445fbc Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Jul 31 02:51:39 2021 +0000 2021-07-31 02:51:38 UTC emerge -qpvO dev-python/retrying [ebuild N ] dev-python/retrying-1.3.3 USE="-test" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
Created attachment 728538 [details] emerge-info.txt
Created attachment 728541 [details] dev-python:retrying-1.3.3:20210731-033316.log
Created attachment 728544 [details] emerge-history.txt
Created attachment 728547 [details] environment
Created attachment 728550 [details] etc.portage.tar.bz2
Created attachment 728553 [details] temp.tar.bz2
happened for a growing bunch of packages
so I do wonder if this is a problem here with my chroot/bubblewrap/tinderbox setup or rather a problem with the ebuild/python? It happened last night again in about 50 places.
Alternatively, you may check permissions along the path. Maybe something's broken and installing non-world-executable directories?
(In reply to Michał Górny from comment #9) > Alternatively, you may check permissions along the path. Maybe something's > broken and installing non-world-executable directories? 17_1_hardened-j4_test-20210817-100010 /var/tmp/tb # ls -l /usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info total 32 -rw------- 1 root root 496 Aug 23 00:26 PKG-INFO -rw------- 1 root root 16031 Aug 23 00:26 SOURCES.txt -rw------- 1 root root 1 Aug 23 00:26 dependency_links.txt -rw-r--r-- 1 root root 1 Aug 23 00:26 not-zip-safe -rw------- 1 root root 9 Aug 23 00:26 top_level.txt
(In reply to Toralf Förster from comment #10) > (In reply to Michał Górny from comment #9) > > Alternatively, you may check permissions along the path. Maybe something's > > broken and installing non-world-executable directories? > > > 17_1_hardened-j4_test-20210817-100010 /var/tmp/tb # ls -l > /usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.egg-info > total 32 > -rw------- 1 root root 496 Aug 23 00:26 PKG-INFO > -rw------- 1 root root 16031 Aug 23 00:26 SOURCES.txt > -rw------- 1 root root 1 Aug 23 00:26 dependency_links.txt > -rw-r--r-- 1 root root 1 Aug 23 00:26 not-zip-safe > -rw------- 1 root root 9 Aug 23 00:26 top_level.txt Yep, that doesn't look correct.
*** This bug has been marked as a duplicate of bug 907350 ***