Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576566 - media-gfx/exiv2-0.25-r2[linguas_*] installs into /* instead of /usr/share/locale/*
Summary: media-gfx/exiv2-0.25-r2[linguas_*] installs into /* instead of /usr/share/loc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL: https://github.com/Exiv2/exiv2/pull/33
Whiteboard: fixed in 0.26.1
Keywords:
: 604196 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-06 07:49 UTC by Martin Väth
Modified: 2017-11-05 15:15 UTC (History)
3 users (show)

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


Attachments
build log (media-gfx:exiv2-0.25-r2:20160306-220657.log,98.54 KB, text/plain)
2016-03-06 22:20 UTC, Martin Väth
Details
emerge --info exiv2 (info.txt,17.60 KB, text/plain)
2016-03-06 22:30 UTC, Martin Väth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2016-03-06 07:49:03 UTC
media-gfx/exiv2-0.25-r2[linguas_de] installs the translation files into the directory /de instead of /usr/share/locale/de

I suppose that the same holds for other LINGUAS as well.

I have not checked whether exiv2 looks for the translation files at the correct location.
Comment 1 Franz Trischberger 2016-03-06 10:21:22 UTC
media-gfx/exiv2 (0.25-r2@15.02.2016)(nls png -doc -examples -webready -xmp ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" LINGUAS="de -bs -es -fi -fr -gl -ms -pl -pt -ru -sk -sv -ug -uk -vi")

$ qlist media-gfx/exiv2 | grep locale
/usr/share/locale/de/LC_MESSAGES/exiv2.mo

So at least for me it installed de-locale in the correct location.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-03-06 17:49:00 UTC
Could you please attach the build log?
Comment 3 Martin Väth 2016-03-06 22:20:13 UTC
Created attachment 427626 [details]
build log

There is not much which can be seen be seen from the log except that the last "Installing: ..." goes obviously into the wrong directory.
Comment 4 Martin Väth 2016-03-06 22:30:40 UTC
Created attachment 427628 [details]
emerge --info exiv2

Bugzilla complained that emerge --info is too long for a comment, so I add it as an attachment
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2016-03-28 06:48:11 UTC
(In reply to Martin Väth from comment #4)
> Created attachment 427628 [details]
> emerge --info exiv2
> 

Can't reproduce with 'de'. Could you please try with ccache off?
Comment 6 Martin Väth 2016-03-28 17:48:19 UTC
(In reply to Johannes Huber from comment #5)
> Can't reproduce with 'de'. Could you please try with ccache off?

This gives the same result, unsurprisingly.

The same result also with

CMAKE_MAKEFILE_GENERATOR="ninja"

except that in this case the log file also contains a copy of de.po (i.e. for some reason ninja send de.po in addition to stdout or stderr during building).
Comment 7 Andreas Sturmlechner gentoo-dev 2016-12-31 00:06:25 UTC
*** Bug 604196 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2017-08-22 07:45:22 UTC
Issue occurs with USE=-nls, cmake was fixed upstream.
Comment 9 Andreas Sturmlechner gentoo-dev 2017-10-13 08:42:53 UTC
Added snapshot 0.26_p20171013 to tree to address this issue.
Comment 10 Andreas Sturmlechner gentoo-dev 2017-11-05 15:15:00 UTC
media-gfx/exiv2-0.26_p20171104 is now pending for stabilisation.