Opened 7 years ago
Closed 7 years ago
#55083 closed defect (fixed)
gdal 2.2.1 fails to build, with +openjpeg variant due to openjpeg version being > 2.2
Reported by: | ajmas (Andre-John Mas) | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | gdal |
Description (last modified by mf2k (Frank Schima))
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: #54840)
Change History (6)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Milestone: | MacPorts Future |
---|
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | gdal openjpeg removed |
---|---|
Owner: | set to Veence |
Status: | new → assigned |
In the future, please Cc the port maintainers (port info --maintainers gdal
), if any.
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 Changed 7 years ago by kencu (Ken)
I'm with you. OpenJPEG updates should be no more than an annual event, IMHO.
comment:5 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:6 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The Milestone field is for use by Macports team members only, please do not set it.