exiv2 build failure on Snow Leopard

Richard L. Hamilton rlhamil at smart.net
Sat Jun 17 22:35:36 UTC 2017

Log file attached below.

Further complication with the new exiv2 at 0.26_0: on El Capitan, exiv2 succeeds (the missing symbol being defined there in /usr/include/pthread/pthread.h, which doesn't exist on Snow Leopard), but libextractor fails with the new exiv2, due to the following (which isn't a problem with the older exiv2 at 0.25_0):

:info:build exiv2_extractor.cc:183:20: error: virtual function 'size' has a different return type ('long') than the function it overrides (which has return type 'size_t' (aka 'unsigned long'))
:info:build   virtual long int size (void) const;
:info:build           ~~~~     ^
:info:build /opt/local/include/exiv2/basicio.hpp:225:24: note: overridden virtual function is here
:info:build         virtual size_t size() const = 0;
:info:build                 ~~~~~~ ^
:info:build 1 error generated.

Fortunately, nothing I have at the moment actually needs libextractor, so I could just uninstall it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log-exiv2.txt.gz
Type: application/x-gzip
Size: 9286 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170617/142acf4e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170617/142acf4e/attachment.sig>

More information about the macports-users mailing list