[MacPorts] #54560: ncview and hdf5 install loop

MacPorts noreply at macports.org
Thu Aug 3 14:56:00 UTC 2017


#54560: ncview and hdf5 install loop
---------------------------+-----------------
  Reporter:  basmac        |      Owner:
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  ncview  hdf5  |
---------------------------+-----------------

Comment (by basmac):

 {{{
 Sorry my added comments don't seem to make it in, so will try again.
 The ncview update will only occur when hdf5-18 is installed. Without it
 the above two port command just loop.
 Here is the log when hdf5-18 is installed

 bash-3.2# port install hdf5-18
 --->  Computing dependencies for hdf5-18
 --->  Fetching archive for hdf5-18
 --->  Attempting to fetch hdf5-18-1.8.18_0+cxx+hl.darwin_15.x86_64.tbz2
 from https://packages.macports.org/hdf5-18
 --->  Attempting to fetch
 hdf5-18-1.8.18_0+cxx+hl.darwin_15.x86_64.tbz2.rmd160 from
 https://packages.macports.org/hdf5-18
 --->  Installing hdf5-18 @1.8.18_0+cxx+hl
 --->  Activating hdf5-18 @1.8.18_0+cxx+hl
 --->  Cleaning hdf5-18
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 bash-3.2# port -ns upgrade --force ncview
 --->  Computing dependencies for ncview
 --->  Configuring ncview
 Error: ncview cannot be built while hdf5 is active.
 Error: Please forcibly deactivate hdf5, e.g. by running:
 Error:
 Error:     sudo port -f deactivate hdf5
 Error:
 Error: Then try again. You can reactivate hdf5 again later.
 Error: Failed to configure ncview: hdf5 is active
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncview/ncview/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 bash-3.2# port -f deactivate hdf5
 --->  Unable to deactivate hdf5 @1.10.1_1+cxx+hl, the following ports
 depend on it:
 --->    wgrib2 @2.0.5_3+gcc6
 --->    grads @2.0.2_13
 --->    grib_api @1.19.0_2+gcc6
 --->    py27-h5py @2.7.0_1
 --->    py27-tables @3.4.2_1
 --->    py34-tables @3.4.2_1
 --->    cdo @1.8.2_0
 --->    nco @4.6.6_2+accelerate
 --->    hdfeos5 @1.15_13
 --->    netcdf @4.4.1.1_0+dap+netcdf4
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating hdf5 @1.10.1_1+cxx+hl
 --->  Cleaning hdf5
 bash-3.2# port -ns upgrade --force ncview
 --->  Computing dependencies for ncview
 --->  Configuring ncview
 --->  Building ncview
 --->  Staging ncview into destroot
 --->  Deactivating ncview @2.1.7_1
 --->  Cleaning ncview
 --->  Uninstalling ncview @2.1.7_1
 --->  Cleaning ncview
 --->  Computing dependencies for ncview
 --->  Installing ncview @2.1.7_1
 --->  Activating ncview @2.1.7_1
 --->  Cleaning ncview
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 163 broken files, matching files to ports
 --->  Found 11 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  py27-tables @3.4.2
  py34-tables @3.4.2
  netcdf @4.4.1.1+dap+netcdf4
  grib_api @1.19.0+gcc6
  libemos @4.4.4+gcc5
  cdo @1.8.2
  nco @4.6.6+accelerate
  wgrib2 @2.0.5+gcc6
  grads @2.0.2
  py27-h5py @2.7.0
  py27-netcdf4 @1.2.9
 Continue? [Y/n]: Y
 --->  Computing dependencies for py27-tables
 --->  Dependencies to be installed: hdf5
 --->  Activating hdf5 @1.10.1_1+cxx+hl
 --->  Cleaning hdf5
 --->  Cleaning py27-tables
 --->  Computing dependencies for py34-tables
 --->  Cleaning py34-tables
 --->  Computing dependencies for netcdf
 --->  Cleaning netcdf
 --->  Computing dependencies for grib_api
 --->  Cleaning grib_api
 --->  Computing dependencies for libemos
 --->  Cleaning libemos
 --->  Computing dependencies for cdo
 --->  Cleaning cdo
 --->  Computing dependencies for nco
 --->  Cleaning nco
 --->  Computing dependencies for wgrib2
 --->  Cleaning wgrib2
 --->  Computing dependencies for grads
 --->  Cleaning grads
 --->  Computing dependencies for py27-h5py
 --->  Cleaning py27-h5py
 --->  Computing dependencies for py27-netcdf4
 --->  Cleaning py27-netcdf4
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  Some of the ports you installed have notes:
   hdf5 has the following notes:
     Mac users may need to set the environment variable
 "HDF5_USE_FILE_LOCKING" to the five-character string "FALSE" when
 accessing network mounted files.  This is an application run-time setting,
 not a configure or build setting.  Otherwise errors such as "unable to
 open file" or "HDF5
     error" may be  encountered.
 bash-3.2#

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54560#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list