Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482888 - sci-libs/gdal-1.10.0-r1 with app-text/poppler-0.22.5 - In member function ‘CPLErr PDFDataset::ReadPixels(int, int, int, int, int, int, int, GByte*)’: pdfdataset.cpp:1037:47: error: no matching function for call to ‘GDALPDFOutputDev::startDoc(XRef*)’
Summary: sci-libs/gdal-1.10.0-r1 with app-text/poppler-0.22.5 - In member function ‘CP...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 08:42 UTC by Andrew Savchenko
Modified: 2014-01-27 00:20 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,373.30 KB, text/x-log)
2013-08-29 08:43 UTC, Andrew Savchenko
Details
environment (environment,294.49 KB, text/plain)
2013-08-29 08:43 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,8.43 KB, text/plain)
2013-08-29 08:43 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2013-08-29 08:42:55 UTC
Hello,

gdal-1.10.0-r1[pdf] fails to build with the poppler-0.22.5:

pdfdataset.cpp: In member function ‘CPLErr PDFDataset::ReadPixels(int, int, int, int, int, int, int, GByte*)’:
pdfdataset.cpp:1037:47: error: no matching function for call to ‘GDALPDFOutputDev::startDoc(XRef*)’
pdfdataset.cpp:1037:47: note: candidate is:
In file included from pdfobject.h:58:0,
                 from pdfdataset.cpp:48:
/usr/include/poppler/SplashOutputDev.h:311:8: note: void SplashOutputDev::startDoc(PDFDoc*)
/usr/include/poppler/SplashOutputDev.h:311:8: note:   no known conversion for argument 1 from ‘XRef*’ to ‘PDFDoc*’
pdfdataset.cpp: In static member function ‘static GDALDataset* PDFDataset::Open(GDALOpenInfo*)’:
pdfdataset.cpp:2786:45: error: ‘setErrorFunction’ was not declared in this scope
pdfdataset.cpp:2821:67: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: *** [../o/pdfdataset.o] Error 1
Comment 1 Andrew Savchenko gentoo-dev 2013-08-29 08:43:18 UTC
Created attachment 357300 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2013-08-29 08:43:37 UTC
Created attachment 357302 [details]
environment
Comment 3 Andrew Savchenko gentoo-dev 2013-08-29 08:43:52 UTC
Created attachment 357304 [details]
emerge --info
Comment 4 Andrew Savchenko gentoo-dev 2013-08-29 08:56:25 UTC
Build fine with USE="-pdf".
Comment 5 Bob Johnson 2013-11-06 01:22:50 UTC
Same here with app-text/poppler-0.24.3:0/43 on both my x86 and amd64 systems.

Compiles correctly if keyworded to pull in unstable sci-libs/gdal-1.10.0-r1.
Comment 6 quazgar 2013-12-17 11:20:13 UTC
poppler-0.24.3 is stable now, so can this bug be closed?
Comment 7 Aaron W. Swenson gentoo-dev 2014-01-27 00:20:50 UTC
*gdal-1.10.1 (26 Jan 2014)

  26 Jan 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +files/gdal-1.10.0-ruby-makefile.patch, +gdal-1.10.1.ebuild:
  Fix bug 493236: Depend on Perl conditionally. Thanks Nikoli.
  Fix bug 492338: Version bump. Thanks Stephan Litterst.
  Fix bug 483074: Convert to python-r1 to support multiple Pythons. Thanks
                  Ian Stakenvicius.
  Fix bug 466114: Append -lisqlite3 to LIBS. Thanks cmuelle8.
  Fix bug 482888: Modify poppler dependency to have a minimum
                  version (>=0.24.3).
  Fix bug 490048: Add dev-libs/libpcre and dev-libs/libxml2 to RDEPEND
  Fix bug 489224: Add sub-slot operator to trigger rebuild when poppler or
                  Perl is updated. Thanks Nikoli.
  Fix bug 490046: Resolved by sci-libs/gdal version bump.
  Fix bug 474678: Really include the patch this time.