[MacPorts] #68194: hdf5 @1.14.2_0 build failure

MacPorts noreply at macports.org
Thu Sep 21 15:49:45 UTC 2023


#68194: hdf5 @1.14.2_0 build failure
-----------------------+----------------------
  Reporter:  kwolcott  |      Owner:  eborisch
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  hdf5      |
-----------------------+----------------------

Comment (by Dave-Allured):

 Lorenzo (@news24lor), first of all, thank you for testing `hdf5 -fortran`.
 This is excellent information, knowing that the HDF5 1.14.2 core C library
 builds correctly with CLT 15.0.

 Something in your port configuration is responsible for requesting the
 fortran variant when you proceed to add other ports.  I can confirm that
 HDF5 fortran is NOT required to build either `netcdf` OR `netcdf-fortran`.
 At this time I do not have enough Macports experience to be able to trace
 that fortran variant requirement.  From here, I can think of two
 approaches:

 (1) Locate the port configuration that is requesting the fortran variants,
 and disable that request.

 (2) Disable the `-commons,use_dylibs` option in the HDF5 build.  That
 option is found in the HDF5 configuration variable `H5_LDFLAGS` (see log
 file).  I think this can be done directly with portfile commands, without
 needing a new patch file for `configure`.  But once again, I do not have
 enough portfile experience to know how to do that.  Investigate portfile
 commands relating to configure options.

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


More information about the macports-tickets mailing list