Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509280 - media-gfx/inkscape-0.48.4-r1 fails to build with app-text/poppler-0.26
Summary: media-gfx/inkscape-0.48.4-r1 fails to build with app-text/poppler-0.26
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:
Depends on:
Blocks:
 
Reported: 2014-05-01 17:31 UTC by Andreas K. Hüttel
Modified: 2014-06-15 21:02 UTC (History)
0 users

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


Attachments
build log (inkscape-0.48.4-r1:20140501-114348.log,851.83 KB, text/x-log)
2014-05-01 17:31 UTC, Andreas K. Hüttel
Details
workaround patch (inkscape-poppler-0.26-openbsd.patch,4.02 KB, patch)
2014-05-02 15:18 UTC, Andreas K. Hüttel
Details | Diff
patch (inkscape-0.48.4-poppler26.patch,4.38 KB, patch)
2014-05-07 21:02 UTC, Andreas K. Hüttel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.