[Pkg-openssl-devel] Bug#1138322: pypy3: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 16:53:24 BST 2026
Package: pypy3
Version: 7.3.21+dfsg-4
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| *** WARNING: renaming "crypt" since importing it failed: build/lib.linux-x86_64-2.7/crypt.so: undefined symbol: crypt
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/timemodule.c: In function ‘floattime’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/timemodule.c:1019:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
| 1019 | ftime(&t);
| | ^~~~~
| In file included from /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/timemodule.c:31:
| /usr/include/x86_64-linux-gnu/sys/timeb.h:29:12: note: declared here
| 29 | extern int ftime (struct timeb *__timebuf)
| | ^~~~~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c: In function ‘newPySSLSocket’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:595:12: error: implicit declaration of function ‘ERR_get_state’; did you mean ‘SSL_get_state’? [-Wimplicit-function-declaration]
| 595 | (void) ERR_get_state();
| | ^~~~~~~~~~~~~
| | SSL_get_state
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:835:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 835 | entry = X509_NAME_get_entry(xname, index_counter);
| | ^
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:859:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 859 | name = X509_NAME_ENTRY_get_object(entry);
| | ^
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:860:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 860 | value = X509_NAME_ENTRY_get_data(entry);
| | ^
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c: In function ‘_get_peer_alt_names’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:951:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 951 | ext = X509_get_ext(certificate, i);
| | ^
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:959:41: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘const struct asn1_string_st’}
| 959 | p = X509_EXTENSION_get_data(ext)->data;
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:964:58: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘const struct asn1_string_st’}
| 964 | X509_EXTENSION_get_data(ext)->length,
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:970:56: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘const struct asn1_string_st’}
| 970 | X509_EXTENSION_get_data(ext)->length));
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1031:56: error: implicit declaration of function ‘ASN1_STRING_data’; did you mean ‘ASN1_STRING_set0’? [-Wimplicit-function-declaration]
| 1031 | v = PyString_FromStringAndSize((char *)ASN1_STRING_data(as),
| | ^~~~~~~~~~~~~~~~
| | ASN1_STRING_set0
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1031:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| 1031 | v = PyString_FromStringAndSize((char *)ASN1_STRING_data(as),
| | ^
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c: In function ‘_get_aia_uri’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1176:55: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 1176 | ostr = PyUnicode_FromStringAndSize((char *)uri->data,
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1177:47: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 1177 | uri->length);
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c: In function ‘_get_crl_dp’:
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1243:59: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 1243 | ouri = PyUnicode_FromStringAndSize((char *)uri->data,
| | ^~
| /build/reproducible-path/pypy3-7.3.21+dfsg/cpython27/Modules/_ssl.c:1244:51: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 1244 | uri->length);
| | ^~
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/pypy3_7.3.21+dfsg-4_amd64-2026-04-19T13:20:48Z
Sebastian
More information about the Pkg-openssl-devel
mailing list