Opened 2 years ago

Last modified 2 years ago

#57111 assigned defect

hdf5 @1.10.2: error: Fortran could not compile .f90 files

Reported by: yi-fan-wang Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: hdf5

Description (last modified by ryandesign (Ryan Schmidt))

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.

Attachments (2)

main.log (35.4 KB) - added by yi-fan-wang 2 years ago.
config.log (67.9 KB) - added by yi-fan-wang 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by yi-fan-wang

Attachment: main.log added

Changed 2 years ago by yi-fan-wang

Attachment: config.log added

comment:1 Changed 2 years ago by yi-fan-wang

Port: hdf5 added

comment:2 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Owner: set to mamoll
Status: newassigned
Summary: got error while upgrading hdf5hdf5 @1.10.2: error: Fortran could not compile .f90 files

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).

Note: See TracTickets for help on using tickets.