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

Bug 906468

Summary: media-gfx/hugin-2022.0.0: src/hugin_base/panodata/Exiv2Helper.cpp:43:30: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: maekke
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906463    
Attachments: media-gfx:hugin-2022.0.0:20230515-193012.log

Description Andreas Sturmlechner gentoo-dev 2023-05-15 19:32:43 UTC
> src/hugin_base/panodata/Exiv2Helper.cpp: In function ‘bool HuginBase::Exiv2Helper::_getExiv2Value(Exiv2::ExifData&, std::string, long int&)’:
> src/hugin_base/panodata/Exiv2Helper.cpp:43:30: error: ‘class Exiv2::Exifdatum’ has no member named ‘toLong’
>    43 |                 value = itr->toLong();
>       |                              ^~~~~~
> src/hugin_base/panodata/Exiv2Helper.cpp: In function ‘const long int HuginBase::Exiv2Helper::getExiv2ValueLong(Exiv2::ExifData&, Exiv2::ExifData::const_iterator)’:
> src/hugin_base/panodata/Exiv2Helper.cpp:168:28: error: ‘const class Exiv2::Exifdatum’ has no member named ‘toLong’
>   168 |                 return it->toLong();
>       |                            ^~~~~~

...and so on.
Comment 1 Andreas Sturmlechner gentoo-dev 2023-05-15 19:34:18 UTC
Created attachment 861747 [details]
media-gfx:hugin-2022.0.0:20230515-193012.log
Comment 2 Larry the Git Cow gentoo-dev 2023-06-08 19:38:15 UTC
The bug has been closed via the following commit(s):

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

commit d18335caa756f5e5c1478d5fe3ba17f011a78c80
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-06-08 19:22:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-06-08 19:38:07 +0000

    media-gfx/hugin: Fix build with >=exiv2-0.28
    
    Closes: https://bugs.gentoo.org/906468
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../hugin/files/hugin-2022.0.0-exiv2-0.28.patch    | 99 ++++++++++++++++++++++
 .../files/hugin-2022.0.0-exiv2-0.28.patch.orig     | 76 +++++++++++++++++
 media-gfx/hugin/hugin-2022.0.0.ebuild              |  2 +
 3 files changed, 177 insertions(+)