[MacPorts] #69145: curl @8.5.0+darwinssl: Port install reports that variant clashes with gnutls and exits

MacPorts noreply at macports.org
Mon Feb 5 13:59:58 UTC 2024


#69145: curl @8.5.0+darwinssl: Port install reports that variant clashes with
gnutls and exits
---------------------------+------------------------
  Reporter:  FaradayLight  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  curl          |
---------------------------+------------------------

Comment (by FaradayLight):

 This is the current build:

 {{{
 MacPortsVersion:        2.9.1
 XcodeVersion:           15.2
 XcodeBuild:             15C500b
 XcodeSDKVersion:        14.2
 ProductName:            macOS
 ProductVersion:         14.3
 BuildVersion:           23D56
 PlatformArchitecture:   arm64e
 }}}

 If I run the following (NOTE: gnutls is already installed at this stage
 from earlier in an installation list), curl will install:

 {{{
 sudo port install curl +darwinssl +http2 +openldap
 }}}

 This is what port then reports is installed:

 {{{
   gnutls @3.7.10_0 (active)
   curl @8.6.0_1+darwinssl+http2+openldap (active)
 }}}

 However, if attempt the following:
 {{{
 sudo port install curl +darwinssl +http2 +openldap +http3
 }}}

 Then I will get the following:
 {{{
 Error: curl: Variant darwinssl conflicts with gnutls
 Error: Unable to open port curl: Error evaluating variants
 }}}

 No main.log instance is created.

 This prevents the install of curl if both darwinssl and http3 variants are
 selected.

 I have no specific need for the http3 variant I was just going to try it
 out. I have been able to install the darwinssl variant of curl so that
 addresses my immediate needs and the purpose of the ticket. However in the
 case where there is a requirement for both variants curl will not install.
 It is this latter point that I was referring to in my comment dated
 2024-01-25.

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


More information about the macports-tickets mailing list