Summary: | sys-boot/grub-2.12-r4 help2man Can't locate Locale/gettext.pm in @INC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mateusz Piwek <m.piwek> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | base-system, m.piwek |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The complete build log |
Description
Mateusz Piwek
2024-04-29 09:27:49 UTC
Please attach the full build log. Created attachment 891935 [details]
The complete build log
It failed with: GRUB_PLATFORMS="efi-64 pc" my assumption was that it might be due to some cryptographic functions of UEFI, but: GRUB_PLATFORMS="pc" also fails. From the log: PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=8 -i /var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/docs/man/grub-mkconfig.h2m -o grub-mkconfig.8 grub-mkconfig 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-thread-multi /usr/local/lib64/perl5/5.38 /usr/lib64/perl5/ve ndor_perl/5.38/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.38 /usr/lib64/perl5/5.38/x86_64-linux-thread-multi /usr/lib64/perl5/5.38) at /usr/bin/help2man line 30. BEGIN failed--compilation aborted at /usr/bin/help2man line 30. make[2]: *** [Makefile:14411: grub-mkconfig.8] Error 2 Please run perl-cleaner --all. *** This bug has been marked as a duplicate of bug 592880 *** Works! Just 'perl-cleaner --all' did not solved the issue. I found that dev-lang/perl flag 'ithreads' was set on. When I re-emerge Perl without it (and cleaned all again), it started working. The reason was that when Perl was compiled with ithreads 'Locale/gettext.pm' was expected to be under: /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/ but in fact that module was dropped in: /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux/ |