#42658: `port upgrade outdated` fails with +fortran error for hdf5-18 port -----------------------+-------------------------------- Reporter: smithsp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: hdf5-18 -----------------------+-------------------------------- I issued the command `port upgrade outdated` At some point it failed, with the error: `Error: +fortran requires a fortran compiler to be selected Error: Unable to open port: ` Turning on debugging yielded: <snip> DEBUG: No need to upgrade! mpi_select 0.0_1 >= mpi_select 0.0_1 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: hdf5-18 1.8.12_1 exists in the ports tree DEBUG: hdf5-18 1.8.11_0 +cxx+fortran+openmpi is the latest installed DEBUG: no version of hdf5-18 is active DEBUG: Merging existing variants '+cxx+fortran+openmpi' into variants DEBUG: new fully merged portvariants: openmpi + fortran + cxx + DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/hdf5-18 DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf Error: +fortran requires a fortran compiler to be selected DEBUG: while executing "source Portfile" invoked from within "$workername eval source Portfile" (procedure "mportopen" line 47) invoked from within "mportopen $porturl [array get interp_options] [array get variations]" Error: Unable to open port: -- Ticket URL: <https://trac.macports.org/ticket/42658> MacPorts <http://www.macports.org/> Ports system for OS X