Opened 2 years ago

Closed 2 years ago

#63914 closed defect (fixed)

curl @7.79.1_1 +gss: Unable to build with gss variant

Reported by: daphnediane (Daphne Pfister) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey x86_64 Cc: daphnediane (Daphne Pfister)
Port: curl

Description

I've been unable to install curl with the gss variant noticed when trying to reinstall after upgrading to Monterey. I previously had this variant enabled under Big Sur.

When trying to install I get: (This was with +darwinssl+gsl+http2, but get identical with +gss)

--->  Building curl
Error: Failed to build curl: command execution failed    
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_curl/curl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port curl failed

The key errors from the build logs appears to be: (with just +gss same error, just different address)

:info:build ld: warning: cannot export hidden symbol _curl_jmpenv from .libs/libcurl_la-hostip.o
:info:build ld: warning: pointer not aligned at address 0x70022 (_Curl_krb5_mech_oid + 4 from .libs/libcurl_la-curl_gssapi.o)
:info:build ld: unaligned pointer(s) for architecture x86_64

Version I had installed in Big Sur.

  curl @7.78.0_0+darwinssl+gss+http2 (active) requested_variants='+darwinssl+gss+http2' platform='darwin 20' archs='x86_64' date='2021-10-16T16:52:39-0400'

This looks to unrelated to #12805, the code compiles but doesn't link.

Attachments (1)

main.log.bz2 (20.0 KB) - added by daphnediane (Daphne Pfister) 2 years ago.
The main.log file showing the errors, this was using just the +gss variant along with the default +ssl variant.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by daphnediane (Daphne Pfister)

Attachment: main.log.bz2 added

The main.log file showing the errors, this was using just the +gss variant along with the default +ssl variant.

comment:1 Changed 2 years ago by daphnediane (Daphne Pfister)

Cc: daphnediane added

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

Keywords: monterey x86_64 added
Owner: set to ryandesign
Status: newaccepted

It is an upstream curl bug that only affects x86_64 systems running Monterey:

https://github.com/curl/curl/issues/7657

It was fixed in curl 7.80.0 released yesterday. I'll update the port to this version.

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

Resolution: fixed
Status: acceptedclosed

In ac406a5078faab83938c3607aa0572cd0b5c663d/macports-ports (master):

curl: Update to 7.80.0

Closes: #63914

Note: See TracTickets for help on using tickets.