Created attachment 560708 [details, diff]
Patch for pkgconfig issue with exiv2-0.27.0
The exiv-0.27.0 build creates an inaccurate pkg-config file with a hardcoded libdir (in cmake/exiv2.pc.in):
This means that 64-bit programs attempting to compile against it, attempt to link against the 32-bit library which will either not be present, or will fail with an invalid file type error.
This bug has been raised upstream at https://github.com/Exiv2/exiv2/issues/651.
The attached patch can be applied to resolve the issue (and allows dependent packages such as gexiv2 or gnome-color-manager to successfully build).
Hmmm, it seems that patch isn't reliable (a second system produced a .pc file with empty values instead). 5:\
Created attachment 560754 [details, diff]
Fix for the path issues using cmake variables
This is the updated patch, which has also been provided upstream (and they appear responsive) so probably best to wait for them to get this in place...
The bug has been closed via the following commit(s):
Author: Andreas Sturmlechner <email@example.com>
AuthorDate: 2019-01-12 21:54:56 +0000
Commit: Andreas Sturmlechner <firstname.lastname@example.org>
CommitDate: 2019-01-12 22:06:13 +0000
media-gfx/exiv2: Fix pkgconfig
Thanks-to: Mike Auty <email@example.com>
Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <firstname.lastname@example.org>
media-gfx/exiv2/exiv2-0.27.0-r2.ebuild | 109 +++++++++++++++++++++
.../exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch | 24 +++++
2 files changed, 133 insertions(+)
media-gfx/exiv2-0.27.0-r2 seems to fail with the same error.
It seems to depend on the doc USE flag:
>>> Emerging (1 of 3) media-gfx/exiv2-0.27.0-r2::gentoo
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
* exiv2-0.27.0a-Source.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking exiv2-0.27.0a-Source.tar.gz to /var/tmp/portage/media-gfx/exiv2-0.27.0-r2/work
>>> Source unpacked in /var/tmp/portage/media-gfx/exiv2-0.27.0-r2/work
>>> Preparing source in /var/tmp/portage/media-gfx/exiv2-0.27.0-r2/work/exiv2-0.27.0-Source ...
* Converting doc/cmd.txt to UTF-8
* Updating doxygen config
* ERROR: media-gfx/exiv2-0.27.0-r2::gentoo failed (prepare phase):
* (no error message)
'USE=-doc emerge -v1 exiv2' works.
I think that's a different error Juergen? Could you please file a separate bug for it...