[Python-Dev] Trying to build from source, test-poplib fails (original) (raw)

Ryan Gonzalez rymg19 at gmail.com
Sat Apr 7 19:28:56 EDT 2018


Do you have ca-certificates installed?

On April 7, 2018 5:33:35 PM Skip Montanaro <skip.montanaro at gmail.com> wrote:

It's been a long while since I rebuilt Python from the Git source. I tried for the first time the other day. Everything passed except testpoplib and testasyncio. The former just runs and runs and runs. Here's the first traceback I encounter when executing ./python Lib/test/testpoplib.py:

teststlscontext (main.TestPOP3Class) ... Exception in thread Thread-16: Traceback (most recent call last): File "/home/skip/src/python/cpython/Lib/threading.py", line 917, in bootstrapinner self.run() File "Lib/test/testpoplib.py", line 227, in run asyncore.loop(timeout=0.1, count=1) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 207, in loop pollfun(timeout, map) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 150, in poll read(obj) File "/home/skip/src/python/cpython/Lib/asyncore.py", line 87, in read obj.handleerror() File "/home/skip/src/python/cpython/Lib/asyncore.py", line 83, in read obj.handlereadevent() File "/home/skip/src/python/cpython/Lib/asyncore.py", line 422, in handlereadevent self.handleread() File "Lib/test/testpoplib.py", line 194, in handleread self.dotlshandshake() File "Lib/test/testpoplib.py", line 174, in dotlshandshake self.socket.dohandshake() File "/home/skip/src/python/cpython/Lib/ssl.py", line 1108, in dohandshake self.sslobj.dohandshake() ssl.SSLError: [SSL: SSLV3ALERTCERTIFICATEUNKNOWN] sslv3 alert certificate unknown (ssl.c:1049) I thought perhaps I was missing something, but ssl built just fine. I believe I have a recent enough version of libssl (1.0.2g), and I'm on a pretty vanilla system (up-to-date Ubuntu 17.10). SSL-wise: % apt search ssl | grep installed | egrep '^lib' | egrep ssl libgnutls-openssl27/artful,now 3.5.8-6ubuntu3 amd64 [installed] libio-socket-ssl-perl/artful,artful,now 2.050-1 all [installed] libnet-smtp-ssl-perl/artful,artful,now 1.04-1 all [installed] libnet-ssleay-perl/artful,now 1.80-1build1 amd64 [installed] libssl-dev/artful-updates,artful-security,now 1.0.2g-1ubuntu13.4 amd64 [installed] libssl-doc/artful-updates,artful-updates,artful-security,artful-security,now 1.0.2g-1ubuntu13.4 all [installed,automatic] libssl1.0.0/artful-updates,artful-security,now 1.0.2g-1ubuntu13.4 amd64 [installed] Any clues about what I might be missing from my setup would be appreciated. Not sure what was wrong with testasyncio. I ran it in isolation and it passed. Thx, Skip


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com

-- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else https://refi64.com/



More information about the Python-Dev mailing list