Bug#1121997: FTBFS with Python 3.14: Invalid configuration 'python3.13': machine 'python3.13-unknown' not recognized

Adrian Bunk bunk at debian.org
Sat Dec 6 08:39:18 GMT 2025


Control: retitle -1 cmor FTBFS with more than one supported Python version
Control: tags -1 patch

On Fri, Dec 05, 2025 at 10:26:23PM +0500, Andrey Rakhmatullin wrote:
> Source: cmor
> Version: 3.13.0-2
> Severity: serious
> Tags: ftbfs
> User: debian-python at lists.debian.org
> Usertags: python3.14
> 
> dh_auto_configure -- --disable-color --enable-verbose-test  --without-python \
>         UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp"
> PYTHONEXEC=python3.14 python3.13 \
>...

Fix:

--- cmor-3.13.0/debian/rules	2025-11-19 13:16:07.000000000 +0200
+++ cmor-3.13.0/debian/rules	2025-11-19 13:16:07.000000000 +0200
@@ -33,7 +33,7 @@
 override_dh_auto_configure:
 	ln -sf  /usr/share/misc/config.sub 
 	dh_auto_configure -- --disable-color --enable-verbose-test  --without-python \
-		UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp" PYTHONEXEC=$(PY3VERS) \
+		UUIDLDFLAGS="-lossp-uuid" UUIDFLAGS="-I/usr/include/ossp" PYTHONEXEC="$(PY3VERS)" \
 		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" SZLIBFLAGS=" -lsz"
 	dh_auto_configure --buildsystem=pybuild 
 



More information about the debian-science-maintainers mailing list