Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hjkl
Apprentice
Apprentice


Joined: 22 Apr 2021
Posts: 198
Location: Somewhere in Europe

PostPosted: Mon Jun 14, 2021 2:19 pm    Post subject: GRUB fails to compile Reply with quote

Hi,

Grub is failing to compile. ( I have no idea what else to say)


emerge --info : https://gist.github.com/de7ce3fdebfb36bc2ad8b00b6f863976


emerge -pqv :
Code:
emerge -pqv '=sys-boot/grub-2.06_rc1::gentoo'
[ebuild   R   ] sys-boot/grub-2.06_rc1  USE="fonts mount* nls sdl themes truetype -device-mapper -doc -efiemu -libzfs (-test)" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh"


build.log https://gist.github.com/820f62ccd2ce351c1f6fe133095d06ff


Cheers!
_________________
Having problems compiling since 2021 :(
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Mon Jun 14, 2021 2:23 pm    Post subject: Reply with quote

Code:
Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.32 /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.32 /usr/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/5.32) at /usr/bin/help2man line 30.
BEGIN failed--compilation aborted at /usr/bin/help2man line 30.

Try to rebuild dev-perl/Locale-gettext or run perl-cleaner --all
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
hjkl
Apprentice
Apprentice


Joined: 22 Apr 2021
Posts: 198
Location: Somewhere in Europe

PostPosted: Mon Jun 14, 2021 2:29 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.32 /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.32 /usr/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/5.32) at /usr/bin/help2man line 30.
BEGIN failed--compilation aborted at /usr/bin/help2man line 30.

Try to rebuild dev-perl/Locale-gettext or run perl-cleaner --all



Yea, that fixed it.

Odd, how'd that happen to be the issue?

Weird.
_________________
Having problems compiling since 2021 :(
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Mon Jun 14, 2021 2:32 pm    Post subject: Reply with quote

When perl has a major update you should use also perl-cleaner, for more information see https://wiki.gentoo.org/wiki/Perl#Upgrading_.28major_version.29
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2912
Location: Edge of marsh USA

PostPosted: Mon Jun 14, 2021 4:36 pm    Post subject: Reply with quote

After updates, you should read the error log messages. Mine are in /var/log/portage/elog. Many times portage error log messages are banal, but sometimes critical, like the one that instructed users:
Code:
# cat dev-lang:perl-5.32.1:20210524-174804.log
WARN: preinst
UPDATE THE PERL MODULES:
After updating dev-lang/perl the installed Perl modules
have to be re-installed. In most cases, this is done automatically
by the package manager, but subsequent steps are still recommended
to ensure system consistency.

You should start with a depclean to remove any unused perl dependencies
that may confuse portage in future. Regular depcleans are also encouraged
as part of your regular update cycle, as that will keep perl upgrades working.
Recommended: emerge --depclean -va

You should then call perl-cleaner to clean up any old files and trigger any
remaining rebuilds portage may have missed.
Use: perl-cleaner --all

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum