Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805362 - dev-python/retrying-1.3.3 - PermissionError: [Errno 13] Permission denied: /usr/lib/python3.9/site-packages/fail2ban-0.11.2-py3.9.
Summary: dev-python/retrying-1.3.3 - PermissionError: [Errno 13] Permission denied: /u...
Status: RESOLVED DUPLICATE of bug 907350
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-31 09:15 UTC by Toralf Förster
Modified: 2023-07-02 19:19 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.41 KB, text/plain)
2021-07-31 09:15 UTC, Toralf Förster
Details
dev-python:retrying-1.3.3:20210731-033316.log (dev-python:retrying-1.3.3:20210731-033316.log,5.27 KB, text/plain)
2021-07-31 09:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.27 KB, text/plain)
2021-07-31 09:15 UTC, Toralf Förster
Details
environment (environment,112.49 KB, text/plain)
2021-07-31 09:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.75 KB, application/x-bzip)
2021-07-31 09:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.81 KB, application/x-bzip)
2021-07-31 09:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-31 09:15:25 UTC
  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"
Comment 1 Toralf Förster gentoo-dev 2021-07-31 09:15:26 UTC
Created attachment 728538 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-31 09:15:27 UTC
Created attachment 728541 [details]
dev-python:retrying-1.3.3:20210731-033316.log
Comment 3 Toralf Förster gentoo-dev 2021-07-31 09:15:28 UTC
Created attachment 728544 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-31 09:15:30 UTC
Created attachment 728547 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-31 09:15:31 UTC
Created attachment 728550 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-31 09:15:32 UTC
Created attachment 728553 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-07-31 09:16:09 UTC
happened for a growing bunch of packages
Comment 8 Toralf Förster gentoo-dev 2021-08-23 07:28:47 UTC
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.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-08-23 07:38:18 UTC
Alternatively, you may check permissions along the path.  Maybe something's broken and installing non-world-executable directories?
Comment 10 Toralf Förster gentoo-dev 2021-08-23 14:05:05 UTC
(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
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-08-23 14:08:16 UTC
(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.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-02 19:19:45 UTC

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