[MacPorts] #55083: gdal 2.2.1 fails to build, with +openjpeg variant due to openjpeg version being > 2.2
MacPorts
noreply at macports.org
Fri Oct 13 19:28:55 UTC 2017
#55083: gdal 2.2.1 fails to build, with +openjpeg variant due to openjpeg version
being > 2.2
---------------------------+-----------------------------
Reporter: ajmas | Owner:
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: ports | Version: 2.4.2
Keywords: gdal openjpeg | Port: gdal
---------------------------+-----------------------------
Trying to install gdal +openjpeg with the latest update fails to build
since it depends on a version of openjpeg no longer being provide by
MacPorts.
MacPorts provides openjpeg 2.3, while gdal+openjpeg complains that it
needs 2.0, 2.1 or 2.2:
{{{:info:configure configure: error: openjpeg.h not found in
/opt/local/include/openjpeg-2.0 or /opt/local/include/openjpeg-2.1 or
/opt/local/include/openjpeg-2.2}}}
In context:
{{{
:info:configure checking for jpeg12... disabled, libjpeg or libtiff not
internal
:info:configure using libgif from /opt/local.
:info:configure ogdi support disabled.
:info:configure checking for FMEObjects... disabled by user
:info:configure SOSI support disabled.
:info:configure checking for MongoCXX... MongoCXX not found.
:info:configure hdf4 support disabled.
:info:configure hdf5 support disabled.
:info:configure checking for kea-config... no
:info:configure checking for kea... no
:info:configure netCDF support disabled.
:info:configure configure: JasPer (JPEG2000) support disabled.
:info:configure configure: error: openjpeg.h not found in
/opt/local/include/openjpeg-2.0 or /opt/local/include/openjpeg-2.1 or
/opt/local/include/openjpeg-2.2
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.2.1"
&& ./configure --prefix=/opt/local --with-local=/opt/local --with-
libz=/opt/local --without-liblzma --with-png=/opt/local --with-
libtiff=/opt/local --with-geotiff=/opt/local --with-jpeg=/opt/local
--with-gif=/opt/local --with-static-proj4=/opt/local --with-qhull=yes
--without-pg --without-grass --without-libgrass --without-cfitsio
--without-netcdf --without-ogdi --without-fme --without-hdf4 --without-
hdf5 --without-jasper --without-ecw --without-kakadu --without-mrsid
--without-jp2mrsid --without-msg --without-bsb --without-oci --without-
grib --without-mysql --without-ingres --without-xerces --without-odbc
--without-curl --without-sqlite3 --without-spatialite --without-dwgdirect
--without-idb --without-sde --without-geos --without-opencl --without-pam
--without-perl --without-php --without-ruby --without-python --without-
poppler --mandir=/opt/local/share/man --with-libjson-c=internal --with-
openjpeg=/opt/local --with-expat=/opt/local
:info:configure Exit code: 1
:error:configure Failed to configure gdal, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.2.1/config.log
:error:configure Failed to configure gdal: configure failure: command
execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure while executing
:debug:configure "$procedure $targetname"
:error:configure See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log
for details.
}}}
Is there any way to make the gdal+openjpeg dependency more lenient, so it
keeps up to date with the openjpeg updates? I see that gdal+openjpeg was
only just updated in September (see:
https://trac.macports.org/ticket/54840)
--
Ticket URL: <https://trac.macports.org/ticket/55083>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list