[MacPorts] #69135: gmt6 @6.5.0_0+gdal+nonfree+pcre build failure

MacPorts noreply at macports.org
Mon Jan 22 11:19:53 UTC 2024


#69135: gmt6 @6.5.0_0+gdal+nonfree+pcre build failure
---------------------------+----------------------
  Reporter:  dimartino-uc  |      Owner:  remkos
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  gmt6          |
---------------------------+----------------------

Comment (by remkos):

 I hope I can shed some light on this and provide you with a way forward.

 The specific error messages come from the piece of code that is specific
 to the "New Accelerate Framework" that was introduced in Darwin 22.4
 (MacOSX 13.3) and provides lapack to the GMT build.

 The GMT build checks for this Darwin version, and if this is larger or
 equal to 22.4 this snippet of code in gmt_vectior.c is activated.
 Now since the error suggests that `__LAPACK_int` is not defined, it would
 mean that your headers are not compliant with the "New Accelerate
 Framework" that was introduced in MacOS 13.3.
 This likely means that you have not recently updated Xcode or the Xcode
 Command Line Tools. In that case, the header files for the Accelerate
 Framework would be outdated.

 So please check if you are indeed running MacOS 13.3 (Darwin 22.4) or
 later, and that your installation of Xcode or the Xcode Command Line Tools
 is recent.

 I could not replicate your problem on my system (MacOS 14.2.1, Command
 Line Tools 15.1). I also checked if installing the macports lapack package
 made a difference: it did not. The GMT build faithfully took lapack from
 MacOS' Accelerate Framework.

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


More information about the macports-tickets mailing list