#61654 closed defect (fixed)
curl +universal: curl-config differs due to opportunistic use of zstd
Reported by: | lyssdod (Alex R) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | curl |
Description
port -d install curl +ssl+universal
fails due to curl-config
being different. logs are attached
Attachments (1)
Change History (10)
Changed 4 years ago by lyssdod (Alex R)
Attachment: | install_log added |
---|
comment:1 Changed 4 years ago by kencu (Ken)
This should work. Please try this first:
sudo port clean curl sudo port -v install curl +universal
and post back the outcome
(as +ssl
is the default, I didn't add that to my build line, but feel free as it makes no difference either way)
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to ryandesign |
---|---|
Port: | curl added |
Status: | new → assigned |
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Agreed, this log was from an unclean build attempt (log contains lines saying Skipping completed
) so cleaning and trying again will either install successfully or will generate a log showing what the real problem is; if so, please attach it.
comment:4 Changed 4 years ago by lyssdod (Alex R)
This can be closed now. Upon cleaner inspection of the log, it turned out that i386 curl variant was linked to zstd, and x86_64 wasn't, thus causing curl-config script mismatch (no idea if they were to merge into universal/fat binary later). Reinstalling zstd and bunch of other stuff as +universal
has solved the issue. Thank you Ryan!
comment:5 Changed 4 years ago by kencu (Ken)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
you're welcome.
comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Summary: | curl-config differs while trying to install +universal → curl +universal: curl-config differs due to opportunistic use of zstd |
Thanks for the additional info. So the bug is that curl links with zstd but does not declare a dependency on it. If it had declared that dependency, MacPorts would have reinstalled zstd universal for you and you would not have experienced this problem.
comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
sudo port -d install curl +ssl+universal