[Pkg-openssl-devel] Bug#1137595: python3.14: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon May 25 17:40:11 BST 2026


Package: python3.14
Version: 3.14.4-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-314-x86_64-linux-gnu.so /tmp/test_python_yenr7jkp/tmpi78jev7e/python-installation/lib/python3.14/lib-dynload/_ssl.cpython-314-x86_64-linux-gnu.so
| 
| make[2]: Leaving directory '/tmp/test_python_yenr7jkp/tmpi78jev7e/python-build'
| 
| 
| 
| --- STDERR ---
| 
| [ERROR] _ssl failed to import: /tmp/test_python_yenr7jkp/tmpi78jev7e/python-build/build/lib.linux-x86_64-3.14/_ssl.cpython-314-x86_64-linux-gnu.so: undefined symbol: TLSv1_method
| 
| install: cannot stat 'Modules/_ssl.cpython-314-x86_64-linux-gnu.so': No such file or directory
| 
| make[2]: *** [Makefile:2572: sharedinstall] Error 1
| 
| 
| 
| ---- END ----
| 
…
| 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 -frandom-seed=3.14.4-1  -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -g -fwrapv -O3 -flto -fuse-linker-plugin -ffat-lto-objects -frandom-seed=3.14.4-1   Modules/_ssl.o -lssl -lcrypto  -o Modules/_ssl.cpython-314-x86_64-linux-gnu.so
| [ERROR] _ssl failed to import: /build/reproducible-path/python3.14-3.14.4/build-static/build/lib.linux-x86_64-3.14/_ssl.cpython-314-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.14_3.14.4-1_amd64-2026-04-19T11:38:10Z

Sebastian



More information about the Pkg-openssl-devel mailing list