[MacPorts] #63528: rev-upgrade of hdfeos fails due to its self-conflict (was: installing ncarg, hdfeos problem)

MacPorts noreply at macports.org
Wed Sep 22 16:42:22 UTC 2021


#63528: rev-upgrade of hdfeos fails due to its self-conflict
---------------------+----------------------
  Reporter:  micdob  |      Owner:  tenomoto
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  hdfeos  |
---------------------+----------------------
Changes (by jmroot):

 * owner:  (none) => tenomoto
 * status:  new => assigned
 * port:  ncarg => hdfeos


Old description:

> Hi, I try to install ncarg and have a cycle of errors as following:
>
> **STEP 1:** sudo port install ncarg\\
>
> Computing dependencies for ncarg
> --->  Cleaning ncarg
> --->  Scanning binaries for linking errors
> --->  Found 2 broken files, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: hdfeos @2.20
> Continue? [Y/n]: Y
> --->  Computing dependencies for hdfeos
> --->  Cleaning hdfeos
> --->  Scanning binaries for linking errors
> --->  Found 2 broken files, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> --->  Rebuilding in order
>      hdfeos @2.20_0
> --->  Computing dependencies for hdfeos
> --->  Fetching distfiles for hdfeos
> --->  Verifying checksums for hdfeos
> --->  Extracting hdfeos
> --->  Applying patches to hdfeos
> --->  Configuring hdfeos
> Error: hdfeos cannot be built while another version of hdfeos is active.
> Error: Please forcibly deactivate the existing copy of hdfeos, e.g. by
> running:
> Error:
> Error:     sudo port -f deactivate hdfeos
> Error:
> Error: Then try again.
> Error: Failed to configure hdfeos: hdfeos is active
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdfeos/hdfeos/main.log
> for details.
> Error: rev-upgrade failed: Error rebuilding hdfeos
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
>
> **STEP 2:** sudo port -f deactivate hdfeos\\
>
> --->  Unable to deactivate hdfeos @2.20_0, the following ports depend on
> it:
> --->    ncarg @6.6.2_7+accelerate+gfortran
> Warning: Deactivate forced.  Proceeding despite dependencies.
> --->  Deactivating hdfeos @2.20_0
> --->  Cleaning hdfeos
>
> And then STEP 1 again with the same result. Could you please advise on me
> how to get out of this cycle and install ncarg?
>
> Best regards
> Mikhail

New description:

 Hi, I try to install ncarg and have a cycle of errors as following:

 **STEP 1:** sudo port install ncarg\\
 {{{
 Computing dependencies for ncarg
 --->  Cleaning ncarg
 --->  Scanning binaries for linking errors
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: hdfeos @2.20
 Continue? [Y/n]: Y
 --->  Computing dependencies for hdfeos
 --->  Cleaning hdfeos
 --->  Scanning binaries for linking errors
 --->  Found 2 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 --->  Rebuilding in order
      hdfeos @2.20_0
 --->  Computing dependencies for hdfeos
 --->  Fetching distfiles for hdfeos
 --->  Verifying checksums for hdfeos
 --->  Extracting hdfeos
 --->  Applying patches to hdfeos
 --->  Configuring hdfeos
 Error: hdfeos cannot be built while another version of hdfeos is active.
 Error: Please forcibly deactivate the existing copy of hdfeos, e.g. by
 running:
 Error:
 Error:     sudo port -f deactivate hdfeos
 Error:
 Error: Then try again.
 Error: Failed to configure hdfeos: hdfeos is active
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdfeos/hdfeos/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding hdfeos
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}
 **STEP 2:** sudo port -f deactivate hdfeos\\
 {{{
 --->  Unable to deactivate hdfeos @2.20_0, the following ports depend on
 it:
 --->    ncarg @6.6.2_7+accelerate+gfortran
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating hdfeos @2.20_0
 --->  Cleaning hdfeos
 }}}
 And then STEP 1 again with the same result. Could you please advise on me
 how to get out of this cycle and install ncarg?

 Best regards
 Mikhail

--

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


More information about the macports-tickets mailing list