[MacPorts] #56972: ncarg 6.5.0 install problems
MacPorts
noreply at macports.org
Tue Aug 14 16:23:46 UTC 2018
#56972: ncarg 6.5.0 install problems
-------------------------+--------------------------
Reporter: basmac | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: ncarg 6.5.0 | Port: ncarg netcdf
-------------------------+--------------------------
{{{
ncarg install or upgrade has issues for 6.5.0.
Currently it seems to be installed, but then gets into a binary install
check loop -
bash-3.2# port installed|grep ncar
ncarg @6.5.0_0+accelerate+gcc7 (active)
rangs-gshhs-ncarg @19990317_0 (active)
bash-3.2# ls -l /opt/local/bin/ncl
-rwxr-xr-x 1 root wheel 10536800 Aug 13 14:22 /opt/local/bin/ncl
bash-3.2# grep rev /Publicmac/macports
port rev-upgrade
bash-3.2# port rev-upgrade
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: n
bash-3.2#
On a mac with 6.4.0 installed
bash-3.2# port activate ncarg
---> Computing dependencies for ncarg
---> Activating ncarg @6.4.0_9+gcc7
---> Cleaning ncarg
bash-3.2# port clean ncarg
---> Cleaning ncarg
bash-3.2# port upgrade ncarg
---> Computing dependencies for ncarg
---> Fetching archive for ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
https://packages.macports.org/ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
http://sea.us.packages.macports.org/macports/packages/ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Error: ncarg cannot be built while another version of ncarg is active.
Error: Please forcibly deactivate the existing copy of ncarg, e.g. by
running:
Error:
Error: sudo port -f deactivate ncarg
Error:
Error: Then try again.
Error: Failed to configure ncarg: ncarg is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2# port -f deactivate ncarg
---> Deactivating ncarg @6.4.0_9+gcc7
---> Cleaning ncarg
bash-3.2# port upgrade ncarg
---> Computing dependencies for ncarg
---> Configuring ncarg
Error: Install hdf5 +gcc7
Error: Failed to configure ncarg: hdf5 +gcc7 not installed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2#
but forcing the install by hand
bash-3.2# port install hdf5 +gcc7
---> Computing dependencies for hdf5
---> Fetching archive for hdf5
---> Attempting to fetch hdf5-1.10.2_0+cxx+gcc7+hl.darwin_17.x86_64.tbz2
from https://packages.macports.org/hdf5
---> Attempting to fetch hdf5-1.10.2_0+cxx+gcc7+hl.darwin_17.x86_64.tbz2
from http://ywg.ca.packages.macports.org/mirror/macports/packages/hdf5
---> Attempting to fetch hdf5-1.10.2_0+cxx+gcc7+hl.darwin_17.x86_64.tbz2
from http://sea.us.packages.macports.org/macports/packages/hdf5
---> Fetching distfiles for hdf5
---> Attempting to fetch hdf5-1.10.2.tar.bz2 from
https://distfiles.macports.org/hdf5
---> Verifying checksums for hdf5
---> Extracting hdf5
---> Applying patches to hdf5
---> Configuring hdf5
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/tools/src/misc/h5cc
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/c++/src/h5c++
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/src/libhdf5.settings
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/fortran/src/h5fc
Warning: reinplace s|ccache || didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/tools/src/misc/h5cc
Warning: reinplace s|ccache || didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.10.2/c++/src/h5c++
---> Building hdf5
---> Staging hdf5 into destroot
---> Installing hdf5 @1.10.2_0+cxx+gcc7+hl
---> Deactivating hdf5 @1.10.2_0+cxx+hl
---> Cleaning hdf5
---> Activating hdf5 @1.10.2_0+cxx+gcc7+hl
---> Cleaning hdf5
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports 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# /opt/local/bin/ncl
bash: /opt/local/bin/ncl: No such file or directory
bash-3.2# port upgrade ncarg
---> Computing dependencies for ncarg
---> Configuring ncarg
Warning: reinplace s|g\\+\\+|/opt/local/bin/h5cc| didn't change anything
in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/ni/src/ncl/yMakefile
Warning: reinplace s| -lquadmath|| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|g++$|/usr/bin/clang++| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|-D__UNIXOS2__|-D__UNIXOS2__ -D__JIRA1530__| didn't
change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|g++$|/usr/bin/clang++| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin_Intel
---> Building ncarg
You then get into an infinite loop
bash-3.2# port rev-upgrade
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: Y
---> Computing dependencies for ncarg
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
ncarg @6.5.0 +accelerate+gcc7
---> Computing dependencies for ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Error: ncarg cannot be built while another version of ncarg is active.
Error: Please forcibly deactivate the existing copy of ncarg, e.g. by
running:
Error:
Error: sudo port -f deactivate ncarg
Error:
Error: Then try again.
Error: Failed to configure ncarg: ncarg is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: rev-upgrade failed: Error rebuilding ncarg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2# port uninstall ncarg
The following versions of ncarg are currently installed:
1) ncarg @6.4.0_9+gcc7
2) ncarg @6.5.0_0+accelerate+gcc7 (active)
Enter option(s) [1-2/all]: 1
---> Uninstalling ncarg @6.4.0_9+gcc7
bash-3.2# ls -l /opt/local/bin/ncl
-rwxr-xr-x 1 root wheel 10536800 Aug 13 14:22 /opt/local/bin/ncl
bash-3.2# /opt/local/bin/ncl
Copyright (C) 1995-2018 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.5.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Currently trying on another mac, by uninstalled 6.4.0 first, you get the
same loop that it keeps wanting to deactivate first -
bash-3.2# port rev-upgrade
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: n
bash-3.2# port install ncarg +accelerate+gcc7
---> Computing dependencies for ncarg
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: Y
---> Computing dependencies for ncarg
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
ncarg @6.5.0 +accelerate+gcc7
---> Computing dependencies for ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Error: ncarg cannot be built while another version of ncarg is active.
Error: Please forcibly deactivate the existing copy of ncarg, e.g. by
running:
Error:
Error: sudo port -f deactivate ncarg
Error:
Error: Then try again.
Error: Failed to configure ncarg: ncarg is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: rev-upgrade failed: Error rebuilding ncarg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2# port -f deactivate ncarg
---> Deactivating ncarg @6.5.0_0+accelerate+gcc7
---> Cleaning ncarg
bash-3.2# port install ncarg +accelerate+gcc7
---> Computing dependencies for ncarg
---> Activating ncarg @6.5.0_0+accelerate+gcc7
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: Y
---> Computing dependencies for ncarg
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
ncarg @6.5.0 +accelerate+gcc7
---> Computing dependencies for ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Error: ncarg cannot be built while another version of ncarg is active.
Error: Please forcibly deactivate the existing copy of ncarg, e.g. by
running:
Error:
Error: sudo port -f deactivate ncarg
Error:
Error: Then try again.
Error: Failed to configure ncarg: ncarg is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: rev-upgrade failed: Error rebuilding ncarg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2# port uninstall ncarg
---> Deactivating ncarg @6.5.0_0+accelerate+gcc7
---> Cleaning ncarg
---> Uninstalling ncarg @6.5.0_0+accelerate+gcc7
---> Cleaning ncarg
port clean ncarg
bash-3.2# port clean ncarg
---> Cleaning ncarg
bash-3.2# port install ncarg +accelerate+gcc7
---> Computing dependencies for ncarg
---> Fetching archive for ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
https://packages.macports.org/ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/ncarg
---> Attempting to fetch
ncarg-6.5.0_0+accelerate+gcc7.darwin_17.x86_64.tbz2 from
http://sea.us.packages.macports.org/macports/packages/ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Warning: reinplace s|g\\+\\+|/opt/local/bin/h5cc| didn't change anything
in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/ni/src/ncl/yMakefile
Warning: reinplace s| -lquadmath|| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|g++$|/usr/bin/clang++| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|-D__UNIXOS2__|-D__UNIXOS2__ -D__JIRA1530__| didn't
change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin
Warning: reinplace s|g++$|/usr/bin/clang++| didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.5.0/config/Darwin_Intel
---> Building ncarg
---> Staging ncarg into destroot
---> Installing ncarg @6.5.0_0+accelerate+gcc7
---> Activating ncarg @6.5.0_0+accelerate+gcc7
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: Y
---> Computing dependencies for ncarg
---> Cleaning ncarg
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
ncarg @6.5.0 +accelerate+gcc7
---> Computing dependencies for ncarg
---> Fetching distfiles for ncarg
---> Verifying checksums for ncarg
---> Extracting ncarg
---> Applying patches to ncarg
---> Configuring ncarg
Error: ncarg cannot be built while another version of ncarg is active.
Error: Please forcibly deactivate the existing copy of ncarg, e.g. by
running:
Error:
Error: sudo port -f deactivate ncarg
Error:
Error: Then try again.
Error: Failed to configure ncarg: ncarg is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ncarg/ncarg/main.log
for details.
Error: rev-upgrade failed: Error rebuilding ncarg
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
bash-3.2# port installed|grep ncar
ncarg @6.5.0_0+accelerate+gcc7 (active)
rangs-gshhs-ncarg @19990317_0 (active)
bash-3.2# port rev-upgrade
---> Scanning binaries for linking errors
---> No broken files found.
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ncarg @6.5.0+accelerate+gcc7
Continue? [Y/n]: n
bash-3.2#
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56972>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list