Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630232

Summary: sys-cluster/ceph-12.2.0 references to temporary copy of python
Product: Gentoo Linux Reporter: Dyweni <j6yNRdsH5Fc3>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah, dlan, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dyweni 2017-09-07 15:14:09 UTC
Two files contain references to temporary copy of python at /var/tmp/portage/sys-cluster/ceph-12.2.0/temp/python2.7.

(This does not happen with sys-cluster/ceph-10.2.9-r3)

# equery f ceph | xargs -d "\n" grep "/var/tmp/portage/sys-cluster/ceph-.*/temp/python" -i 2>&1 | grep "No such file or directory$" -v
/usr/bin/ceph:#!/var/tmp/portage/sys-cluster/ceph-12.2.0/temp/python2.7/bin/python2.7
Binary file /usr/bin/ceph-mgr matches
Comment 1 Dyweni 2017-09-07 15:38:47 UTC
This command will fix the /usr/bin/ceph file after installation...  Not sure about the ceph-mgr file, since that's compiled.

# sed -i -e "s%/var/tmp/portage/sys-cluster/ceph-12.2.0/temp/python2.7/bin/python2.7%/usr/bin/python2.7%" /usr/bin/ceph
Comment 2 Patrick McLean gentoo-dev 2017-09-07 23:43:05 UTC
commit b38b1860a141b00d8e897e3771069f6a68ae6398
Author: Patrick McLean <chutzpah@gentoo.org>
Date:   Thu Sep 7 16:35:43 2017 -0700

    sys-cluster/ceph: Revision bump to 12.2.0-r1, fix references to temp python link

    This also fixes some overriding of system CFLAGS.

    Gentoo-Bug: 630232
    Package-Manager: Portage-2.3.8, Repoman-2.3.3