Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 349131

Summary: Compile error with media-gfx/exiv2-0.21
Product: Gentoo Linux Reporter: Todd Lasman <telscuba>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dkarasik, mercur
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Todd Lasman 2010-12-19 21:49:56 UTC
Emerging media-gfx/exiv2-0.21 fails with:

xmp.cpp:423: error: prototype for ‘bool Exiv2::XmpParser::registerNs(const std::string&, const std::string&)’ does not match any in class ‘Exiv2::XmpParser’
xmp.hpp:327: error: candidate is: static void Exiv2::XmpParser::registerNs(const std::string&, const std::string&)
make[1]: *** [xmp.o] Error 1
make[1]: *** Waiting for unfinished jobs....


Reproducible: Always
Comment 1 Hanno Burger 2010-12-19 23:16:16 UTC
This bug seems to be related to the use of the +xmp use flag.
With xmp enabled, everything compiles as expected.
I manually tried to build the source with ./configure --disable-xmp, and it failed as well. So you could get around this by just enabling the xmp use flag in package.use but of course, that's just a dirty workaround.
I suppose this is an upstream problem, although i couldn't find a bug report in exiv2.org's issue tracker.
Comment 2 Rafał Mużyło 2010-12-19 23:52:24 UTC

*** This bug has been marked as a duplicate of bug 349091 ***