Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#69251 closed defect (fixed)

curl @8.6.0_0+http2+ssl: opportunistic use of nghttp3

Reported by: Schamschula (Marius Schamschula) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc:
Port: curl

Description

When building curl @8.6.0_0+http2+ssl+universal under Venture 13.6.4, I get the following error:

Error: Failed to destroot curl: curl-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_net_curl/curl/work/destroot-arm64//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_net_curl/curl/work/destroot-ppc-intel//opt/local/bin and cannot be merged
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_net_curl/curl/main.log for details.

Attachments (1)

main.log (1.1 MB) - added by Schamschula (Marius Schamschula) 3 months ago.

Download all attachments as: .zip

Change History (6)

Changed 3 months ago by Schamschula (Marius Schamschula)

Attachment: main.log added

comment:1 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

How do those two files differ?

comment:2 Changed 3 months ago by Schamschula (Marius Schamschula)

I had installed a number of universal packages to upgrade rust-bootstrap. As I'm no longer working on that, I've cleaned these universal packages.

Thus, it did a port clean on the curl build and reverted to the non-universal build.

comment:3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Status: assignedaccepted
Summary: curl @8.6.0_0+http2+ssl+universal build failscurl @8.6.0_0+http2+ssl: opportunistic use of nghttp3

Ok I see from the main.log what the difference is.

Both have:

:info:configure   HTTP3:            no      (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh3)

But then:

arm64

:info:configure checking for nghttp3_conn_client_new_versioned in -lnghttp3... yes
:info:configure    LIBS:            -lnghttp3 -lnghttp2 -lidn2 -lpsl -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lz

x86_64

:info:configure checking for nghttp3_conn_client_new_versioned in -lnghttp3... no
:info:configure    LIBS:            -lnghttp2 -lidn2 -lpsl -lssl -lcrypto -lssl -lcrypto -lzstd -lzstd -lbrotlidec -lbrotlidec -lz

comment:4 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 9163aed359c30167e975833c4f0100188dd5544e/macports-ports (master):

curl: Only link with nghttp3 with +http3 variant

Closes: #69251

comment:5 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Note: See TracTickets for help on using tickets.