Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge sys-boot/grub-2.00_p5107-r1
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
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 805
Location: /mnt/Gentoo/

PostPosted: Fri Sep 13, 2013 11:57 am    Post subject: Failed to emerge sys-boot/grub-2.00_p5107-r1 Reply with quote

Hi I cannot compile this package. Its any bug or maybe is related to perl (see bellow)?
Quote:
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.3/x86_64-linux /usr/local/lib64/perl5/5.16.3 /usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.16.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.3/x86_64-linux /usr/lib64/perl5/5.16.3 .) at /usr/bin/help2man line 28.



Code:
chmod a+x grub-mkstandalone
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=1 -i /mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00/docs/man/grub-mkstandalone.h2m -o grub-mkstandalone.1 grub-mkstandalone
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.3/x86_64-linux /usr/local/lib64/perl5/5.16.3 /usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.16.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.3/x86_64-linux /usr/lib64/perl5/5.16.3 .) at /usr/bin/help2man line 28.
BEGIN failed--compilation aborted at /usr/bin/help2man line 28.
make[2]: *** [grub-mkrescue.1] Error 2
make[2]: *** Waiting for unfinished jobs....
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.3/x86_64-linux /usr/local/lib64/perl5/5.16.3 /usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.16.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.3/x86_64-linux /usr/lib64/perl5/5.16.3 .) at /usr/bin/help2man line 28.
BEGIN failed--compilation aborted at /usr/bin/help2man line 28.
make[2]: *** [grub-mkstandalone.1] Error 2
make[2]: Leaving directory `/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-guessed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-guessed'
make: *** [all] Error 2
 * ERROR: sys-boot/grub-2.00_p5107-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-guessed'
 * S: '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00'

>>> Failed to emerge sys-boot/grub-2.00_p5107-r1, Log file:

>>>  '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/build.log'

 * Messages for package sys-boot/grub-2.00_p5107-r1:

 * ERROR: sys-boot/grub-2.00_p5107-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'`.
 * The complete build log is located at '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-guessed'
 * S: '/mnt/video/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00'
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 240
Location: Italy

PostPosted: Fri Sep 13, 2013 1:41 pm    Post subject: Reply with quote

I'm quite sure you should run:
Code:
perl-cleaner --all

Then try again with grub.
Back to top
View user's profile Send private message
slaterson
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 240

PostPosted: Thu Oct 17, 2013 5:36 pm    Post subject: Reply with quote

thanks, worked for (same issue as OP).
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