[MacPorts] #42460: gnudatalanguage fails to build
#42460: gnudatalanguage fails to build --------------------------+-------------------------------- Reporter: pclaplante@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gnudatalanguage --------------------------+-------------------------------- When I try to install gnudatalanguage, the build fails. I am running Mavericks 10.9.1. Inspecting the log file says that the error is that it cannot find openmpi from hdf5: {{{ :info:build In file included from /opt/local/include/hdf5.h:24: :info:build /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found :info:build # include <mpi.h> :info:build ^ }}} I have hdf5-18 installed with the +openmpi variant, which I would like to keep for other applications. I think the problem stems from the fact that openmpi include files are in the /opt/local/include/openmpi-mp/ subdirectory. Is there some work around for this? -- Ticket URL: <https://trac.macports.org/ticket/42460> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+----------------------- Reporter: pclaplante@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnudatalanguage | ------------------------------+----------------------- Changes (by sean@…): * owner: macports-tickets@… => takeshi@… Comment: Looks like the port needs to be updated to use the mpi port group. I can try to help if takeshi would like. -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+----------------------- Reporter: pclaplante@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnudatalanguage | ------------------------------+----------------------- Comment (by takeshi@…): Sean, I need your help. gnudatalanguage does not build with hdf5-18 +openmpi. Setting {{{ mpi.setup -openmpi -openmpi_devel }}} does not seem to be enough to stop port configure +openmpi. Takeshi -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+---------------------- Reporter: pclaplante@… | Owner: sean@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnudatalanguage | ------------------------------+---------------------- Changes (by sean@…): * owner: takeshi@… => sean@… * status: new => assigned Comment: This is curious. So, mpi.setup takes out the openmpi variants **from gnudatalanguage** so it ignores `+openmpi`. `netcdf-cxx`, `hdf5-18`, and other mpi ports, however, see `+openmpi` and try to use that. I think the easiest thing to do here is exit early and warn the user about the incompatibility. I'll see if I can get that to work. -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+-------------------- Reporter: pclaplante@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: gnudatalanguage | ------------------------------+-------------------- Changes (by sean@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r121954. -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+-------------------- Reporter: pclaplante@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: gnudatalanguage | ------------------------------+-------------------- Comment (by sean@…): Thanks for finding this Takeshi! -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42460: gnudatalanguage fails to build ------------------------------+-------------------- Reporter: pclaplante@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: gnudatalanguage | ------------------------------+-------------------- Comment (by takeshi@…): Sean, thank you for fixing PortGroup mpi. -- Ticket URL: <https://trac.macports.org/ticket/42460#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts