Opened 10 years ago

Closed 8 years ago

#46806 closed defect (wontfix)

gdal 1.11.1_3 vs. poppler 0.31.0

Reported by: Schamschula (Marius Schamschula) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: chris.waigl@…
Port: gdal

Description

gdal @1.11.1_3 +poppler (in my case gdal @1.11.1_3+curl+expat+geos+hdf4+hdf5+jasper+lzma+mysql5+netcdf+poppler+sqlite3) fails to build against poppler @0.31.0_0. See attached log file.

Attachments (2)

main.log (2.4 MB) - added by Schamschula (Marius Schamschula) 10 years ago.
main.2.log (2.4 MB) - added by stanimura 10 years ago.
Another main.log

Change History (8)

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: vince@… removed
Owner: changed from macports-tickets@… to vince@…

Changed 10 years ago by stanimura

Attachment: main.2.log added

Another main.log

comment:2 Changed 10 years ago by stanimura

The failure was occurred with gdal +poppler also for me, but the reporter's main.log is different from my case. His main.log seems to be involved in mysql.

$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.11.1 && sudo make
[snip]
pdfdataset.cpp:114:17: error: no matching constructor for initialization of 'SplashOutputDev'
                SplashOutputDev(colorModeA, bitmapRowPadA,
                ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/poppler/SplashOutputDev.h:171:3: note: candidate constructor not viable: no known
      conversion from 'GBool' (aka 'bool') to 'SplashThinLineMode' for 6th argument
  SplashOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
  ^
/opt/local/include/poppler/SplashOutputDev.h:167:7: note: candidate constructor
      (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
class SplashOutputDev: public OutputDev {
      ^
1 error generated.
make[2]: *** [../o/pdfdataset.lo] Error 1
make[1]: *** [pdf-install-obj] Error 2
make: *** [frmts-target] Error 2

Another main.log generated with the the simple variants was uploaded.

$ port installed poppler |tail -1
  poppler @0.31.0_0 (active)
$ sudo port install gdal +poppler

Without poppler variant, it works.

$ port installed gdal | tail -1
  gdal @1.11.1_3+curl+ecw+expat+geos+grib+hdf4+hdf5+lzma+netcdf+odbc+opencl+perf+postgresql93+spatialite+sqlite3+xerces (active)

comment:3 Changed 9 years ago by chris.waigl@…

Cc: chris.waigl@… added

Cc Me!

comment:4 Changed 9 years ago by chris.waigl@…

I'm seeing the same issue as in comment:2 with the following version:

poppler @0.33.0_0

The variant I wanted was:

gdal @1.11.2_2+expat+framework+geos+hdf4+hdf5+poppler+jasper (active)

(There is a separate issue affecting GDAL with HDF5. I had to remove both to get GDAL to install.)

Port is version 2.3.3, on OS X 10.10.3.

comment:5 Changed 9 years ago by Veence (Vincent)

This one at least I could investigate. Has poppler been upgraded since?

comment:6 Changed 8 years ago by Veence (Vincent)

Resolution: wontfix
Status: newclosed

Well, timed out I suppose. :P Closing.

Note: See TracTickets for help on using tickets.