Opened 4 years ago

Closed 4 years ago

#62666 closed defect (fixed)

curl opportunistically links with libgsasl

Reported by: diekhans (Mark Diekhans) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: curl

Description

Several ports that do not yet work on arm64 require curl, however curl +universal does not build.

sudo port install curl +ssl+universal
...

Error: Failed to destroot curl: curl-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-arm64//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/work/destroot-ppc-intel//opt/local/bin and cannot be merged

Attachments (3)

curl.log (799.3 KB) - added by diekhans (Mark Diekhans) 4 years ago.
versose output
curl-config.arm64 (6.4 KB) - added by diekhans (Mark Diekhans) 4 years ago.
curl-config arm64
curl-config.ppc-intel (6.4 KB) - added by diekhans (Mark Diekhans) 4 years ago.
curl-config ppc-intel

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by diekhans (Mark Diekhans)

Attachment: curl.log added

versose output

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: set to ryandesign
Status: newaccepted

Could you please attach the two curl-config files so that we can see how they differ?

Changed 4 years ago by diekhans (Mark Diekhans)

Attachment: curl-config.arm64 added

curl-config arm64

Changed 4 years ago by diekhans (Mark Diekhans)

Attachment: curl-config.ppc-intel added

curl-config ppc-intel

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Ok so the difference is that on arm64 it found libgsasl and on x86_64 it didn't (perhaps because libgsasl was not installed universal).

So I should either add a libgsasl dependency to the port, either always or in a variant, or I should disable libgsasl functionality in the port.

You can work around this for now by using trace mode. (sudo port clean curl and then sudo port -t install curl +universal)

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

Keywords: universal bigsur removed
Summary: curl +universal errors on big sur M1curl opportunistically links with libgsasl

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

Resolution: fixed
Status: acceptedclosed

In ea70801e9b5bb9f38125c1cb70889b6ba261f110/macports-ports (master):

curl: Update to 7.76.1 and add gsasl variant

Closes: #62666

Note: See TracTickets for help on using tickets.