[MacPorts] #57111: hdf5 @1.10.2: error: Fortran could not compile .f90 files (was: got error while upgrading hdf5)

MacPorts noreply at macports.org
Sat Sep 8 17:30:20 UTC 2018


#57111: hdf5 @1.10.2: error: Fortran could not compile .f90 files
--------------------------+----------------------
  Reporter:  yi-fan-wang  |      Owner:  mamoll
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.3
Resolution:               |   Keywords:
      Port:  hdf5         |
--------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => mamoll


Old description:

> I get the following error while upgrading hdf5:
>
> Error: Failed to configure hdf5, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/config.log
> Error: Failed to configure hdf5: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdf5/hdf5/main.log
> for details.

New description:

 I get the following error while upgrading hdf5:

 {{{
 Error: Failed to configure hdf5, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/config.log
 Error: Failed to configure hdf5: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdf5/hdf5/main.log
 for details.
 }}}

--

Comment:

 The error I see in the config.log is:

 {{{
 FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
 }}}

 The main.log shows you are using Xcode 8.2.1 on macOS 10.12. Consider
 upgrading to Xcode 9.2 and then reinstalling the cctools and ld64 ports
 (`sudo port install cctools ld64`)—with Xcode 9 or later in place, these
 ports will install themselves as wrappers around Xcode 9's versions of
 those tools, rather than providing their own versions of the tools (which
 are based on Xcode 8.2.1 in the case of ld64-latest and Xcode 8.1 in the
 case of cctools and are therefore outdated at this point; unfortunately
 Apple has not released the source code of these parts of newer versions of
 Xcode so we can't update the ports with newer versions yet).

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


More information about the macports-tickets mailing list