Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906493 - media-gfx/qimgv-1.0.2-r1[exif]: qimgv/sourcecontainers/documentinfo.cpp:274:19: error: ‘BasicError’ in namespace ‘Exiv2’ does not name a template type; did you mean ‘strError’?
Summary: media-gfx/qimgv-1.0.2-r1[exif]: qimgv/sourcecontainers/documentinfo.cpp:274:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jiayi Zhao
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: exiv2-0.28
  Show dependency tree
 
Reported: 2023-05-15 20:12 UTC by Andreas Sturmlechner
Modified: 2023-06-12 17:45 UTC (History)
1 user (show)

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


Attachments
media-gfx:qimgv-1.0.2-r1:20230515-201001.log (media-gfx:qimgv-1.0.2-r1:20230515-201001.log,75.12 KB, text/plain)
2023-05-15 20:12 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:12:04 UTC
Created attachment 861761 [details]
media-gfx:qimgv-1.0.2-r1:20230515-201001.log

> qimgv/sourcecontainers/documentinfo.cpp:274:19: error: ‘BasicError’ in namespace ‘Exiv2’ does not name a template type; did you mean ‘strError’?
>   274 |     catch (Exiv2::BasicError<CharType> e) {
>       |                   ^~~~~~~~~~
>       |                   strError
> qimgv/sourcecontainers/documentinfo.cpp:274:29: error: expected ‘)’ before ‘<’ token
>   274 |     catch (Exiv2::BasicError<CharType> e) {
>       |           ~                 ^
>       |                             )
> qimgv/sourcecontainers/documentinfo.cpp:274:29: error: expected ‘{’ before ‘<’ token
> qimgv/sourcecontainers/documentinfo.cpp:274:29: error: expected primary-expression before ‘<’ token
> In file included from qimgv/sourcecontainers/documentinfo.h:12,
>                  from qimgv/sourcecontainers/documentinfo.cpp:1:
> qimgv/utils/stuff.h:10:22: error: expected primary-expression before ‘char’
>    10 |     #define CharType char
>       |                      ^~~~
> qimgv/sourcecontainers/documentinfo.cpp:274:30: note: in expansion of macro ‘CharType’
>   274 |     catch (Exiv2::BasicError<CharType> e) {
>       |                              ^~~~~~~~
Comment 1 Larry the Git Cow gentoo-dev 2023-06-12 17:45:03 UTC
The bug has been closed via the following commit(s):

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

commit 23a191698ef4f34252517351dc92260bfb57ddc6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-06-12 10:45:42 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-06-12 17:44:50 +0000

    media-gfx/qimgv: Fix build with >=exiv2-0.28, fix apng can't play
    
    Closes: https://bugs.gentoo.org/906493
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/qimgv/files/qimgv-1.0.2-exiv2-0.28.patch | 49 +++++++++++++++++++
 .../files/qimgv-1.0.2-fix-apng-cannot-play.patch   | 56 ++++++++++++++++++++++
 media-gfx/qimgv/qimgv-1.0.2-r2.ebuild              | 46 ++++++++++++++++++
 3 files changed, 151 insertions(+)