[MacPorts] #57793: QGIS3 fails to compile due to mpi.h not found

MacPorts noreply at macports.org
Wed Dec 19 07:22:11 UTC 2018


#57793: QGIS3 fails to compile due to mpi.h not found
-------------------------+--------------------
 Reporter:  aaschwanden  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  QGIS3
-------------------------+--------------------
 Hi,

 I'm trying to update to QGIS 3.4.2 and keep running into


 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-3_4_1/external/mdal/frmts/mdal_hdf5.hpp:15:
 :info:build In file included from /opt/local/include/hdf5.h:22:
 :info:build /opt/local/include/H5public.h:60:13: fatal error: 'mpi.h' file
 not found
 :info:build #   include <mpi.h>
 :info:build             ^~~~~~~
 :info:build Scanning dependencies of target postgresprovider

 }}}

 I'm using OSX Mojave, QT 5.12, and


 {{{
 $ port installed hdf5
 The following ports are currently installed:
   hdf5 @1.10.4_0+cxx+hl+mpich+threadsafe

 }}}

 Switching to the barebones hdf5 port, QGIS compiles, so this indicates
 that the hdf5 variant +mpich is the culprit.

 The workaround is simple: use hdf5 without mpich. Not sure how many users
 use hdf5 +mpich along with qgis3, maybe it's not a big deal.

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


More information about the macports-tickets mailing list