app-text/iso-codes-3.40 does not respect LINGUAS. Reproducible: Always Steps to Reproduce: 1. emerge iso-codes-3.40 2. 3. Actual Results: a large number of unnecessary files is installed Expected Results: none of the files sb installed I was told by Mike Frysinger to report all cases of this bug.
Can you attach the complete build log and reply with the `emerge --info` output?
Please provide emerge --info and list of files installed by the package. It perfectly respects LINGUAS here.
Created attachment 343954 [details] emerge log emerge log
Created attachment 343956 [details] emerge --info emerge --info
Created attachment 343958 [details] localepurge output localepurge output of unwanted files
I remerged app-text/iso-codes-3.40 & ran 'localepurge' again. The results are shown in the attachments.
Oh I think I know what's going on. From the output of the ebuild, you can see that en is declared as not being supported, in this case the functions used to filter which locales get installed defaults to installing everything. This is an old "bug" that has been around forever. If I'm right, you will get only the variables you want if you add another locale that exists in the package such as fr or ja.
Yes, I tested it LINGUAS="fr" emerge iso-codes & it simply adds the 'fr' files, which are equally unwanted. Can this not be fixed ? Is it an upstream problem ? We sb trying to reach a state where 'localepurge' is not needed anymore.
+ 10 May 2013; Gilles Dartiguelongue <eva@gentoo.org> iso-codes-3.40.ebuild: + Fix linguas stripping logic, bug #463958. + Finally found a way to make this work without altering the behavior of LINGUAS wrt other packages in tree. Thanks for reporting.
It looked like a bug which cb fixed. Thanx for the volunteer effort, as always.