Changes between Initial Version and Version 2 of Ticket #32580


Ignore:
Timestamp:
09/28/21 16:41:33 (9 months ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32580

    • Property Priority changed from major to critical
    • Property Summary changed from ubuntu-trusty-standard, debian-jessie-standard, linuxmint-17: openssl too old for python3 to {ubuntu-trusty, debian-jessie, linuxmint-17, fedora-{26,27,28}}-standard: system openssl too old for python3
  • Ticket #32580 – Description

    initial v2  
    11We should update `build/pkgs/openssl/spkg-configure.m4` to detect this.
    22https://github.com/sagemath/sage/runs/3712854824?check_suite_focus=true
     3
     4Also python's own configure script does not notice that this version of SSL does not work, but then building the `_ssl` extension fails:
     5{{{
     6building '_ssl' extension
     7gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -O2 -g -march=native -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include -I/sage/local/include -I. -I/usr/local/include -I/sage/local/var/tmp/sage/build/python3-3.9.7/src/Include -I/sage/local/var/tmp/sage/build/python3-3.9.7/src -c /sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.c -o build/temp.linux-x86_64-3.9/sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.o
     8/sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.c: In function '_ssl__SSLContext_impl':
     9/sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.c:3116:27: error: implicit declaration of function 'SSLv3_method'; did you mean 'SSLv23_method'? [-Werror=implicit-function-declaration]
     10         ctx = SSL_CTX_new(SSLv3_method());
     11                           ^~~~~~~~~~~~
     12                           SSLv23_method
     13/sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.c:3116:27: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [-Wint-conversion]
     14In file included from /sage/local/var/tmp/sage/build/python3-3.9.7/src/Modules/_ssl.c:59:0:
     15/usr/include/openssl/ssl.h:1341:17: note: expected 'const SSL_METHOD * {aka const struct ssl_method_st *}' but argument is of type 'int'
     16 __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
     17                 ^~~~~~~~~~~
     18}}}