[MacPorts] #49810: hdf5 @1.8.16 broken configure with thread safe variant

MacPorts noreply at macports.org
Wed Nov 25 06:58:54 PST 2015


#49810: hdf5 @1.8.16 broken configure with thread safe variant
--------------------------------------+--------------------------------
 Reporter:  dolfimeth@…               |      Owner:  macports-tickets@…
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.3.4
 Keywords:  hdf5, netcdf, threadsafe  |       Port:  hdf5, netcdf
--------------------------------------+--------------------------------
 I think that the latest hdf5 port update broke (at least) the threadsafe
 variant.

 This is the output of the log
 {{{
 checking for thread safe support... configure: error: The thread-safe
 library is incompatible with the high-level library. --disable-hl can be
 used to prevent building the high-level library (recommended).
 Alternatively, --enable-unsupported will allow building the high-level
 library, though this configuration is not supported by The HDF Group.
 }}}

 As advised by the message I added --disable-hl in the Portfile, attached a
 patch.

 The problem is that this will afterwards break netcdf, because the netcdf4
 port (enabled by default) requires the high-level interface that just got
 disabled.

 My solution to that was:
 {{{#!sh
 sudo port deactivate -f netcdf at 4.3.3.1_4+dap+netcdf4
 sudo port install netcdf @4.3.3.1_4+dap-netcdf4
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49810>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list