Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906498 - sci-geosciences/gpscorrelate-2.0: exif-gps.cpp:100:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
Summary: sci-geosciences/gpscorrelate-2.0: exif-gps.cpp:100:23: error: ‘AutoPtr’ is no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL: https://github.com/dfandrich/gpscorre...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 20:27 UTC by Andreas Sturmlechner
Modified: 2023-08-20 17:07 UTC (History)
0 users

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


Attachments
sci-geosciences:gpscorrelate-2.0:20230515-202532.log (sci-geosciences:gpscorrelate-2.0:20230515-202532.log,14.35 KB, text/plain)
2023-05-15 20:27 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:27:20 UTC
Created attachment 861770 [details]
sci-geosciences:gpscorrelate-2.0:20230515-202532.log

> exif-gps.cpp:100:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   100 |         Exiv2::Image::AutoPtr Image;
>       |                       ^~~~~~~
> exif-gps.cpp:103:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’?
>   103 |                 Image = Exiv2::ImageFactory::open(File);
>       |                 ^~~~~
>       |                 Exiv2::Image
> In file included from exif-gps.cpp:44:
> /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here
>    50 | class EXIV2API Image {
>       |                ^~~~~
> exif-gps.cpp:108:9: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’?
>   108 |         Image->readMetadata();
>       |         ^~~~~
>       |         Exiv2::Image
> /usr/include/exiv2/image.hpp:50:16: note: ‘Exiv2::Image’ declared here
>    50 | class EXIV2API Image {
>       |                ^~~~~
> exif-gps.cpp: In function ‘char* ReadExifData(const char*, double*, double*, double*, int*)’:
> exif-gps.cpp:157:23: error: ‘AutoPtr’ is not a member of ‘Exiv2::Image’
>   157 |         Exiv2::Image::AutoPtr Image;
>       |                       ^~~~~~~
> exif-gps.cpp:160:17: error: ‘Image’ was not declared in this scope; did you mean ‘Exiv2::Image’?
>   160 |                 Image = Exiv2::ImageFactory::open(File);
>       |                 ^~~~~
>       |                 Exiv2::Image

...and so on.
Comment 1 Larry the Git Cow gentoo-dev 2023-08-20 17:07:25 UTC
The bug has been closed via the following commit(s):

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

commit 40c5fd9857ca17b583abc7627acfa9547f2f4283
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-08-20 17:02:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-08-20 17:07:09 +0000

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

 .../files/gpscorrelate-2.0-exiv2-0.28.patch        | 135 +++++++++++++++++++++
 .../gpscorrelate/gpscorrelate-2.0.ebuild           |   1 +
 2 files changed, 136 insertions(+)