Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926203 - media-gfx/inkscape-1.3.2 fails to compile with poppler-24.03.0
Summary: media-gfx/inkscape-1.3.2 fails to compile with poppler-24.03.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-05 11:40 UTC by Helmut Jarausch
Modified: 2024-03-05 16:35 UTC (History)
2 users (show)

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


Attachments
emerge --info (inscape-1,3,2.info,21.41 KB, text/plain)
2024-03-05 11:41 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2024-03-05 11:40:31 UTC
poppler has changed
virtual int getType() const = 0
to
virtual Type getType() const = 0

This makes inkscape fail
inkscape-1.3.2/src/extension/internal/pdfinput/svg-builder.cpp:1161:29: error: cannot convert 'Function::Type' to 'int' in initialization
 1161 |     int type = func->getType();
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-05 11:41:39 UTC
Please always include the full build.log and emerge --info.

commit 4f3b5e55d2516361e92aa64612330c0a228a9de5
Author: Andreas Sturmlechner <asturm@gentoo.org>
Date:   Mon Mar 4 23:11:14 2024 +0100

    media-gfx/inkscape: Fix build with >=app-text/poppler-24.03

    Fix is pending upstream:
    https://gitlab.com/inkscape/inkscape/-/merge_requests/6209

    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Comment 2 Helmut Jarausch 2024-03-05 11:41:50 UTC
Created attachment 886749 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-05 11:43:55 UTC
I'm pretty sure that the fixed inkscape was pushed together with the new poppler bump so I'm not sure how you even hit this..
Comment 4 Andreas Sturmlechner gentoo-dev 2024-03-05 12:41:29 UTC
You can't come up with an actual build.log, can you?
Comment 5 Helmut Jarausch 2024-03-05 16:27:46 UTC
(In reply to Andreas Sturmlechner from comment #4)
> You can't come up with an actual build.log, can you?

Sorry, this is my fault.
I often have the same package in my local overlay.
Whenever a package changes without a version bump I am in danger of missing that.

Helmut.