Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56770 closed defect (fixed)

py-curl @7.43.0.2: Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc:
Port: py-curl

Description

Executing:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_python_py-curl/py27-curl/work/pycurl-7.43.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build --curl-config=/opt/local/bin/curl-config 
DEBUG: system:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_python_py-curl/py27-curl/work/pycurl-7.43.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build --curl-config=/opt/local/bin/curl-config 
Using /opt/local/bin/curl-config (libcurl 7.60.0)
Traceback (most recent call last):
  File "setup.py", line 913, in <module>
    ext = get_extension(sys.argv, split_extension_source=split_extension_source)
  File "setup.py", line 582, in get_extension
    ext_config = ExtensionConfiguration(argv)
  File "setup.py", line 99, in __init__
    self.configure()
  File "setup.py", line 316, in configure_unix
    specify the SSL backend manually.''')
__main__.ConfigurationError: Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. Please see PycURL documentation for how to specify the SSL backend manually.
Command failed:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_python_py-curl/py27-curl/work/pycurl-7.43.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build --curl-config=/opt/local/bin/curl-config 
Exit code: 1

Attachments (1)

main.log (13.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Hmm, did you install the curl port with non-default variants?

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

Yes.

$ port installed curl
The following ports are currently installed:
  curl @7.60.0_0+darwinssl+http2+sftp_scp+universal (active)

comment:3 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: fixed
Status: assignedclosed

In a49ea1e0ff8548d03cc81aefa78973b0c5c84ff2/macports-ports (master):

py-curl: declare compatibility with various SSL backends of cURL

Closes: #56770

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

Looks like this problem should be temporary. It was already reported upstream and allegedly fixed for the next version.

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

Sadly still no new release of py-curl to fix this.

comment:6 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

In 62c3ae01ee27511e0154ea74286ad53c5f03b8ab/macports-ports (master):

py-curl: allow building against curl with SSL backends unsupported by pycurl

Ref: #56770

comment:7 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Oops, I seem to have missed Ryan's comment. I've backported the upstream fix to the py-curl port. Please tell me if there's still something wrong.

Note: See TracTickets for help on using tickets.