Summary: | sci-libs/gdal-1.8.1-r1 - In member function ‘virtual CPLErr PDFRasterBand::IReadBlock(int, int, void*)’: pdfdataset.cpp:351:47: error: no matching function for call to ‘SplashOutputDev::startDoc(XRef*)’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | cyprien, esigra, gentoo, Heinrich.Nirschl, jaak, john_r_graham, junghans, kripton, mlspamcb, paul, ps, waebbl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=426584 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 437610 | ||
Attachments: |
build log
Port of the 1.9.1 patch to 1.8.1. |
Description
Toralf Förster
2012-09-08 10:14:38 UTC
Created attachment 323200 [details]
build log
BTW gdal-1.9.1 compiles fine here. I can confirm this build error also for amd64. For weeks, building gdal-1.8.1-r1 has failed via revdep-rebuild. I can confirm this bug too for stable amd64. It came up, when portage updated poppler to release 0.20.4 yesterday. As a workaround, if you emerge gdal with USE="-pdf" it builds fine. exactly the same here ... amd64, this issue has popped out with revdep-rebuild, and emerging gdal with USE=-pdf works *** Bug 441604 has been marked as a duplicate of this bug. *** The patch from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/gdal/files/gdal-1.9.1-poppler-0.20.1.patch for sci-libs/gdal-1.9.1 needs to be backported to sci-libs/gdal-1.8.1. See also https://bugs.gentoo.org/show_bug.cgi?id=426584 i was just hit by this after poppler update I can confirm it too. Happened to me after an update and revdep-rebuild. Building with USE="-pdf" solved the issue. I can also confirm this bug on x86. Created attachment 338644 [details, diff]
Port of the 1.9.1 patch to 1.8.1.
Provisional port of the patch attached. Minimal testing under x86 only so far. Trivial modifications needed to the src_prepare() function to apply the patch left as an exercise for the reader. ;)
I can confirm that the patch in comment #11 fixes the build on x86-64. 1.8.1 no longer in tree. |