[MacPorts] #54560: ncview and hdf5 install loop

MacPorts noreply at macports.org
Wed Aug 2 23:40:55 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  |
---------------------------+-----------------
Description changed by ryandesign:

Old description:

> {{{
> on El Cap, no issue on Sierra for same installs, get infinite loop on
> ncview install/update, requests hdf5 deactivate, then keeps requesting it
> -
>
> 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 clean ncview
> --->  Cleaning ncview
> bash-3.2# port install ncview
> --->  Computing dependencies for ncview
> --->  Cleaning ncview
> --->  Scanning binaries for linking errors
> --->  Found 165 broken files, matching files to ports
> --->  Found 12 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
>  ncview @2.1.7
>  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 ncview
> --->  Cleaning ncview
> --->  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
> --->  Found 2 broken files, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> --->  Rebuilding in order
>      ncview @2.1.7
> --->  Computing dependencies for ncview
> --->  Fetching distfiles for ncview
> --->  Verifying checksums for ncview
> --->  Extracting ncview
> --->  Applying patches to 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: rev-upgrade failed: Error rebuilding ncview
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> --->  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#
>
> }}}

New description:

 on El Cap, no issue on Sierra for same installs, get infinite loop on
 ncview install/update, requests hdf5 deactivate, then keeps requesting it
 -

 {{{
 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 clean ncview
 --->  Cleaning ncview
 bash-3.2# port install ncview
 --->  Computing dependencies for ncview
 --->  Cleaning ncview
 --->  Scanning binaries for linking errors
 --->  Found 165 broken files, matching files to ports
 --->  Found 12 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
  ncview @2.1.7
  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 ncview
 --->  Cleaning ncview
 --->  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
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      ncview @2.1.7
 --->  Computing dependencies for ncview
 --->  Fetching distfiles for ncview
 --->  Verifying checksums for ncview
 --->  Extracting ncview
 --->  Applying patches to 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: rev-upgrade failed: Error rebuilding ncview
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 --->  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:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list