Control: reassign -1 src:curl 8.6.0-1
Control: affects -1 src:pycurl

On Thu, 8 Feb 2024, Emanuele Rocca wrote:

Source: pycurl
Version: 7.45.2-7
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: sid trixie ftbfs

Dear Maintainer,

pycurl currently fails to build from source on amd64 and arm64 with the
following error:

=================================== FAILURES ===================================
__________________ CertinfoTest.test_request_without_certinfo __________________

self = <tests.certinfo_test.CertinfoTest 
testMethod=test_request_without_certinfo>

   @util.min_libcurl(7, 19, 1)
   @util.only_ssl
   def test_request_without_certinfo(self):
       self.curl.setopt(pycurl.URL, 'https://localhost:8383/success')
       sio = util.BytesIO()
       self.curl.setopt(pycurl.WRITEFUNCTION, sio.write)
       # self signed certificate
       self.curl.setopt(pycurl.SSL_VERIFYPEER, 0)
      self.curl.perform()
E       pycurl.error: (56, 'GnuTLS recv error (-110): The TLS connection was 
non-properly terminated.')

tests/certinfo_test.py:34: error
=============================== warnings summary ===============================
../../../usr/lib/python3/dist-packages/bottle.py:38
 /usr/lib/python3/dist-packages/bottle.py:38: DeprecationWarning: 'cgi' is 
deprecated and slated for removal in Python 3.13
   import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===Flaky Test Report===
=========================== short test summary info ============================
FAILED tests/certinfo_test.py::CertinfoTest::test_request_without_certinfo - ...
===== 1 failed, 404 passed, 19 skipped, 5 deselected, 1 warning in 15.80s ======

This is a regression in curl 8.6.0. It has already been fixed/reverted upstream: https://github.com/curl/curl/commit/ed09a99af57200643d5ae001e815eeab9ffe3f84

Cherry-picking that commit should fix the issue.

Regards,
Scott

Reply via email to