[MacPorts] #42658: hdf5-18: +fortran requires a fortran compiler to be selected (was: `port upgrade outdated` fails with +fortran error for hdf5-18 port)
MacPorts
noreply at macports.org
Sat Mar 1 00:56:04 PST 2014
#42658: hdf5-18: +fortran requires a fortran compiler to be selected
------------------------+---------------------
Reporter: smithsp@… | Owner: mmoll@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: hdf5-18 |
------------------------+---------------------
Changes (by ryandesign@…):
* cc: mmoll@… (removed)
* owner: macports-tickets@… => mmoll@…
Old description:
> 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:
New description:
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:
}}}
--
Comment:
The error message is probably correct. In addition to the +fortran
variant, try specifying a fortran compiler variant (they are g95, gcc44,
gcc45, gcc46, gcc47, gcc48, gcc49, gfortran).
--
Ticket URL: <https://trac.macports.org/ticket/42658#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list