Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562696 - kde-apps/libkexiv2-4.14.3 won't build with media-gfx/exiv2-0.25-r1
Summary: kde-apps/libkexiv2-4.14.3 won't build with media-gfx/exiv2-0.25-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 23:46 UTC by Uros
Modified: 2015-10-10 22:34 UTC (History)
1 user (show)

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


Attachments
failed kde-apps/libkexiv2-4.14.3 build log (build.log,49.42 KB, text/plain)
2015-10-10 20:08 UTC, Uros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uros 2015-10-09 23:46:11 UTC
I've updated media-gfx/exiv2 to 0.25-r1 which triggered rebuild for kde-apps/libkexiv2-4.14.3.

Building kde-apps/libkexiv2-4.14.3 failed with:

CMakeFiles/kexiv2.dir/kexiv2_p.o: In function `KExiv2Iface::KExiv2::Private::saveToFile(QFileInfo const&) const':
kexiv2_p.cpp:(.text+0x4000): undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
CMakeFiles/kexiv2.dir/kexiv2comments.o: In function `KExiv2Iface::KExiv2::canWriteComment(QString const&)':
kexiv2comments.cpp:(.text+0x50e): undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
CMakeFiles/kexiv2.dir/kexiv2iptc.o: In function `KExiv2Iface::KExiv2::canWriteIptc(QString const&)':
kexiv2iptc.cpp:(.text+0x19e): undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
collect2: error: ld returned 1 exit status
distcc[18402] ERROR: compile (null) on localhost failed
libkexiv2/CMakeFiles/kexiv2.dir/build.make:466: recipe for target 'lib/libkexiv2.so.11.2.0' failed
make[2]: *** [lib/libkexiv2.so.11.2.0] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/libkexiv2-4.14.3/work/libkexiv2-4.14.3_build'
CMakeFiles/Makefile2:118: recipe for target 'libkexiv2/CMakeFiles/kexiv2.dir/all' failed
make[1]: *** [libkexiv2/CMakeFiles/kexiv2.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/libkexiv2-4.14.3/work/libkexiv2-4.14.3_build'
Makefile:138: recipe for target 'all' failed

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2015-10-10 09:47:59 UTC
No problem here. Can you please attach the full build.log?
Comment 2 Uros 2015-10-10 20:08:41 UTC
Created attachment 414286 [details]
failed kde-apps/libkexiv2-4.14.3 build log

Attached build log.
Comment 3 Andreas Sturmlechner gentoo-dev 2015-10-10 21:07:42 UTC
I get similar errors as soon as I switch the active compiler from gcc-4.8.5 to gcc-5.2.0. It works as soon as I re-emerge exiv2 with gcc-5.2.0 and try again.

Not quite sure what happened in your case, did you switch from gcc-4.8 to new stable 4.9.3 in between exiv2 and libkexiv2 updates?

See also: https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/
Comment 4 Uros 2015-10-10 22:34:31 UTC
No, I've been using gcc-4.9.3 for a while now.

I tried building both packages again a few minutes ago and today it worked just fine. Have no idea what happened yesterday.

Sorry, for noise, I'll just resolve this as invalid.