Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906466 - media-gfx/darktable-4.2.1: src/common/exif.cc:290:17: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type
Summary: media-gfx/darktable-4.2.1: src/common/exif.cc:290:17: error: ‘AnyError’ in na...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL: https://github.com/darktable-org/dark...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 19:27 UTC by Andreas Sturmlechner
Modified: 2023-06-08 14:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-gfx:darktable-4.2.1:20230515-192350.log (media-gfx:darktable-4.2.1:20230515-192350.log,922.47 KB, text/plain)
2023-05-15 19:35 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)