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

Bug 906466

Summary: media-gfx/darktable-4.2.1: src/common/exif.cc:290:17: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: maekke
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/darktable-org/darktable/pull/14564
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906463    
Attachments: media-gfx:darktable-4.2.1:20230515-192350.log

Description Andreas Sturmlechner gentoo-dev 2023-05-15 19:27:44 UTC
> 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.
Comment 1 Andreas Sturmlechner gentoo-dev 2023-05-15 19:35:49 UTC
Created attachment 861749 [details]
media-gfx:darktable-4.2.1:20230515-192350.log
Comment 2 Larry the Git Cow gentoo-dev 2023-06-08 14:05:18 UTC
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(+)