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

Bug 509280

Summary: media-gfx/inkscape-0.48.4-r1 fails to build with app-text/poppler-0.26
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
workaround patch
patch

Description Andreas K. Hüttel archtester gentoo-dev 2014-05-01 17:31:02 UTC
Created attachment 376154 [details]
build log

e.g. 

extension/internal/pdfinput/pdf-parser.cpp:3010:55: error: no matching function for call to ‘GfxColorSpace::parse(Object*, NULL)’
  blendingColorSpace = GfxColorSpace::parse(&obj3, NULL);
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-05-02 15:18:29 UTC
Created attachment 376216 [details, diff]
workaround patch

here's a patch from openbsd, however this most likely breaks the build with stable poppler.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-05-07 21:02:28 UTC
Created attachment 376554 [details, diff]
patch

here's a patch that should work with both stable poppler and 0.26

not tested against stable yet
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-05-24 00:07:44 UTC
Patch added in all in-tree versions after testing.
Comment 4 Juergen Rose 2014-05-26 13:09:29 UTC
The patch worked for me.
Comment 5 Juergen Rose 2014-06-15 20:51:55 UTC
(In reply to Juergen Rose from comment #4)
> The patch worked for me.

Hit the error on the next system. The patch worked again. Should the patch not be included in the standard portage tree?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2014-06-15 21:02:25 UTC
(In reply to Juergen Rose from comment #5)
> (In reply to Juergen Rose from comment #4)
> > The patch worked for me.
> 
> Hit the error on the next system. The patch worked again. Should the patch
> not be included in the standard portage tree?

Not sure what you are building from, but the patch is in all versions in the portage tree... If you're having trouble with an updated portage tree, please make a new bug with a build log.