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

Bug 239964

Summary: app-crypt/rotix fails to build with -O0 and USE=nls
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: c1pher
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Patch for rotix.c
New ebuild
Ebuild diff

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 13:24:03 UTC
This is due to libintl.h NOT including locale.h when not building at least at -O1, see http://blog.flameeyes.eu/2008/09/02/testing-the-corner-cases for more information about the problem.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 13:24:19 UTC
Created attachment 167303 [details]
Build log
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-01 20:20:39 UTC
%% CFLAGS="$(portageq envvar CFLAGS) -O0" ebuild rotix-0.83.ebuild install clean
%% echo $?
0

Can't reproduce.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-01 21:42:33 UTC
Add USE=nls.
Comment 4 Dane Smith (RETIRED) gentoo-dev 2010-07-15 19:02:38 UTC
Created attachment 238919 [details]
Patch for rotix.c
Comment 5 Dane Smith (RETIRED) gentoo-dev 2010-07-15 19:02:56 UTC
Created attachment 238921 [details]
New ebuild
Comment 6 Dane Smith (RETIRED) gentoo-dev 2010-07-15 19:03:10 UTC
Created attachment 238923 [details]
Ebuild diff
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-07-16 23:19:51 UTC
+  16 Jul 2010; Markos Chandras <hwoarang@gentoo.org>
+  files/0.83-respect-CFLAGS-and-dont-strip.patch, rotix-0.83.ebuild,
+  +files/rotix-0.83-locale.diff:
+  Apply patch from Dane Smith <smithdanea@gmail.com> to fix compilation
+  problems with USE=nls and -O0. Bug #239964. Respect LDFLAGS and drop
+  custom CFLAGS for debug mode
+