Opened 11 months ago
Last modified 10 months ago
#68859 assigned defect
esmf @8.5.0: error: 'PTHREAD_STACK_MIN' was not declared in this scope
Reported by: | thiagoveloso (Thiago V. dos Santos) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | Dave-Allured (Dave Allured) | |
Port: | esmf |
Description
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.
Attachments (1)
Change History (6)
Changed 11 months ago by thiagoveloso (Thiago V. dos Santos)
comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to tenomoto |
---|---|
Status: | new → assigned |
comment:2 Changed 11 months ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:3 Changed 11 months ago by Dave-Allured (Dave Allured)
comment:4 Changed 11 months ago by Dave-Allured (Dave Allured)
Please change title: esmf @8.5.0: PTHREAD_STACK_MIN was not declared
comment:5 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | esmf fails to build → esmf @8.5.0: error: 'PTHREAD_STACK_MIN' was not declared in this scope |
---|
Note: See
TracTickets for help on using
tickets.
@thiagoveloso, you are at ESMF 8.5.0 As a first step, please try the next release, 8.6.0. Coincidentally I have a draft portfile for 8.6.0. Please install that and see if it gets through ESMCI_VMKernel.C. Let me know if you have any install questions.
https://github.com/Dave-Allured/macports-ports/blob/esmf.860.6/science/esmf/Portfile
Later in the build, you might run into duplicate LC_RPATH in /opt/local/lib/libnetcdff.7.dylib. This is a known problem which is outside the scope of ESMF. I would like to first get past ESMCI_VMKernel.C.