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)
Change History (7)
Changed 4 years ago by diekhans (Mark Diekhans)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
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 M1 → curl opportunistically links with libgsasl |
libgsasl support in curl appeared in 7.76.0.
https://github.com/curl/curl/commit/3eebbfe8f34d37c4d68d08277a44ec7aa6bd0889
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
versose output