Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463958 - app-text/iso-codes-3.40 does not respect LINGUAS
Summary: app-text/iso-codes-3.40 does not respect LINGUAS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2013-03-31 01:12 UTC by Philip Webb
Modified: 2013-05-11 05:19 UTC (History)
0 users

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


Attachments
emerge log (build.d1,56.38 KB, text/plain)
2013-04-01 16:11 UTC, Philip Webb
Details
emerge --info (info.d1,3.38 KB, text/plain)
2013-04-01 16:13 UTC, Philip Webb
Details
localepurge output (iso-codes.d1,21.36 KB, text/plain)
2013-04-01 16:13 UTC, Philip Webb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Webb 2013-03-31 01:12:54 UTC
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.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-01 10:17:16 UTC
Can you attach the complete build log and reply with the `emerge --info` output?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-01 10:35:29 UTC
Please provide emerge --info and list of files installed by the package.

It perfectly respects LINGUAS here.
Comment 3 Philip Webb 2013-04-01 16:11:52 UTC
Created attachment 343954 [details]
emerge log

emerge log
Comment 4 Philip Webb 2013-04-01 16:13:12 UTC
Created attachment 343956 [details]
emerge --info

emerge --info
Comment 5 Philip Webb 2013-04-01 16:13:49 UTC
Created attachment 343958 [details]
localepurge output

localepurge output of unwanted files
Comment 6 Philip Webb 2013-04-01 16:15:34 UTC
I remerged app-text/iso-codes-3.40 & ran 'localepurge' again.
The results are shown in the attachments.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-04-01 22:19:34 UTC
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.
Comment 8 Philip Webb 2013-04-02 01:07:35 UTC
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.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-05-10 22:14:33 UTC
+  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.
Comment 10 Philip Webb 2013-05-11 05:19:32 UTC
It looked like a bug which cb fixed.

Thanx for the volunteer effort, as always.