[MacPorts] #67596: gdal @3.7.0: opportunistic use of pcre2 (was: Impossible to build GDAL with netcdf)

MacPorts noreply at macports.org
Fri Jun 9 08:44:16 UTC 2023


#67596: gdal @3.7.0: opportunistic use of pcre2
------------------------+----------------------
  Reporter:  news24lor  |      Owner:  Veence
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:  gdal       |
------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => Veence
 * version:   => 2.8.1


Comment:

 It's not a crash; it's a build failure. Looks like whatever port is
 building at the time of this error (maybe gdal, maybe one of its
 dependencies) cannot be built for arm64 and is therefore building for
 x86_64. That may be fine (or you may have requested the universal variant)
 but it also apparently can optionally use pcre2, but we didn't know that,
 so pcre2 is not declared as a dependency of that port. pcre2 is installed
 for arm64 on your computer, but in order to support building this port for
 x86_64, pcre2 will need to be installed universal—for both arm64 and
 x86_64. MacPorts would take care of that automatically if pcre2 were
 listed as a dependency. So please attach the main.log file so we can
 confirm which port needs that change made. (A similar problem happened
 with [ticket:63414 gdal and libheif] some time ago.)

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


More information about the macports-tickets mailing list