[MacPorts] #70445: gdal configure fails during port install opencv3 +avx2 +contrib +debug +eigen +gdal +nonfree +opencl +openni +qt5 +tbb +tests +vtk

MacPorts noreply at macports.org
Wed Jul 24 23:01:54 UTC 2024


#70445: gdal configure fails during port install opencv3 +avx2 +contrib +debug
+eigen +gdal +nonfree +opencl +openni +qt5 +tbb +tests +vtk
------------------------------+--------------------
  Reporter:  TheLastLovemark  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:
      Port:  gdal, glib2      |
------------------------------+--------------------

Comment (by mascguy):

 I could be wrong, but this looks like (?) it could be related to `expat`:

 {{{
 333     :info:configure CMake Error at /opt/local/lib/cmake/expat-2.6.2
 /expat-config-version.cmake:66 (if):
 334     :info:configure   Flow control statements are not properly nested.
 335     :info:configure Call Stack (most recent call first):
 336     :info:configure   cmake/helpers/CheckDependentLibraries.cmake:141
 (find_package)
 337     :info:configure   cmake/helpers/CheckDependentLibraries.cmake:359
 (gdal_check_package)
 338     :info:configure   gdal.cmake:266 (include)
 339     :info:configure   CMakeLists.txt:240 (include)
 340     :info:configure CMake Warning at
 cmake/helpers/CheckDependentLibraries.cmake:141 (find_package):
 341     :info:configure   Could not find a configuration file for package
 "EXPAT" that is compatible
 342     :info:configure   with requested version "".
 343     :info:configure   The following configuration files were
 considered but not accepted:
 344     :info:configure     /opt/local/lib/cmake/expat-2.6.2/expat-
 config.cmake, version: unknown
 }}}

 But I'll defer to the `gdal` maintainers.

-- 
Ticket URL: <https://trac.macports.org/ticket/70445#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list