[MacPorts] #62461: When a port is activated as a dependency of another port, the wrong version is used
MacPorts
noreply at macports.org
Wed Mar 17 11:30:52 UTC 2021
#62461: When a port is activated as a dependency of another port, the wrong version
is used
-------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.99
Resolution: | Keywords:
Port: |
-------------------------+--------------------
Changes (by ryandesign):
* cc: jmroot (added)
Comment:
Looks like this got fixed in [d2d987eb4d8daa9192fe621c013dcbb2d2450499
/macports-base] (thanks, Josh):
{{{
$ sudo port -f deact python39 paracode
---> Deactivating paracode @2.8_1
---> Cleaning paracode
---> Unable to deactivate python39 @3.9.2_1+universal, the following
ports depend on it:
[snip]
Warning: Deactivate forced. Proceeding despite dependencies.
---> Deactivating python39 @3.9.2_1+universal
---> Cleaning python39
}}}
{{{
$ sudo port act paracode
---> Computing dependencies for paracode
---> Dependencies to be installed: python39
Portfile changed since last build; discarding previous state.
---> Fetching archive for python39
---> Attempting to fetch python39-3.9.2_1.darwin_17.x86_64.tbz2 from
https://packages.macports.org/python39
---> Attempting to fetch python39-3.9.2_1.darwin_17.x86_64.tbz2.rmd160
from https://packages.macports.org/python39
---> Installing python39 @3.9.2_1
---> Activating python39 @3.9.2_1
---> Cleaning python39
---> Activating paracode @2.8_1
---> Cleaning paracode
---> Some of the ports you installed have notes:
python39 has the following notes:
To make this the default Python or Python 3 (i.e., the version run by
the 'python' or 'python3' commands), run one or both of:
sudo port select --set python python39
sudo port select --set python3 python39
}}}
However is is still odd that it picked the non-universal python39 to
download rather than using the universal one I already had installed,
especially since +universal is in my variants.conf.
--
Ticket URL: <https://trac.macports.org/ticket/62461#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list