Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231018

Summary: dev-libs/glib-2.16.3-r1 fails because of QA notice
Product: Gentoo Linux Reporter: Péter Werner <Werner.Peter>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
build environment

Description Péter Werner 2008-07-07 05:31:05 UTC
gobject.c:1566: warning: dereferencing type-punned pointer will break strict-aliasing rules
gobject.c:1572: warning: dereferencing type-punned pointer will break strict-aliasing rules
gobject.c:1729: warning: dereferencing type-punned pointer will break strict-aliasing rules
gobject.c:1759: warning: dereferencing type-punned pointer will break strict-aliasing rules
gobject.c:1776: warning: dereferencing type-punned pointer will break strict-aliasing rules
gparam.c:199: warning: dereferencing type-punned pointer will break strict-aliasing rules
Comment 1 Péter Werner 2008-07-07 05:31:47 UTC
Created attachment 159768 [details]
build log
Comment 2 Péter Werner 2008-07-07 05:32:13 UTC
Created attachment 159769 [details]
build environment
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-07-07 07:23:33 UTC
Check your FEATURES, you might have "strict" or "stricter" in there. Ie, you asked portage to die on QA errors.

Could you paste the output of emerge --info?

Thanks
Comment 4 Mart Raudsepp gentoo-dev 2008-07-12 10:43:34 UTC
From his build environment attachment:

FEATURES='ccache collision-protect cvs digest distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms sign splitdebug strict stricter unmerge-orphans userfetch userpriv usersandbox'

stricter probably makes it die? We need to get that crap to not cause QA dies as they aren't a Gentoo QA problem, but that's a more global matter than this particular "bug"
Comment 5 Péter Werner 2008-07-13 21:45:34 UTC
Yes, this is all about a QA warning that causes the build to fail if FEATURES has stricter, which is on by default in the new 2008.0/developer profile.

Do you really need emerge --info?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-16 07:14:03 UTC
sorry but this kind of errors ("dereferencing type-punned pointer will break
strict-aliasing rules") are to be handled upstream. FEATURES="stricter" is a developer feature imho and shouldn't be enabled by users. This is why it is in the developer profile. You can always disable it in your make.conf.
Comment 7 Péter Werner 2008-07-19 06:47:53 UTC
No problem for me to work it around.
I just assumed that with 2008.0 Gentoo wants to collect QA problems.  There was a message asking it, but perhaps I missed "upstream" in that.
(I assumed developer is a profile for people using the PC for development not for Gentoo devs.)
Sorry for making an invalid bugreport.