[Pkg-openssl-devel] Bug#1137596: python3.13: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Mon May 25 17:40:27 BST 2026
Package: python3.13
Version: 3.13.12-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0
Control: forwarded -1 https://github.com/python/cpython/issues/148600
OpenSSL 4.0 is in experimental. This package fails to build against it:
| /usr/bin/install -c -m 755 Modules/_ssl.cpython-313-x86_64-linux-gnu.so /tmp/test_python_0voj9c0i/tmp1i97a37l/python-installation/lib/python3.13/lib-dynload/_ssl.cpython-313-x86_64-linux-gnu.so
|
| make[2]: Leaving directory '/tmp/test_python_0voj9c0i/tmp1i97a37l/python-build'
|
|
|
| --- STDERR ---
|
| [ERROR] _ssl failed to import: /tmp/test_python_0voj9c0i/tmp1i97a37l/python-build/build/lib.linux-x86_64-3.13/_ssl.cpython-313-x86_64-linux-gnu.so: undefined symbol: TLSv1_method
|
| install: cannot stat 'Modules/_ssl.cpython-313-x86_64-linux-gnu.so': No such file or directory
|
| make[2]: *** [Makefile:2328: sharedinstall] Error 1
|
|
|
| ---- END ----
|
| ERROR
…
| x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -g -fwrapv -O3 -flto -fuse-linker-plugin -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -g -fwrapv -O3 -flto -fuse-linker-plugin -ffat-lto-objects Modules/_ssl.o -lssl -lcrypto -o Modules/_ssl.cpython-313-x86_64-linux-gnu.so
| [ERROR] _ssl failed to import: /build/reproducible-path/python3.13-3.13.12/build-static/build/lib.linux-x86_64-3.13/_ssl.cpython-313-x86_64-linux-gnu.so: undefined symbol: TLSv1_method
| Following modules built successfully but were removed because they could not be imported:
| _ssl
|
| Could not build the ssl module!
| Python requires a OpenSSL 1.1.1 or newer
Not sure if the above part is the relevant piece.
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/python3.13_3.13.12-1_amd64-2026-04-19T10:33:03Z
Sebastian
More information about the Pkg-openssl-devel
mailing list