[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread miss-islington


miss-islington  added the comment:


New changeset c496e29c2bd0c29327c93174d5a40d2dc5a09402 by Miss Islington (bot) 
in branch '3.8':
closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against 
old OpenSSL. (GH-19506)
https://github.com/python/cpython/commit/c496e29c2bd0c29327c93174d5a40d2dc5a09402


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca by Benjamin Peterson in 
branch 'master':
closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against 
old OpenSSL. (GH-19506)
https://github.com/python/cpython/commit/584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca


--
resolution: duplicate -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +18858
pull_request: https://github.com/python/cpython/pull/19507

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread Benjamin Peterson


Change by Benjamin Peterson :


--
keywords: +patch
pull_requests: +18857
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/19506

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread Anthony Sottile

Anthony Sottile  added the comment:

yes, it is still broken, now with fewer errors:

2020-04-13T15:06:34.7330649Z x86_64-linux-gnu-gcc -pthread -fPIC -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 
-Wall -g -fstack-protector -Wformat -Werror=format-security -std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Werror=implicit-function-declaration -fvisibility=hidden -I../Include/internal 
-I../Include -IObjects -IPython -I. -I/usr/include/x86_64-linux-gnu 
-I/tmp/code/Include -I/tmp/code/build-static -c /tmp/code/Modules/_ssl.c -o 
build/temp.linux-x86_64-3.9/tmp/code/Modules/_ssl.o
2020-04-13T15:06:34.8649844Z In file included from 
/tmp/code/Modules/_ssl.c:136:0:
2020-04-13T15:06:34.8651190Z /tmp/code/Modules/_ssl_data.h:650:28: error: 
‘ERR_LIB_ASYNC’ undeclared here (not in a function)
2020-04-13T15:06:34.8651651Z  {"FAILED_TO_SET_POOL", ERR_LIB_ASYNC, 101},
2020-04-13T15:06:34.8651920Z ^
2020-04-13T15:06:34.8661090Z /tmp/code/Modules/_ssl_data.h:1510:29: error: 
‘ERR_LIB_CT’ undeclared here (not in a function)
2020-04-13T15:06:34.8661535Z  {"BASE64_DECODE_ERROR", ERR_LIB_CT, 108},
2020-04-13T15:06:34.8661802Z  ^
2020-04-13T15:06:34.8676472Z /tmp/code/Modules/_ssl_data.h:2650:24: error: 
‘ERR_LIB_KDF’ undeclared here (not in a function)
2020-04-13T15:06:34.8676957Z  {"INVALID_DIGEST", ERR_LIB_KDF, 100},
2020-04-13T15:06:34.8677361Z ^

--
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread SilentGhost


SilentGhost  added the comment:

This should have been fixed already in #39953. Do re-open, if you can reproduce 
this with the latest checkouts.

--
nosy: +SilentGhost
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Let's update ssl error codes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-12 Thread Anthony Sottile

New submission from Anthony Sottile :

Haven't yet bisected, but noticed this in the nightly builds I provide for 
ubuntu deadsnakes https://github.com/deadsnakes/nightly -- I believe it to be 
this patch so I've added to nosy: https://github.com/python/cpython/pull/19082

Both python3.8 and python3.9 are currently failing with a similar error:

2020-04-12T15:08:17.0217595Z x86_64-linux-gnu-gcc -pthread -fPIC -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 
-Wall -g -fstack-protector -Wformat -Werror=format-security -std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Werror=implicit-function-declaration -I../Include/internal -I../Include 
-IObjects -IPython -I. -I/usr/include/x86_64-linux-gnu -I/tmp/code/Include 
-I/tmp/code/build-shared -c /tmp/code/Modules/_ssl.c -o 
build/temp.linux-x86_64-3.8/tmp/code/Modules/_ssl.o
2020-04-12T15:08:17.1350180Z In file included from 
/tmp/code/Modules/_ssl.c:136:0:
2020-04-12T15:08:17.1351441Z /tmp/code/Modules/_ssl_data.h:6:15: error: 
‘ERR_LIB_ASYNC’ undeclared here (not in a function)
2020-04-12T15:08:17.1352097Z  {"ASYNC", ERR_LIB_ASYNC},
2020-04-12T15:08:17.1352338Z^
2020-04-12T15:08:17.1355975Z /tmp/code/Modules/_ssl_data.h:13:12: error: 
‘ERR_LIB_CT’ undeclared here (not in a function)
2020-04-12T15:08:17.1356503Z  {"CT", ERR_LIB_CT},
2020-04-12T15:08:17.1356692Z ^
2020-04-12T15:08:17.1357242Z /tmp/code/Modules/_ssl_data.h:19:13: error: 
‘ERR_LIB_KDF’ undeclared here (not in a function)
2020-04-12T15:08:17.1357579Z  {"KDF", ERR_LIB_KDF},
2020-04-12T15:08:17.1357784Z  ^
2020-04-12T15:08:17.1366068Z In file included from 
/tmp/code/Modules/_ssl.c:136:0:
2020-04-12T15:08:17.1366527Z /tmp/code/Modules/_ssl_data.h:598:28: error: 
initializer element is not constant
2020-04-12T15:08:17.1366913Z  {"FAILED_TO_SET_POOL", ERR_LIB_ASYNC, 101},
2020-04-12T15:08:17.1367202Z ^
2020-04-12T15:08:17.1368223Z /tmp/code/Modules/_ssl_data.h:598:28: note: (near 
initialization for ‘error_codes[112].library’)
2020-04-12T15:08:17.1370670Z /tmp/code/Modules/_ssl_data.h:603:32: error: 
initializer element is not constant
2020-04-12T15:08:17.1371883Z  {"FAILED_TO_SWAP_CONTEXT", ERR_LIB_ASYNC, 
102},
2020-04-12T15:08:17.1372824Z ^
2020-04-12T15:08:17.1374744Z /tmp/code/Modules/_ssl_data.h:603:32: note: (near 
initialization for ‘error_codes[113].library’)
2020-04-12T15:08:17.1376008Z /tmp/code/Modules/_ssl_data.h:608:21: error: 
initializer element is not constant
2020-04-12T15:08:17.1377003Z  {"INIT_FAILED", ERR_LIB_ASYNC, 105},
2020-04-12T15:08:17.1377757Z  ^
2020-04-12T15:08:17.1378839Z /tmp/code/Modules/_ssl_data.h:608:21: note: (near 
initialization for ‘error_codes[114].library’)
2020-04-12T15:08:17.1379355Z /tmp/code/Modules/_ssl_data.h:613:27: error: 
initializer element is not constant
2020-04-12T15:08:17.1379774Z  {"INVALID_POOL_SIZE", ERR_LIB_ASYNC, 103},
2020-04-12T15:08:17.1380044Z^
2020-04-12T15:08:17.1380663Z /tmp/code/Modules/_ssl_data.h:613:27: note: (near 
initialization for ‘error_codes[115].library’)
2020-04-12T15:08:17.1391167Z /tmp/code/Modules/_ssl_data.h:1458:29: error: 
initializer element is not constant
2020-04-12T15:08:17.1392255Z  {"BASE64_DECODE_ERROR", ERR_LIB_CT, 108},
2020-04-12T15:08:17.1392949Z  ^
2020-04-12T15:08:17.1394611Z /tmp/code/Modules/_ssl_data.h:1458:29: note: (near 
initialization for ‘error_codes[284].library’)
2020-04-12T15:08:17.1395718Z /tmp/code/Modules/_ssl_data.h:1463:31: error: 
initializer element is not constant
2020-04-12T15:08:17.1396628Z  {"INVALID_LOG_ID_LENGTH", ERR_LIB_CT, 100},
2020-04-12T15:08:17.1407884Z^
2020-04-12T15:08:17.1408725Z /tmp/code/Modules/_ssl_data.h:1463:31: note: (near 
initialization for ‘error_codes[285].library’)
2020-04-12T15:08:17.1409300Z /tmp/code/Modules/_ssl_data.h:1468:26: error: 
initializer element is not constant
2020-04-12T15:08:17.1409726Z  {"LOG_CONF_INVALID", ERR_LIB_CT, 109},
2020-04-12T15:08:17.1410042Z   ^
2020-04-12T15:08:17.1410675Z /tmp/code/Modules/_ssl_data.h:1468:26: note: (near 
initialization for ‘error_codes[286].library’)
2020-04-12T15:08:17.1411199Z /tmp/code/Modules/_ssl_data.h:1473:30: error: 
initializer element is not constant
2020-04-12T15:08:17.1411612Z  {"LOG_CONF_INVALID_KEY", ERR_LIB_CT, 110},
2020-04-12T15:08:17.1411921Z   ^
2020-04-12T15:08:17.1412514Z /tmp/code/Modules/_ssl_data.h:1473:30: note: (near 
initialization for ‘error_codes[287].library’)
2020-04-12T15:08:17.1413202Z /tmp/code/Modules/_ssl_data.h:1478:38: error: 
initializer element is not constant
2020-04-12T15:08:17.1413930Z  {"LOG_CONF_MISSING_DESCRIPTION", ERR_LIB_CT, 
111},