Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239964 - app-crypt/rotix fails to build with -O0 and USE=nls
Summary: app-crypt/rotix fails to build with -O0 and USE=nls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 13:24 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-07-16 23:19 UTC (History)
1 user (show)

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


Attachments
Build log (app-crypt:rotix-0.83:20081005-131706.log,2.27 KB, text/plain)
2008-10-05 13:24 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch for rotix.c (rotix-0.83-locale.diff,256 bytes, text/plain)
2010-07-15 19:02 UTC, Dane Smith (RETIRED)
Details
New ebuild (rotix-0.83.ebuild,786 bytes, text/plain)
2010-07-15 19:02 UTC, Dane Smith (RETIRED)
Details
Ebuild diff (rotix.diff,872 bytes, text/plain)
2010-07-15 19:03 UTC, Dane Smith (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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
+