Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919384 - emerge: no python-exec wrapped executable found in /usr/lib/python-exec.
Summary: emerge: no python-exec wrapped executable found in /usr/lib/python-exec.
Status: RESOLVED DUPLICATE of bug 916498
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-07 03:19 UTC by Krzysztof Beresztant
Modified: 2023-12-09 23:17 UTC (History)
2 users (show)

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


Attachments
all logs for the issue (world.log,634.44 KB, text/plain)
2023-12-07 03:20 UTC, Krzysztof Beresztant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Beresztant 2023-12-07 03:19:21 UTC
After first world upgrade attempt, sys-boot/grub failed because of a perl problem:
`Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC entries checked: /etc/perl /usr/local/lib64/perl5/5.38/x86_64-linux /usr/local/lib64/perl5/5.38 /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux /usr/lib64/perl5/vendor_perl/5.38 /usr/lib64/perl5/5.38/x86_64-linux /usr/lib64/perl5/5.38 /usr/lib64/perl5/5.34 /usr/lib64/perl5/vendor_perl/5.34) at /usr/bin/help2man line 30.`
I've attempted a perl-cleaner run, but it turned out the emerge command was left unusable:
`emerge: no python-exec wrapped executable found in /usr/lib/python-exec.`
Emerge could be still run by the direct path `/usr/lib/python-exec/python3.9/emerge`.
Re-attempting the world upgrade fixed both grub and emerge problems without any further actions, probably because it calculated a different merge order this time. I suspect the problem is caused by a wrong order being determined first time.
Not sure if it would be reproducible on another system.

Reproducible: Didn't try
Comment 1 Krzysztof Beresztant 2023-12-07 03:20:11 UTC
Created attachment 877979 [details]
all logs for the issue
Comment 2 Mike Gilbert gentoo-dev 2023-12-07 16:30:52 UTC
The grub/perl issue should be fixed in recent portage versions. See bug 592880.

The python-exec issue could possibly be addressed by the python team.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 23:17:23 UTC
I'm going to call this a dupe of bug 916498 for python-exec changes. floppym is right wrt the portage fixes, they should be already done.

*** This bug has been marked as a duplicate of bug 916498 ***