Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 511516

Summary: 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)'
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Slightly modified patch from upstream

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.