Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316001 - dev-libs/glib-2.22.4 fails to emerge on fresh install
Summary: dev-libs/glib-2.22.4 fails to emerge on fresh install
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-18 19:23 UTC by Lisa
Modified: 2010-05-10 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeInfo_glib-2.22.4.txt,3.30 KB, text/plain)
2010-04-18 19:24 UTC, Lisa
Details
build.log (build.log,2.87 KB, text/plain)
2010-04-18 19:25 UTC, Lisa
Details
environment (environment,109.09 KB, text/plain)
2010-04-18 19:25 UTC, Lisa
Details
full build.log (build.log,114.16 KB, text/plain)
2010-04-18 22:10 UTC, Lisa
Details
second buil.log (build-2.log,404.76 KB, text/plain)
2010-04-21 16:12 UTC, Lisa
Details
second environment (environment-2,109.09 KB, text/plain)
2010-04-21 16:13 UTC, Lisa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa 2010-04-18 19:23:52 UTC
Hi,

I did a fresh install this morning and when I was emerging xorg-server, glib was pulled in and failed to compile.

I tried with PATH="/sbin:/bin:/usr/sbin:/usr/bin" . It still fails.
Running lafilefixer --justfixit didn't help neither.

If anyone has any clue...

Thanks.


Reproducible: Always

Steps to Reproduce:
1.fresh install
2.emerge glib

Actual Results:  
compile fails

Expected Results:  
compile runs fine :)
Comment 1 Lisa 2010-04-18 19:24:47 UTC
Created attachment 228317 [details]
emerge --info
Comment 2 Lisa 2010-04-18 19:25:06 UTC
Created attachment 228319 [details]
build.log
Comment 3 Lisa 2010-04-18 19:25:24 UTC
Created attachment 228321 [details]
environment
Comment 4 Rafał Mużyło 2010-04-18 19:30:45 UTC
A segfault there, with rather sane CFLAGS, suggests a hardware failure.

Though, do attach *full* build log.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-18 21:47:20 UTC
lowering priority per previous comment.
Comment 6 Lisa 2010-04-18 22:10:54 UTC
Created attachment 228341 [details]
full build.log

Sorry I didn't thought it could be necessary the whole thing...
Comment 7 Pacho Ramos gentoo-dev 2010-04-19 16:18:37 UTC
Does it always fail in the same way? Have you tried to re-emerge it again and you get the segfault at the same time?
Comment 8 Lisa 2010-04-21 08:56:03 UTC
(In reply to comment #7)
> Does it always fail in the same way? Have you tried to re-emerge it again and
> you get the segfault at the same time?
> 

I will try this evening to re-emerge it, but I am pretty shure that when I tried with different CFLAGS (-Ox) it always gave the same error. But I will re-try in about 10 hours...
Comment 9 Lisa 2010-04-21 16:11:34 UTC
Hi,

voilà, I just did a new try and it failed with an other error...

Both environment and build.log in attachment.
Comment 10 Lisa 2010-04-21 16:12:32 UTC
Created attachment 228643 [details]
second buil.log

The build.log from my second try
Comment 11 Lisa 2010-04-21 16:13:13 UTC
Created attachment 228645 [details]
second environment

Environment file for my second try.
Comment 12 Pacho Ramos gentoo-dev 2010-05-08 08:30:54 UTC
These "random" segfaults are usually caused by hardware failures. This bug is INVALID then.

My only suggestion is to try to ask for help in http://forums.gentoo.org

Also, if you are using "ondemand" cpu governor, try to use "performance" one instead (for example, in one of my machines, my CPU seems to not like "ondemand" at all causing lots of random segfaults that are usually noticed in large compilations (like xulrunner, gtk+, glib, openoffice...)
Comment 13 Lisa 2010-05-10 07:09:59 UTC
Hi, and thanks for those suggestions. Just a last question though, does "random cpu governor" means those automatic detection CFLAGS ? That I should replace with a family specific CFLAG ?
Comment 14 Pacho Ramos gentoo-dev 2010-05-10 19:10:19 UTC
(In reply to comment #13)
> Hi, and thanks for those suggestions. Just a last question though, does "random
> cpu governor" means those automatic detection CFLAGS ? That I should replace
> with a family specific CFLAG ?
> 

No, that flags are chosen by gcc and they usually are ok (I use -march=native on all my machines without problems). That "governors" are simply related with frequency and voltage scaling for energy saving. You can read much more about it in your kernel sources at /usr/src/linux/Documentation/cpu-freq