Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946597 - media-gfx/inkscape-1.4-r1 w/ app-text/poppler-24.12.0: pdf-parser.cpp:2410:24: error: no matching function for call to ‘Stream::getImageParams(int*, StreamColorSpaceMode*)’
Summary: media-gfx/inkscape-1.4-r1 w/ app-text/poppler-24.12.0: pdf-parser.cpp:2410:24...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-17 20:08 UTC by Andreas Sturmlechner
Modified: 2025-01-13 17:12 UTC (History)
1 user (show)

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


Attachments
media-gfx:inkscape-1.4-r1:20241217-200418.log.xz (media-gfx:inkscape-1.4-r1:20241217-200418.log.xz,18.91 KB, application/x-xz)
2024-12-17 20:08 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 2024-12-17 20:08:19 UTC
Created attachment 914273 [details]
media-gfx:inkscape-1.4-r1:20241217-200418.log.xz

> src/extension/internal/pdfinput/pdf-parser.cpp:2410:24: error: no matching function for call to ‘Stream::getImageParams(int*, StreamColorSpaceMode*)’
>  2410 |     str->getImageParams(&bits, &csMode);
>       |     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
> In file included from /usr/include/poppler/Object.h:595,
>                  from src/extension/internal/pdfinput/pdf-parser.h:29,
>                  from src/extension/internal/pdfinput/pdf-parser.cpp:19:
> /usr/include/poppler/Stream.h:255:18: note: candidate: ‘virtual void Stream::getImageParams(int*, StreamColorSpaceMode*, bool*)’
>   255 |     virtual void getImageParams(int * /*bitsPerComponent*/, StreamColorSpaceMode * /*csMode*/, bool * /*hasAlpha*/) { }
>       |                  ^~~~~~~~~~~~~~
Comment 1 jospezial 2025-01-03 23:09:34 UTC
https://gitlab.com/inkscape/inkscape/-/commit/c9046810d899a408bfbd489aad91872b1203ee6d
"Fix building with poppler 24.12.0"
Comment 2 Larry the Git Cow gentoo-dev 2025-01-13 17:12:11 UTC
The bug has been closed via the following commit(s):

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

commit 9a31f36aa85c0e0860454a780c64fe925e02f9dc
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-01-12 22:01:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-01-13 17:11:52 +0000

    media-gfx/inkscape: Fix build w/ app-text/poppler-24.12
    
    Closes: https://bugs.gentoo.org/946597
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/inkscape-1.4-poppler-24.12.0.patch       | 53 ++++++++++++++++++++++
 media-gfx/inkscape/inkscape-1.4-r1.ebuild          |  3 +-
 2 files changed, 55 insertions(+), 1 deletion(-)