Bug 1203019

Summary: undefined references against libexiv2 due to gcc5 rebuild
Product: [Fedora] Fedora Reporter: Daniel Berrangé <berrange>
Component: libgexiv2Assignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-20 17:26:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Berrangé 2015-03-17 22:04:23 UTC
Description of problem:
I'm trying to rebuild Entnagle in rawhide and it is failing to link because libgexiv2 has unresolvable symbols against libexiv2

It looks like this is probably because of the recent rebuild of libexiv2 for GCC 5, so hopefully a plain rebuild of libgexiv2 would solve it.

/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpProperties::registerNs(std::string const&, std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::ExifData::operator[](std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::FileIo::FileIo(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::Iptcdatum::operator=(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::ImageFactory::open(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::Xmpdatum::operator=(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpData::operator[](std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpProperties::prefix(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::Exifdatum::operator=(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpKey::XmpKey(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpProperties::unregisterNs(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::PreviewImage::writeFile(std::string const&) const'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::ExifThumb::setJpegThumbnail(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::IptcData::operator[](std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::IptcKey::IptcKey(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::ExifKey::ExifKey(std::string const&)'
/usr/lib/gcc/i686-redhat-linux/5.0.0/../../../libgexiv2.so: undefined reference to `Exiv2::XmpProperties::ns(std::string const&)'
collect2: error: ld returned 1 exit status
Makefile:1030: recipe for target 'entangle' failed
make[4]: *** [entangle] Error 1


Version-Release number of selected component (if applicable):
libgexiv2-devel-0.10.2-1.fc22

Comment 1 Ankur Sinha (FranciscoD) 2015-03-20 14:27:16 UTC
Is the issue in rawhide also? I can do a rebuild for rawhide and you could test against that to confirm. For F22, I'll have to push an update and you'll have to request a buildroot override and so on.

Comment 2 Ankur Sinha (FranciscoD) 2015-03-20 14:28:18 UTC
(rawhide is now f23)

Comment 3 Daniel Berrangé 2015-03-20 15:23:15 UTC
Yes, rawhide is what I've reported this bug against and where the problem is. F22 works fine because that doesn't have the gcc5 rebuild present, so there's no need for any change there.

Comment 4 Ankur Sinha (FranciscoD) 2015-03-20 16:28:48 UTC
I've kicked off a build for rawhide:

http://koji.fedoraproject.org/koji/taskinfo?taskID=9281387


Hopefully that'll fix it. Please close the bug if it does :)

Cheers,
Ankur

Comment 5 Daniel Berrangé 2015-03-20 17:26:32 UTC
Yep, confirmed it has  fixed entangle builds http://koji.fedoraproject.org/koji/taskinfo?taskID=9281703