Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub upgrade fail...
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
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Sat Jun 30, 2012 10:06 pm    Post subject: grub upgrade fail... Reply with quote

Code:
config.status: creating grub-shell-tester
chmod a+x grub-shell-tester
./config.status --file=grub-mkconfig:/var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/util/grub-mkconfig.in
config.status: creating grub-install
config.status: creating grub-mknetdir
chmod a+x grub-install
./config.status --file=grub-set-default:/var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/util/grub-set-default.in
chmod a+x grub-mknetdir
./config.status --file=grub-reboot:/var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/util/grub-reboot.in
config.status: creating grub-mkconfig
chmod a+x grub-mkconfig
chmod a+x grub-mkrescue
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=1 -i /var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/docs/man/grub-mkrescue.h2m -o grub-mkrescue.1 grub-mkrescue
config.status: creating grub-set-default
config.status: creating grub-reboot
chmod a+x grub-set-default
chmod a+x grub-mkstandalone
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=1 -i /var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/docs/man/grub-mkstandalone.h2m -o grub-mkstandalone.1 grub-mkstandalone
chmod a+x grub-reboot
chmod a+x grub-install
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=8 -i /var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/docs/man/grub-install.h2m -o grub-install.8 grub-install
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.0/i686-linux /usr/local/lib/perl5/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i686-linux /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i686-linux /usr/lib/perl5/5.16.0 .) at /usr/bin/help2man line 28.
BEGIN failed--compilation aborted at /usr/bin/help2man line 28.
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.0/i686-linux /usr/local/lib/perl5/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i686-linux /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i686-linux /usr/lib/perl5/5.16.0 .) 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....
make[2]: *** [grub-mkstandalone.1] Error 2
Can't locate Locale/gettext.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.0/i686-linux /usr/local/lib/perl5/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i686-linux /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i686-linux /usr/lib/perl5/5.16.0 .) at /usr/bin/help2man line 28.
BEGIN failed--compilation aborted at /usr/bin/help2man line 28.
make[2]: *** [grub-install.8] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00/work/build-guessed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00/work/build-guessed'
make: *** [all] Error 2
 * ERROR: sys-boot/grub-2.00 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.00/work/build-guessed'
 * S: '/var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00'

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

>>>  '/var/tmp/portage/sys-boot/grub-2.00/temp/build.log'

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

 * ERROR: sys-boot/grub-2.00 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.00/work/build-guessed'
 * S: '/var/tmp/portage/sys-boot/grub-2.00/work/grub-2.00'

tia!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42873
Location: 56N 3W

PostPosted: Sun Jul 01, 2012 12:02 am    Post subject: Reply with quote

john-doe,

Grub2 is in testing - the update path is not yet documented. You really don't need a new bootloader if grub1 works.
While it might be a very interesting learning experience picking up the pieces, your time is probably best spent elsewhere.

It looks like grub2 built but running help2man failed.

Try running
Code:
perl-cleaner -all
That will rebuild lots of stuff, then try grub2 again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Mon Jul 02, 2012 1:20 am    Post subject: Reply with quote

I luv grub 1 :!:
Back to top
View user's profile Send private message
floops
n00b
n00b


Joined: 28 Dec 2011
Posts: 55

PostPosted: Tue Jul 03, 2012 4:03 pm    Post subject: Reply with quote

I ran into the exact same problem

ran
Code:
perl-cleaner --all


grub2 updated just fine

from what I could tell it looked like gettext.pm was in a folder different from where it should have been- I think due to versions- it was in a folder listed with version number 5.12 instead of 5.16- updating perl solved it

Regardless- just wanted to throw a big thank you out to Neddy Seagoon

Thanks
Floops
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 24

PostPosted: Mon Mar 24, 2014 4:10 pm    Post subject: Apparently this problem lives on.. Reply with quote

Just did a stage3 install and ended up needing a perl-cleaner --all to clean up gettext. Thanks for the tip.
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