Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850418 - dev-python/jaraco-context-4.1.1-r2, jaraco-functools-3.5.0-r2 and jaraco-text-3.7.0-r2 all fail in install
Summary: dev-python/jaraco-context-4.1.1-r2, jaraco-functools-3.5.0-r2 and jaraco-text...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-07 13:30 UTC by Frank Krömmelbein
Modified: 2022-06-07 14:38 UTC (History)
0 users

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


Attachments
jaraco.tar.gz (jaraco.tar.gz,150.31 KB, application/octet-stream)
2022-06-07 13:31 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2022-06-07 13:30:32 UTC
dev-python/jaraco-context-4.1.1-r2::gentoo was built with the following:
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
FEATURES="binpkg-docompress usersandbox ebuild-locks buildpkg-live news merge-sync unmerge-orphans preserve-libs userfetch sandbox fixlafiles binpkg-logs usersync multilib-strict protect-owned pid-sandbox sfperms unmerge-logs parallel-fetch userpriv distlocks unknown-features-warn qa-unresolved-soname-deps strict config-protect-if-modified xattr binpkg-dostrip ipc-sandbox network-sandbox assume-digests"

dev-python/jaraco-functools-3.5.0-r2::gentoo was built with the following:
USE="(-doc) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
FEATURES="binpkg-docompress usersandbox ebuild-locks buildpkg-live news merge-sync unmerge-orphans preserve-libs userfetch sandbox fixlafiles binpkg-logs usersync multilib-strict protect-owned pid-sandbox sfperms unmerge-logs parallel-fetch userpriv distlocks unknown-features-warn qa-unresolved-soname-deps strict config-protect-if-modified xattr binpkg-dostrip ipc-sandbox network-sandbox assume-digests"

dev-python/jaraco-text-3.7.0-r2::gentoo was built with the following:
USE="(-doc) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8"
FEATURES="binpkg-docompress usersandbox ebuild-locks buildpkg-live news merge-sync unmerge-orphans preserve-libs userfetch sandbox fixlafiles binpkg-logs usersync multilib-strict protect-owned pid-sandbox sfperms unmerge-logs parallel-fetch userpriv distlocks unknown-features-warn qa-unresolved-soname-deps strict config-protect-if-modified xattr binpkg-dostrip ipc-sandbox network-sandbox assume-digests"

>>> Install dev-python/jaraco-context-4.1.1-r2 into /var/tmp/portage/dev-python/jaraco-context-4.1.1-r2/image
 * python3_9: running distutils-r1_run_phase python_install
mv: cannot stat '/var/tmp/portage/dev-python/jaraco-context-4.1.1-r2/image/usr/lib/python3.9/site-packages/jaraco_context-4.1.1.dist-info': No such file or directory

>>> Install dev-python/jaraco-functools-3.5.0-r2 into /var/tmp/portage/dev-python/jaraco-functools-3.5.0-r2/image
 * python3_9: running distutils-r1_run_phase python_install
mv: cannot stat '/var/tmp/portage/dev-python/jaraco-functools-3.5.0-r2/image/usr/lib/python3.9/site-packages/jaraco_functools-3.5.0.dist-info': No such file or directory

>>> Install dev-python/jaraco-text-3.7.0-r2 into /var/tmp/portage/dev-python/jaraco-text-3.7.0-r2/image
 * python3_9: running distutils-r1_run_phase python_install
mv: cannot stat '/var/tmp/portage/dev-python/jaraco-text-3.7.0-r2/image/usr/lib/python3.9/site-packages/jaraco_text-3.7.0.dist-info': No such file or directory

The error seems to be in these commands:

mv "${D}$(python_get_sitedir)"/jaraco{_,.}context-${PV}.dist-info || die

mv "${D}$(python_get_sitedir)"/jaraco{_,.}functools-${PV}.dist-info || die

mv "${D}$(python_get_sitedir)"/jaraco{_,.}text-${PV}.dist-info || die


Unstable jaraco-text-3.8.0.ebuild seems to have also the same issu, but i did not tested it.



Reproducible: Always
Comment 1 Frank Krömmelbein 2022-06-07 13:31:21 UTC
Created attachment 783353 [details]
jaraco.tar.gz
Comment 2 Larry the Git Cow gentoo-dev 2022-06-07 14:38:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a70a7bcd62e6ad338e150c9d072c2c614fe22a2

commit 4a70a7bcd62e6ad338e150c9d072c2c614fe22a2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-06-07 14:36:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-07 14:37:53 +0000

    distutils-r1.eclass: Revert "Move venv/merge-root logic to post-phases"
    
    Reverts: de2e1bee2462fccc445b845a889b006f888c6b1d
    Closes: https://bugs.gentoo.org/850418
    Closes: https://bugs.gentoo.org/850433
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/distutils-r1.eclass | 124 +++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 73 deletions(-)