Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511516 - media-gfx/inkscape-0.48.4-r1 with app-text/poppler-2.26.1 - In member function 'void PdfParser::opSetExtGState(Object*, int)': extension/internal/pdfinput/pdf-parser.cpp:864:59: error: no matching function for call to 'GfxColorSpace::parse(Object*, NULL)'
Summary: media-gfx/inkscape-0.48.4-r1 with app-text/poppler-2.26.1 - In member functio...
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
Depends on:
Blocks:
 
Reported: 2014-05-26 09:43 UTC by Helmut Jarausch
Modified: 2014-12-14 19:08 UTC (History)
0 users

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


Attachments
Slightly modified patch from upstream (bug-1315142-patch-src_extension_internal_pdfinput_pdf-parser_cpp-r13333-v2.diff,3.46 KB, patch)
2014-05-26 10:39 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2014-05-26 09:43:06 UTC
In good old tradition, poppler-2.26.1 breaks other packages, like
media-gfx/inkscape-0.48.4-r1

There are several messages like

extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::opSetExtGState(Object*, int)':
extension/internal/pdfinput/pdf-parser.cpp:864:59: error: no matching function for call to 'GfxColorSpace::parse(Object*, NULL)'
      blendingColorSpace = GfxColorSpace::parse(&obj5, NULL);
                                                           ^
extension/internal/pdfinput/pdf-parser.cpp:864:59: 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:208:25: note: static GfxColorSpace* GfxColorSpace::parse(Object*, OutputDev*, GfxState*, int)
   static GfxColorSpace *parse(Object *csObj, OutputDev *out, GfxState *state, i
                         ^
/usr/include/poppler/GfxState.h:208:25: note:   candidate expects 4 arguments, 2 provided
extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::opSetFillColorSpace(Object*, int)':
extension/internal/pdfinput/pdf-parser.cpp:1088:53: error: no matching function for call to 'GfxColorSpace::parse(Object*, NULL)'
     colorSpace = GfxColorSpace::parse(&args[0], NULL);
                                                     
I don't think the full build log is required.
Helmut
Comment 1 Bernd Feige 2014-05-26 10:39:08 UTC
Created attachment 377652 [details, diff]
Slightly modified patch from upstream
Comment 2 Bernd Feige 2014-05-26 10:40:25 UTC
Upstream bug report is https://bugs.launchpad.net/inkscape/+bug/1315142 - I attach a slightly modified version that applies cleanly to inkscape-0.48.4, compiles and runs without glitch so far.
Comment 3 Yuriy Dmitriev 2014-05-31 19:16:50 UTC
I confirm. Same problem.
~amd64
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2014-08-21 02:54:49 UTC
Reading NEWS file from inkscape 0.48.5. It looks like this has been fixed there.
Comment 5 Tim Harder gentoo-dev 2014-12-14 19:08:39 UTC
This should be fixed in 0.48.5.