> src/common/exif.cc: In function ‘void dt_exif_set_exiv2_taglist()’: > src/common/exif.cc:290:17: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type > 290 | catch (Exiv2::AnyError& e) > | ^~~~~~~~ > src/common/exif.cc:292:19: error: ‘e’ was not declared in this scope > 292 | std::string s(e.what()); > | ^ > src/common/exif.cc: In function ‘void dt_remove_exif_keys(Exiv2::ExifData&, const char**, unsigned int)’: > src/common/exif.cc:411:18: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type > 411 | catch(Exiv2::AnyError &e) > | ^~~~~~~~ > src/common/exif.cc: In function ‘void dt_remove_xmp_keys(Exiv2::XmpData&, const char**, unsigned int)’: > src/common/exif.cc:431:18: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type > 431 | catch(Exiv2::AnyError &e) > | ^~~~~~~~ > src/common/exif.cc: In function ‘bool dt_exif_read_xmp_tag(Exiv2::XmpData&, Exiv2::XmpData::iterator*, std::string)’: > src/common/exif.cc:447:16: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type > 447 | catch(Exiv2::AnyError &e) > | ^~~~~~~~ > src/common/exif.cc:449:19: error: ‘e’ was not declared in this scope > 449 | std::string s(e.what()); > | ...and so on.
Created attachment 861749 [details] media-gfx:darktable-4.2.1:20230515-192350.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db72a304c8b761ee3254ea42867d5e5e802770d3 commit db72a304c8b761ee3254ea42867d5e5e802770d3 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-06-08 13:47:19 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-06-08 14:05:03 +0000 media-gfx/darktable: Fix build with >=exiv2-0.28 Closes: https://bugs.gentoo.org/906466 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/darktable/darktable-4.2.1.ebuild | 2 + .../files/darktable-4.2.1-exiv2-0.28.patch | 215 +++++++++++++++++++++ 2 files changed, 217 insertions(+)