Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge sys-boot/grub-2.02_beta2-r2
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
loic430
n00b
n00b


Joined: 09 Apr 2014
Posts: 5

PostPosted: Sat Sep 13, 2014 3:50 pm    Post subject: Failed to emerge sys-boot/grub-2.02_beta2-r2 Reply with quote

Bonjour à tous,

alors voici l'erreur lors de la compilation:

Code:

config.status: creating grub-set-default
chmod a+x grub-set-default
(for x in util/grub-reboot.in ; do cat /var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2/"$x"; done) | ./config.status --file=grub-reboot:-
config.status: creating grub-reboot
chmod a+x grub-reboot
chmod a+x grub-mkimage
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=1 -i /var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2/docs/man/grub-mkimage.h2m -o grub-mkimage.1 grub-mkimage
sh: line 1: 15540 Segmentation fault      grub-mkimage --help 2> /dev/null
help2man: can't get `--help' info from grub-mkimage
Try `--no-discard-stderr' if option outputs to stderr
Makefile:12773: recipe for target 'grub-mkimage.1' failed
make[2]: *** [grub-mkimage.1] Error 139
make[2]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2-pc'
Makefile:11531: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2-pc'
Makefile:3927: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: sys-boot/grub-2.02_beta2-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.02_beta2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.02_beta2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2-pc'
 * S: '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/work/grub-2.02~beta2'

>>> Failed to emerge sys-boot/grub-2.02_beta2-r2, Log file:

>>>  '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/temp/build.log'

 * Messages for package sys-boot/grub-2.02_beta2-r2:

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


Je ne vois pas du tout d'ou peut provenir cette erreur 8O
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Sep 13, 2014 3:59 pm    Post subject: Reply with quote

loic430,

Welcome to Gentoo. Please use English in the main forum.

Your message just says "it failed" without saying where. We need the
Code:
The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.02_beta2-r2/temp/build.log'.
to see what happened.
As that is a fairly large file, please use wgetpast to put it onto a pastebin site
_________________
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
loic430
n00b
n00b


Joined: 09 Apr 2014
Posts: 5

PostPosted: Sat Sep 13, 2014 4:27 pm    Post subject: Reply with quote

Sorry for used french :wink:

This is the complete build log :

http://paste2.org/Hj6xaY0e
Back to top
View user's profile Send private message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 492
Location: Tokyo, Japan

PostPosted: Sat Sep 13, 2014 4:54 pm    Post subject: Reply with quote

I can't help you with your error but would caution that once you are able to emerge double check your grub config file before rebooting especially if you have any special conditions. When my world update upgraded to this version it borked mine keeping from booting. Had to fix it using Rescue CD.
Back to top
View user's profile Send private message
vode
n00b
n00b


Joined: 16 Jul 2002
Posts: 20
Location: Finland

PostPosted: Fri Sep 26, 2014 6:35 pm    Post subject: Reply with quote

I got this when updating:

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.18.2/x86_64-linux /usr/local/lib64/perl5/5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.18.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.18.2/x86_64-linux /usr/lib64/perl5/5.18.2 .) at /usr/bin/help2man line 28.
BEGIN failed--compilation aborted at /usr/bin/help2man line 28.

What package is Locale::gettext?

Package gettext is installed thought?

Regards
Markku
Back to top
View user's profile Send private message
Freeky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2011
Posts: 103
Location: Novosibirsk, Russia

PostPosted: Sat Sep 27, 2014 9:40 am    Post subject: Reply with quote

vode wrote:
What package is Locale::gettext?

Locale::gettext belongs to dev-perl/Locale-gettext

Seems that You update dev-lang/perl but don't update perl packages. So You should run: perl-cleaner --reallyall.
Back to top
View user's profile Send private message
toralf
Advocate
Advocate


Joined: 01 Feb 2004
Posts: 2870
Location: Hamburg/Germany

PostPosted: Sat Sep 27, 2014 10:06 am    Post subject: Reply with quote

Freeky wrote:
vode wrote:
What package is Locale::gettext?

Locale::gettext belongs to dev-perl/Locale-gettext

Seems that You update dev-lang/perl but don't update perl packages. So You should run: perl-cleaner --reallyall.
Code:
perl-cleaner --reallyall -- --ask
I do prefer
Back to top
View user's profile Send private message
vertaxis
n00b
n00b


Joined: 16 Sep 2005
Posts: 22

PostPosted: Sun Oct 05, 2014 1:09 pm    Post subject: Same with me Reply with quote

I had the same problem with the original poster with updating grub2. Running the grub-cleaner as listed in toralf's post fixed the problem for me. I only needed to fix a compile conflict between openssli and kerberos flagged by the cleaner before running my update world again.

Thanks guys!
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