[MacPorts] #57119: mpich @3.2.1 : Incompatible Fortran and C Object File Types

MacPorts noreply at macports.org
Mon Sep 10 20:11:33 UTC 2018


#57119: mpich @3.2.1 : Incompatible Fortran and C Object File Types
----------------------+--------------------
 Reporter:  lzkelley  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.3
 Keywords:            |       Port:  mpich
----------------------+--------------------
 MacPorts 2.5.3
 macOS 10.12.6

 I'm trying to install mpich, and get an incompatibility error during the
 `Configuring mpich-default` step (log attached):

 {{{
 :info:configure checking whether Fortran 77 and C objects are
 compatible... no
 :info:configure checking for file... file
 :info:configure configure: error: ****  Incompatible Fortran and C Object
 File Types!  ****
 :info:configure F77 Object File Type produced by "/opt/local/bin/gfortran-
 mp-7  -pipe -m64" is : : cannot open `' (No such file or directory).
 :info:configure  C  Object File Type produced by "/usr/bin/clang  -pipe
 -arch x86_64  -O2" is : : Mach-O 64-bit object x86_64.
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich
 /mpich-default/work/mpich-3.2.1-x86_64" && ./configure --prefix=/opt/local
 --disable-dependency-tracking --disable-dependency-tracking --disable-
 silent-rules --enable-base-cache --enable-cache --enable-cxx --enable-
 fast=O2 --enable-shared --enable-smpcoll --with-device=ch3:nemesis --with-
 pm=hydra --with-thread-package=posix --enable-versioning F90FLAGS=''
 F90='' --enable-timer-type=mach_absolute_time --libdir=/opt/local/lib
 /mpich-mp --sysconfdir=/opt/local/etc/mpich-mp --program-suffix=-mpich-mp
 --includedir=/opt/local/include/mpich-mp MPICHLIB_CFLAGS="$CFLAGS"
 CFLAGS="" MPICHLIB_CPPFLAGS="$CPPFLAGS" CPPFLAGS=""
 MPICHLIB_CXXFLAGS="$CXXFLAGS" CXXFLAGS="" MPICHLIB_FFLAGS="$FFLAGS"
 FFLAGS="" MPICHLIB_FCFLAGS="$FCFLAGS" FCFLAGS="" --enable-fortran
 --disable-dependency-tracking
 :info:configure Exit code: 1
 }}}

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


More information about the macports-tickets mailing list