[MacPorts] #42658: `port upgrade outdated` fails with +fortran error for hdf5-18 port
#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
#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
#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 mmoll@…): * cc: sean@… (added) Comment: Adding Sean to the cc list; perhaps this relates to the compiler/mpi group voodoo. -- Ticket URL: <https://trac.macports.org/ticket/42658#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ------------------------+--------------------- Comment (by smithsp@…): In the end I was able to get things to work, I believe by indicating the desired variant of compiler for the hdf5-18 port as suggested by Ryan, which apparently I had not done previously. -- Ticket URL: <https://trac.macports.org/ticket/42658#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42658: hdf5-18: +fortran requires a fortran compiler to be selected ------------------------+--------------------- Reporter: smithsp@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: hdf5-18 | ------------------------+--------------------- Changes (by mmoll@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/42658#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts