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
Created attachment 877979 [details] all logs for the issue
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.
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 ***