Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534392 - media-gfx/inkscape-0.48.5 fails to build with app-text/poppler-0.29.0
Summary: media-gfx/inkscape-0.48.5 fails to build with app-text/poppler-0.29.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
: 535732 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-02 23:47 UTC by PM
Modified: 2015-01-06 09:58 UTC (History)
24 users (show)

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


Attachments
build log (file_534392.txt,854.87 KB, text/plain)
2015-01-02 23:49 UTC, PM
Details
inkscape-0.48.5-poppler_0.29.patch (popler-0.29.patch,4.28 KB, patch)
2015-01-03 10:28 UTC, PhobosK
Details | Diff
inkscape-0.48.5-r1.ebuild.patch (inkscape-0.48.5-r1.ebuild.patch,563 bytes, patch)
2015-01-03 10:30 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2015-01-02 23:47:58 UTC
extension/internal/pdfinput/pdf-parser.cpp:3044:61: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL, NULL)’
  blendingColorSpace = GfxColorSpace::parse(&obj3, NULL, NULL);
                                                             ^
extension/internal/pdfinput/pdf-parser.cpp:3044:61: note: candidate is:
In file included from /usr/include/poppler/Gfx.h:41:0,
                 from extension/internal/pdfinput/pdf-parser.cpp:32:
/usr/include/poppler/GfxState.h:211:25: note: static GfxColorSpace* GfxColorSpace::parse(GfxResources*, Object*, OutputDev*, GfxState*, int)
   static GfxColorSpace *parse(GfxResources *res, Object *csObj, OutputDev *out, GfxState *state, int recursion = 0);
                         ^
/usr/include/poppler/GfxState.h:211:25: note:   candidate expects 5 arguments, 3 provided

Reproducible: Always
Comment 1 PM 2015-01-02 23:49:05 UTC
Created attachment 393034 [details]
build log
Comment 2 Juergen Rose 2015-01-03 09:51:39 UTC
Same issue here.
Comment 3 PhobosK 2015-01-03 10:28:42 UTC
Created attachment 393054 [details, diff]
inkscape-0.48.5-poppler_0.29.patch

This is fixed by this patch.

The patch is taken from https://bugs.launchpad.net/inkscape/+bug/1399811 (comment #5 - see https://bugs.launchpad.net/inkscape/+bug/1399811/comments/5) and works ok.

The ebuild needs an update.... or you can use the patch as an user one, in your /etc/portage/patches config tree
Comment 4 PhobosK 2015-01-03 10:30:35 UTC
Created attachment 393056 [details, diff]
inkscape-0.48.5-r1.ebuild.patch

This is the proposed new ebuild with the poppler 0.29 patch

Please test and if worked propose for adding to vcs
Comment 5 Andreas Proteus 2015-01-03 13:59:45 UTC
Patch works here.
Thank you.
Comment 6 Julien Papasian 2015-01-03 15:39:35 UTC
media-gfx/inkscape-0.91_pre3-r1 need its patch too
Comment 7 Seemant Kulleen 2015-01-05 04:00:42 UTC
Thank you, @phloboSK.  Patch works great.  Other than the patch file not being named as specified in the ebuild, it looks good for portage inclusion.
Comment 8 Evgeny Bobkin 2015-01-05 12:25:02 UTC
also affected by this one... 
thanks @PhobosK
Comment 9 Manuel Rüger (RETIRED) gentoo-dev 2015-01-05 23:59:53 UTC
*** Bug 535732 has been marked as a duplicate of this bug. ***
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2015-01-06 09:58:48 UTC
+*inkscape-0.48.5-r1 (06 Jan 2015)
+
+  06 Jan 2015; Justin Lecher <jlec@gentoo.org> +inkscape-0.48.5-r1.ebuild,
+  +files/inkscape-0.48.4-poppler-0.29.0.patch, metadata.xml:
+  Backport fix for API changes in app-text/poppler-0.29.0, #534392
+