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
Binary file /usr/bin/ceph-mgr matches
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
Author: Patrick McLean <firstname.lastname@example.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.
Package-Manager: Portage-2.3.8, Repoman-2.3.3