[MacPorts] #68859: esmf fails to build

MacPorts noreply at macports.org
Fri Dec 8 19:44:24 UTC 2023


#68859: esmf fails to build
--------------------------+--------------------
 Reporter:  thiagoveloso  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  esmf
--------------------------+--------------------
 I am trying to install esfm under macOS Ventura v13.6.1, Xcode v15.0.1 and
 MacPorts 2.8.1.

 The command I tried to use was "sudo port install esmf +gcc13 +mpich"
 since I've installed both HDF5 and NetCDF with the same arguments.

 It *looks* like it is complaining about PTHREAD since the first error
 message mentions it, but the culprit could be something else.

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work/esmf-8.5.0/src/Infrastructure/VM/src/ESMCI_VMKernel.C:
 In function 'int vmkt_create(vmkt_t*, void* (*)(void*), void*, bool,
 size_t)':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work/esmf-8.5.0/src/Infrastructure/VM/src/ESMCI_VMKernel.C:205:36:
 error: 'PTHREAD_STACK_MIN' was not declared in this scope
 :info:build   205 |       << " PTHREAD_STACK_MIN: " << PTHREAD_STACK_MIN
 << " bytes"
 :info:build       |                                    ^~~~~~~~~~~~~~~~~
 }}}

 Any hints on how to overcome this build failure would be much appreciated.
 Complete log file is attached to the message.

-- 
Ticket URL: <https://trac.macports.org/ticket/68859>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list