[MacPorts] #39785: netcdf fails to index

MacPorts noreply at macports.org
Thu Jul 18 04:03:57 PDT 2013


#39785: netcdf fails to index
---------------------+-----------------------
  Reporter:  cal@…   |      Owner:  takeshi@…
      Type:  defect  |     Status:  reopened
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.3
Resolution:          |   Keywords:
      Port:  netcdf  |
---------------------+-----------------------

Comment (by takeshi@…):

 I wrapped the call to grep with active_variants command.

 {{{
 if {[variant_isset netcdf4]} {
     if {[active_variants hdf5-18 hdf5-18 ""]} {
         set hdf5cc [exec grep "C Compiler" ${prefix}/lib/libhdf5.settings
 | awk {BEGIN{FS="/"}{print $NF}}]
  ....
     }
 }
 }}}

 I get the following error with hdf5-18 deactivated and issue
 {{{
 $ port info netcdf +netcdf4
 Error: Unable to open port: Registry error: hdf5-18 not registered as
 installed & active.
 }}}
 Is this the expected error?

-- 
Ticket URL: <https://trac.macports.org/ticket/39785#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list