[MacPorts] #70910: port install not using variants given on command line
MacPorts
noreply at macports.org
Wed Sep 25 03:29:41 UTC 2024
#70910: port install not using variants given on command line
---------------------------+---------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.1
Resolution: | Keywords: sequoia
Port: |
---------------------------+---------------------
Comment (by ryandesign):
Replying to [ticket:70910 ShadSterling]:
> I'm running `port clean curl c-ares; port install curl
+ares+brotli+gsasl+http2+idn+psl+sftp_scp+ssl+universal+zstd`
Normally you would use `sudo` before both of these commands. Are you using
`sudo` and just forgot to mention it? Or are you using a root shell? Or is
your MacPorts installed without root privileges?
> And getting
> {{{
> ---> Cleaning curl
> ---> Cleaning c-ares
> Error: Requested variants "+brotli+http2+idn+psl+ssl+universal+zstd" do
not match those the build was started with:
"+ares+brotli+gsasl+http2+idn+psl+sftp_scp+ssl+universal+zstd".
> Error: Please use the same variants again, or run 'port clean curl'
first to remove the existing partially completed build.
> Error: Unable to execute port curl: upgrade c-ares failed
> }}}
I can't reproduce this problem on macOS 12.
Weird that it's complaining about curl's variants but then claims it's
c-ares that failed to upgrade. Is c-ares already installed? If so, is it
installed with the universal variant? Is it outdated?
--
Ticket URL: <https://trac.macports.org/ticket/70910#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list