[MacPorts] #67273: hdf5: either make +fortran a default or make it a standalone port?

MacPorts noreply at macports.org
Thu Apr 20 17:17:37 UTC 2023


#67273: hdf5: either make +fortran a default or make it a standalone port?
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  eborisch
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  hdf5
--------------------------+----------------------
 I wanna make a port for {{{h5fortran}}}, and it requires HDF5 to be
 installed with Fortran support. It is not optional.
 {{{
 --->  Extracting h5fortran-22273ef9886e35af5b7bf1c59fca92b791da5989.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work"
 && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/h5fortran
 /h5fortran-22273ef9886e35af5b7bf1c59fca92b791da5989.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -
 --->  Configuring h5fortran
 Error: Failed to configure h5fortran: hdf5 must be installed with
 +fortran+szip.
 Error: See
 /opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/main.log
 for details.
 }}}
 Using active_variants solves the problem on a user level, but will not let
 CI pass: it will just fail, since the needed variant is not default.
 Could we solve this problem somehow?

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


More information about the macports-tickets mailing list