Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861452 - net-libs/xrootd-5.4.3-r1 - sandbox issue
Summary: net-libs/xrootd-5.4.3-r1 - sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 839747
  Show dependency tree
 
Reported: 2022-07-27 12:01 UTC by Toralf Förster
Modified: 2023-07-04 07:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2022-07-27 12:01 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,35.04 KB, text/plain)
2022-07-27 12:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,239.13 KB, text/plain)
2022-07-27 12:01 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.35 KB, application/x-bzip)
2022-07-27 12:01 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,24.83 KB, application/x-bzip)
2022-07-27 12:01 UTC, Toralf Förster
Details
net-libs:xrootd-5.4.3-r1:20220727-111953.log.bz2 (net-libs:xrootd-5.4.3-r1:20220727-111953.log.bz2,17.31 KB, application/x-bzip)
2022-07-27 12:01 UTC, Toralf Förster
Details
sandbox.log (sandbox.log,939 bytes, text/plain)
2022-07-27 12:01 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 2022-07-27 12:01:34 UTC
==> /var/tmp/portage/net-libs/xrootd-5.4.3-r1/temp/sandbox.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: rename
S: deny
P: /usr/lib/python3.10/site-packages/XRootD/__init__.py
A: /usr/lib/python3.10/site-packages/XRootD/__init__.py
R: /usr/lib/python3.10/site-packages/XRootD/__init__.py
C: /usr/bin/python3.10 -m pip install --prefix /var/tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr /var/tmp/portage/net-libs/xrootd-5.4.3-r1/work/xrootd-5.4.3_build/bindings/python 

F: unlink
S: deny
P: /usr/lib/python3.10/site-packages/XRootD/__init__.py
A: /usr/lib/python3.10/site-packages/XRootD/__init__.py
R: /usr/lib/python3.10/site-packages/XRootD/__init__.py

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220725-030525

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.1
  [2]   rust-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
3)	Eclipse Temurin JRE 8.332_p09 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-jre-bin-8 
  [3]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit ff85c05256f3be5d61e07177ffa556062a34420b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 27 10:31:58 2022 +0000

    2022-07-27 10:31:58 UTC

emerge -qpvO net-libs/xrootd
[ebuild     U ] net-libs/xrootd-5.4.3-r1 [5.4.3] USE="examples libxml2 python readline server -doc -fuse -http -kerberos -systemd -test-suite% (-test%)" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-07-27 12:01:35 UTC
Created attachment 794906 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-27 12:01:37 UTC
Created attachment 794909 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2022-07-27 12:01:38 UTC
Created attachment 794912 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-07-27 12:01:39 UTC
Created attachment 794915 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-07-27 12:01:41 UTC
Created attachment 794918 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-27 12:01:42 UTC
Created attachment 794921 [details]
net-libs:xrootd-5.4.3-r1:20220727-111953.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-07-27 12:01:43 UTC
Created attachment 794924 [details]
sandbox.log
Comment 8 Guilherme Amadio gentoo-dev 2022-08-22 08:49:47 UTC
Just a note, this only happens when installing xrootd on a system where it's already installed. I'm pasting below a bit more context from the output from emerge:

-- Installing: /tmp/portage/net-libs/xrootd-5.4.3-r1/image/usr/share/man/man1/xrdmapc.1
-- Processing: /tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr//usr/share/man/man1/xrdfs.1
-- Processing: /tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr//usr/share/man/man1/xrdcp.1
-- Processing: /tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr//usr/share/man/man1/xrdmapc.1
WARNING: The directory '/tmp/portage/net-libs/xrootd-5.4.3-r1/homedir/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Processing ./bindings/python
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: xrootd
  Building wheel for xrootd (setup.py): started
  Building wheel for xrootd (setup.py): finished with status 'done'
  Created wheel for xrootd: filename=xrootd-5.4.3-cp310-cp310-linux_x86_64.whl size=1399607 sha256=9a2c631a4d1d9dfaf8193a166eb77383e30a54098aef6346518b15933daf824d
  Stored in directory: /tmp/portage/net-libs/xrootd-5.4.3-r1/temp/pip-ephem-wheel-cache-u12x6b25/wheels/5c/3b/bb/1495c98ce9981ea21a2e8f0ac438eecae9892ae5901c3523d4
Successfully built xrootd
Installing collected packages: xrootd
  Attempting uninstall: xrootd
    Found existing installation: xrootd 5.4.3
    Uninstalling xrootd-5.4.3:
 * ACCESS DENIED:  rename:        /usr/lib/python3.10/site-packages/XRootD/__init__.py
 * ACCESS DENIED:  unlink:        /usr/lib/python3.10/site-packages/XRootD/__init__.py
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/lib/python3.10/site-packages/XRootD/__init__.py'
Consider using the `--user` option or check the permissions.

WARNING: There was an error checking the latest version of pip.
 * Optimize Python modules for //usr/lib/python3.10/site-packages
Can't list '/tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr/lib/python3.10/site-packages'
>>> Completed installing net-libs/xrootd-5.4.3-r1 into /tmp/portage/net-libs/xrootd-5.4.3-r1/image

 * Final size of build directory: 305332 KiB (298.1 MiB)
 * Final size of installed tree:  110748 KiB (108.1 MiB)

 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/tmp/portage/net-libs/xrootd-5.4.3-r1/temp/sandbox.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: rename
S: deny
P: /usr/lib/python3.10/site-packages/XRootD/__init__.py
A: /usr/lib/python3.10/site-packages/XRootD/__init__.py
R: /usr/lib/python3.10/site-packages/XRootD/__init__.py
C: /usr/bin/python3.10 -m pip install --prefix /tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr /tmp/portage/net-libs/xrootd-5.4.3-r1/work/xrootd-5.4.3_build/bindings/python 

F: unlink
S: deny
P: /usr/lib/python3.10/site-packages/XRootD/__init__.py
A: /usr/lib/python3.10/site-packages/XRootD/__init__.py
R: /usr/lib/python3.10/site-packages/XRootD/__init__.py
C: /usr/bin/python3.10 -m pip install --prefix /tmp/portage/net-libs/xrootd-5.4.3-r1/image//usr /tmp/portage/net-libs/xrootd-5.4.3-r1/work/xrootd-5.4.3_build/bindings/python 
 * --------------------------------------------------------------------------------
Comment 9 Guilherme Amadio gentoo-dev 2022-08-23 10:59:47 UTC
Filed an issue upstream here: https://github.com/xrootd/xrootd/issues/1768
Comment 10 Larry the Git Cow gentoo-dev 2022-08-23 11:43:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=769b1f2e6faabebc6d0900142cf6d671db1e9ed3

commit 769b1f2e6faabebc6d0900142cf6d671db1e9ed3
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2022-08-23 11:41:12 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2022-08-23 11:43:36 +0000

    net-libs/xrootd: fix bug 861452
    
    Closes: https://bugs.gentoo.org/861452
    Package-Manager: Portage-3.0.34, Repoman-3.0.3
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 net-libs/xrootd/xrootd-5.4.3-r1.ebuild | 1 +
 net-libs/xrootd/xrootd-5.4.3.ebuild    | 1 +
 2 files changed, 2 insertions(+)