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

Bug 299681

Summary: sys-apps/policycoreutils won't compile without gettext present even with USE=-nls
Product: Gentoo Linux Reporter: Mattias Merilai <jah>
Component: New packagesAssignee: SE Linux Bugs <selinux>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge --color n -v1 policycoreutils > emerge.log 2>&1
duct tape

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.