Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906499 - sci-astronomy/siril-1.2.0_beta1: ../siril-1.2.0-beta1/src/core/exif.cpp:111:25: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type
Summary: sci-astronomy/siril-1.2.0_beta1: ../siril-1.2.0-beta1/src/core/exif.cpp:111:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest, UPSTREAM
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 20:29 UTC by Andreas Sturmlechner
Modified: 2023-08-20 17:39 UTC (History)
1 user (show)

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


Attachments
sci-astronomy:siril-1.2.0_beta1:20230515-202608.log (sci-astronomy:siril-1.2.0_beta1:20230515-202608.log,131.05 KB, text/plain)
2023-05-15 20:29 UTC, Andreas Sturmlechner
Details
siril-1.2.0_rc1-r1.build.log (build.log,136.16 KB, text/plain)
2023-07-06 09:29 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 20:29:15 UTC
Created attachment 861771 [details]
sci-astronomy:siril-1.2.0_beta1:20230515-202608.log

> ../siril-1.2.0-beta1/src/core/exif.cpp:111:25: error: ‘AnyError’ in namespace ‘Exiv2’ does not name a type
>   111 |         } catch (Exiv2::AnyError &e) {
>       |                         ^~~~~~~~
> ../siril-1.2.0-beta1/src/core/exif.cpp:112:31: error: ‘e’ was not declared in this scope
>   112 |                 std::string s(e.what());
>       |                               ^
Comment 2 Andreas Sturmlechner gentoo-dev 2023-07-06 09:29:15 UTC
Created attachment 865194 [details]
siril-1.2.0_rc1-r1.build.log

1.2.0_rc1-r1 is still failing unfortunately.

> ../siril-1.2.0-rc1/src/core/exif.cpp: In function ‘gchar* siril_get_date_from_exif(const char*)’:
> ../siril-1.2.0-rc1/src/core/exif.cpp:127:31: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   127 |                 Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(WIDEN(filename));
>       |                               ^~~~~~~
> ../siril-1.2.0-rc1/src/core/exif.cpp:128:21: error: ‘image’ was not declared in this scope
>   128 |                 if (image.get() == 0) {
>       |                     ^~~~~
> ../siril-1.2.0-rc1/src/core/exif.cpp:133:42: error: ‘image’ was not declared in this scope
>   133 |                 read_metadata_threadsafe(image);
>       |                                          ^~~~~
> ../siril-1.2.0-rc1/src/core/exif.cpp:72:3: note: in definition of macro ‘read_metadata_threadsafe’
>    72 |   image->readMetadata();                                      \
>       |   ^~~~~
> ../siril-1.2.0-rc1/src/core/exif.cpp:135:46: error: ‘image’ was not declared in this scope
>   135 |                 Exiv2::ExifData &exif_data = image->exifData();
>       |                                              ^~~~~
Comment 3 Larry the Git Cow gentoo-dev 2023-08-20 17:37:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec80058fdeb087d2ccdc5526ef3dc6d7c842e5a1

commit ec80058fdeb087d2ccdc5526ef3dc6d7c842e5a1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-08-20 17:32:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-08-20 17:37:41 +0000

    sci-astronomy/siril: Fix build with >=exiv2-0.28
    
    Closes: https://bugs.gentoo.org/906499
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../siril/files/siril-1.2-exiv2-0.28.patch         | 39 ++++++++++++++++++++++
 sci-astronomy/siril/siril-1.2.0_rc1-r1.ebuild      |  5 +--
 2 files changed, 42 insertions(+), 2 deletions(-)