[MacPorts] #59818: openmpi doesn't compile on Mac OS X 10.14.6 and gcc
MacPorts
noreply at macports.org
Fri Dec 6 15:14:45 UTC 2019
#59818: openmpi doesn't compile on Mac OS X 10.14.6 and gcc
--------------------------+---------------------
Reporter: oliviermarti | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: ptrdiff_t | Port: openmpi
--------------------------+---------------------
Mac OS X 10.14.6
XCode 12.2.1
MacPort 2.6.2, fresh install from scratch (all previous MacPort port and
files removed as explained
inhttps://guide.macports.org/#installing.macports.uninstalling)
{{{
sudo port install gcc9 # OK
sudo port select --set gcc mp-gcc9 # OK
sudo port install openmpi-devel-gcc9 +fortran
}}}
Last command fails with
{{{
:info:configure configure: error: ptrdiff_t type is not available, this is
required by C99 standard. Cannot continue
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openmpi
/openmpi-devel-gcc8/work/build" &&
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openmpi
/openmpi-devel-gcc8/work/openmpi-v4.0.x-201905080241-5d4c9b4/configure
--prefix=/opt/local --enable-mpi-cxx FFLAGS='' F77=''
--bindir=/opt/local/libexec/openmpi-devel-gcc8 --libdir=/opt/local/lib
/openmpi-devel-gcc8 --sysconfdir=/opt/local/etc/openmpi-devel-gcc8
--includedir=/opt/local/include/openmpi-devel-gcc8
--datadir=/opt/local/share/openmpi-devel-gcc8
--docdir=/opt/local/share/docdelete --mandir=/opt/local/share/mandelete
--with-hwloc=/opt/local --enable-mpi-fortran
:info:configure Exit code: 1
}}}
I have exactly the same defect with gcc8 and gcc7.
Olivier
--
Ticket URL: <https://trac.macports.org/ticket/59818>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list