LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2007, 08:56 PM   #1
rakris
Member
 
Registered: May 2006
Posts: 38

Rep: Reputation: 15
Unhappy Gentoo compilation error:-)


I downloaded minimal CD. and followed thier handbook for installation.

I tried emerging genkernel. But it returned such as,

ebuild.sh:line 23: error dyn_compile, src_compile..
...
I also tried using --pretend option to know its USE flags an updated USE variable in /etc/make.conf . But no use.
Finally i decided to compile the source myself. (#emerge gentoo-sources)
when i #make in /usr/src/linux, the same error appears( No bug report genrated , must be ur hardware or OS problem.)
 
Old 04-05-2007, 12:49 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Its a "OS problem." I recommend you pass on genkernel for now and continue with the install.

Have you never compiled your own kernel before? Or just in a hurry?
 
Old 04-05-2007, 02:53 AM   #3
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
What version of the kernel/genkernel script are you trying to compile/run? It is masked or no? What version of gcc? What architecture?

You say you tried *emerging* genkernel...does that error generate during emerging the genkernel package (specifically), or while emerge is handling dependencies?
 
Old 04-06-2007, 03:13 AM   #4
rakris
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Unhappy

OK sry I tried re-installing from scratch again.




I had never compiled kernel before.......I was trying to emerge genkernel. But some ebuild error came...Also while updating portage after --sync , some segmentation fault occured,..

THis is my emerge --info( http://pastebin.ca/425179 )


--------------------------------------------------------


QA Notice: USE Flag 'elibc_glibc' not in IUSE for sys-devel/gettext-0.16.1
./loadmsgcat.c: In function '_nl_load_domain':
./loadmsgcat.c:1295: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gettext-0.16.1/temp/ccjaQAyP.out file, please attach this to your bugreport.
make[3]: *** [loadmsgcat.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.16.1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
gettext-0.16.1.ebuild, line 58: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.





The first line says USE flag should have elibc_glibc. But as u can see in the "emerge --info", USE flag has elibc_glibc and i have updated /etc/make.conf also for USE="elibc_glibc" and then did "emerge --newuse portage 2>error.log
And the above statements are the errors
 
Old 04-06-2007, 03:14 AM   #5
rakris
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Architecture is x86...trying install from minimal CD
 
Old 04-06-2007, 01:37 PM   #6
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
gettext doesn't have the option for "elibc_glibc" USE flag...strange that portage would complain about gettext, seeing as how portage is the one with that USE flag.

I'm currently running ~amd64, so I can't be much assistance with x86 specific problems, but I can offer some advice:

Get to know the /etc/portage/package.* files. (They don't exist unless you create them...man portage has info about them...package.keywords can have entries like "sys-devel/gettext ~x86" to use packages that are masked for testing, package.use controls what USE flags are enabled on a package-by-package basis, package.unmask controls what packages are specifically unmasked (in case you don't want to run ~x86 globally), and package.mask is the opposite (for masking packages that behave badly))

With these files, you can control what packages are compiled with what USE flags, what packages are unmasked (if you're using, say x86 and not ~x86), and whatnot. This is generally better than globally enabling a USE flag (although in this particular incident, no harm is done enabling elibc_glibc since (to my knowledge), portage is the only package that uses that USE flag).

Did you change your CFLAGS, and did you use a recent x86 install disk the first time around?

Hope this helps some.
 
Old 04-06-2007, 02:05 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
USE Flag 'elibc_glibc' not in IUSE for sys-devel/gettext-0.16.1

The above is not an error.

internal compiler error: Segmentation fault

Now, this is a problem. If you get random segfaults then you have a hardware problem, most likely bad RAM.

Edit: In case you have repeatable segfaults then the source is buggy or corrupted, run emerge --sync and try again.

Last edited by Emerson; 04-06-2007 at 02:09 PM.
 
Old 04-07-2007, 11:22 AM   #8
rakris
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks to all...

@Rocket257, I wil surely try your method......

And regarding my RAM, its completely alright. I tested it with memtest86 in Ubuntu

May be gentoo doesnt like my hard.
 
Old 04-07-2007, 12:11 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by rakris
And regarding my RAM, its completely alright. I tested it with memtest86 in Ubuntu
In case you want to know - if memtest says the RAM is OK it means nothing. Some people have reported memtest reported errors on 6th or 7th day of continuous running.
 
Old 04-08-2007, 10:42 PM   #10
rakris
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Yes. You are right..
I ran memtest86 for the second time and i got 3lakh errors in my RAM.. I should change my RAM
 
  


Reply

Tags
gentoo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Distro like Gentoo but without the compilation time? josephfley Linux - Distributions 13 04-15-2006 12:47 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
gentoo compilation time andrewlkho Linux - Distributions 3 07-04-2003 06:05 AM
Sqwebmail compilation error ... [maildirsearchC.o] Error 1 boogie_maan Linux - Software 0 10-26-2002 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration