Opened 11 years ago

Closed 11 years ago

#41030 closed defect (wontfix)

petsc: hdf5-18 is installed without +fortran

Reported by: davydden@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: mamoll (Mark Moll)
Port: petsc

Description

I have the following ports installed (10.9, Xcode 5.0):

sudo port install openmpi +gcc48
sudo port install atlas +clang

On invoking:

sudo port install petsc +atlas +openmpi

one gets:

Error: org.macports.archivefetch for port petsc returned: hdf5-18 must be installed with +fortran.

This is not the case if hdf5-18 is already installed via:

sudo port install hdf5-18 +fortran +openmpi

In such a case petsc compiles fine.

Change History (1)

comment:1 Changed 11 years ago by mamoll (Mark Moll)

Resolution: wontfix
Status: newclosed

"port" can check whether a dependency is installed with a certain variant enabled, but can't enable those variants itself when installing dependencies. This is known limitation of macports (one of the oldest open bug reports is about exactly this problem: #126).

Note: See TracTickets for help on using tickets.