[MacPorts] #72381: gdal @3.10.3 -- Unable to configure on High Sierra - cmake error - Flow control statements are not properly nested.

MacPorts noreply at macports.org
Mon Apr 21 08:35:01 UTC 2025


#72381: gdal @3.10.3 -- Unable to configure on High Sierra - cmake error - Flow
control statements are not properly nested.
-------------------------------+------------------------
  Reporter:  RobK88            |      Owner:  ryandesign
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.10.5
Resolution:                    |   Keywords:  highsierra
      Port:  gdal cmake expat  |
-------------------------------+------------------------
Changes (by jmroot):

 * status:  new => assigned
 * owner:  (none) => ryandesign
 * port:  gdal => gdal cmake expat
 * cc: michmascguy (removed)
 * cc: mascguy, nilason, Veence (added)


Comment:

 {{{
 :info:configure -- Found LibXml2: /opt/local/lib/libxml2.dylib (found
 version "2.13.6")
 :info:configure CMake Error at /opt/local/lib/cmake/expat-2.6.4/expat-
 config-version.cmake:66 (if):
 :info:configure   Flow control statements are not properly nested.
 :info:configure Call Stack (most recent call first):
 :info:configure   cmake/helpers/CheckDependentLibrariesCommon.cmake:141
 (find_package)
 :info:configure   cmake/helpers/CheckDependentLibraries.cmake:92
 (gdal_check_package)
 :info:configure   gdal.cmake:69 (include)
 :info:configure   CMakeLists.txt:225 (include)
 :info:configure CMake Warning at
 cmake/helpers/CheckDependentLibrariesCommon.cmake:141 (find_package):
 :info:configure   Could not find a configuration file for package "EXPAT"
 that is compatible
 :info:configure   with requested version "".
 :info:configure   The following configuration files were considered but
 not accepted:
 :info:configure     /opt/local/lib/cmake/expat-2.6.4/expat-config.cmake,
 version: unknown
 :info:configure Call Stack (most recent call first):
 :info:configure   cmake/helpers/CheckDependentLibraries.cmake:92
 (gdal_check_package)
 :info:configure   gdal.cmake:69 (include)
 :info:configure   CMakeLists.txt:225 (include)
 :info:configure -- Configuring incomplete, errors occurred!
 }}}

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


More information about the macports-tickets mailing list