Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630232 - sys-cluster/ceph-12.2.0 references to temporary copy of python
Summary: sys-cluster/ceph-12.2.0 references to temporary copy of python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-07 15:14 UTC by Dyweni
Modified: 2017-09-07 23:43 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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