Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909573 - =net-libs/xrootd-5.6.0[python] fails to install if previous version installed
Summary: =net-libs/xrootd-5.6.0[python] fails to install if previous version installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 20:45 UTC by Oliver Freyermuth
Modified: 2023-07-04 13:50 UTC (History)
0 users

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


Attachments
Full build log (net-libs:xrootd-5.6.0:20230703-203718.log.gz,41.18 KB, application/gzip)
2023-07-03 20:46 UTC, Oliver Freyermuth
Details
emerge --info (emerge-info.txt,21.32 KB, text/plain)
2023-07-03 20:47 UTC, Oliver Freyermuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2023-07-03 20:45:09 UTC
If a previous version of XRootD is installed with python bindings, installing verison 5.6.0 fails with sandbox violations:

Installing collected packages: xrootd
  Attempting uninstall: xrootd
    Found existing installation: xrootd 5.5.5
    Uninstalling xrootd-5.5.5:
 * ACCESS DENIED:  rename:        /usr/lib/python3.11/site-packages/XRootD/__init__.py
 * ACCESS DENIED:  unlink:        /usr/lib/python3.11/site-packages/XRootD/__init__.py
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/lib/python3.11/site-packages/XRootD/__init__.py'

Logs attached. 

Reproducible: Always

Steps to Reproduce:
1. USE=python emerge =net-libs/xrootd-5.5.5-r1
2. USE=python emerge =net-libs/xrootd-5.6.0

Actual Results:  
Sandbox violation. 

Expected Results:  
Successful emerge. 

Log attached.
Comment 1 Oliver Freyermuth 2023-07-03 20:46:26 UTC
Created attachment 865125 [details]
Full build log
Comment 2 Oliver Freyermuth 2023-07-03 20:47:22 UTC
Created attachment 865126 [details]
emerge --info
Comment 3 Guilherme Amadio gentoo-dev 2023-07-04 06:38:37 UTC
I see I revived the old bug. I was sure this would be fixed by installing with distutils-r1_src_install, but apparently not.
Comment 4 Larry the Git Cow gentoo-dev 2023-07-04 13:50:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e0d407c54e6e78df0106b72f00df2b71917847

commit 54e0d407c54e6e78df0106b72f00df2b71917847
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2023-07-04 13:41:46 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2023-07-04 13:50:32 +0000

    net-libs/xrootd: disable installation of Python bindings by CMake
    
    Closes: https://bugs.gentoo.org/909573
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 net-libs/xrootd/xrootd-5.6.0.ebuild | 1 +
 1 file changed, 1 insertion(+)