Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299681 - sys-apps/policycoreutils won't compile without gettext present even with USE=-nls
Summary: sys-apps/policycoreutils won't compile without gettext present even with USE=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-05 00:29 UTC by Mattias Merilai
Modified: 2011-06-21 19:58 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,2.99 KB, text/plain)
2010-01-07 05:12 UTC, Mattias Merilai
Details
emerge --color n -v1 policycoreutils > emerge.log 2>&1 (emerge.log,9.70 KB, text/plain)
2010-01-07 05:31 UTC, Mattias Merilai
Details
duct tape (policycoreutils-2.0.55.ebuild.patch,465 bytes, patch)
2010-01-19 12:07 UTC, Mattias Merilai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mattias Merilai 2010-01-05 00:29:08 UTC
I just did a fresh install for a server and converted into selinux/hardened. Disabled the nls use flag. But now policycoreutils wont compile, unless i install gettext also. I also tried the ~x86 versions, with no luck:
~policycoreutils-2.0.69-r1.ebuild
~policycoreutils-2.0.69.ebuild
policycoreutils-2.0.55.ebuild


Reproducible: Always

Steps to Reproduce:
1. try to merge policycoreutils with -nls and no gettext present.
Comment 1 Joost Ruis 2010-01-05 12:28:16 UTC
Can you provide the additional info like emerge --info and a build log?
Comment 2 Mattias Merilai 2010-01-07 05:12:10 UTC
Created attachment 215472 [details]
emerge --info
Comment 3 Mattias Merilai 2010-01-07 05:31:38 UTC
Created attachment 215479 [details]
emerge --color n -v1 policycoreutils > emerge.log 2>&1
Comment 4 Mattias Merilai 2010-01-07 05:50:41 UTC
It is pretty much a standard handbook install, hardened profile from the beginning and a couple of emerge -e worlds on top of it just to be sure. 120 packages in world. Been working my way through the hardened kernel.
Comment 5 Mattias Merilai 2010-01-19 12:06:54 UTC
I removed the 'po' subdirectory from Makefile, and it compiles and works. (At least as much as i can make sense of it). The patch and approach are rather hackish, i guess.
Comment 6 Mattias Merilai 2010-01-19 12:07:47 UTC
Created attachment 216899 [details, diff]
duct tape
Comment 7 Sven Vermeulen 2011-02-26 17:30:52 UTC
I can confirm that it is still the case for policycoreutils-2.0.82. But perhaps we should rather just harddepend on gettext rather than remove it? 
Comment 8 Anthony Basile gentoo-dev 2011-06-16 01:43:29 UTC
(In reply to comment #7)
> I can confirm that it is still the case for policycoreutils-2.0.82. But perhaps
> we should rather just harddepend on gettext rather than remove it? 

Okay I moved your ebuild to the tree.