Bug#1091514: yade FTBFS with Python 3.13 as default

Stefano Rivera stefanor at debian.org
Fri Dec 27 20:06:01 GMT 2024


Source: yade
Version: 2024.08a-4
Severity: normal
Tags: ftbfs
Justification: FTBFS
User: debian-python at lists.debian.org
Usertags: python3.13-default

This package failed build from source when test-built against a version of
python3-defaults that has 3.13 as the default Python 3 version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

CMake Warning (dev) at CMakeLists.txt:57 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:58 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning (dev) at cMake/GetVersion.cmake:7 (exec_program):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  CMakeLists.txt:139 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Version is set to 2024.08a
-- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0
-- GCC Version >= 4.8. Adding -save-temps
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Log filtering: enabled
-- Enabling boost::log library and DEBUG=OFF. Logging will work nicely, backtraces will not have debug info, files will be small.
-- Architecture: arm64
-- Found GLUT: /usr/lib/aarch64-linux-gnu/libglut.so
-- Found freeglut: /usr/include/GL
-- md5sum of freegult /usr/include/GL/freeglut_std.h is: 5d350938fc0be29757a26e466fff6414
-- freegult version is 3.0.0
Loop on the following python versions and check available dependencies:3.12;3.11;3.10;3.9;3.8;3.7;3.6;3.5;3.4;3.3;3.2;3.1;3.0
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found version "3.13.1")
Trying python version: 3.12 parsed as 3 12
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.11 parsed as 3 11
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.10 parsed as 3 10
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.9 parsed as 3 9
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.8 parsed as 3 8
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.7 parsed as 3 7
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.6 parsed as 3 6
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.5 parsed as 3 5
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.4 parsed as 3 4
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.3 parsed as 3 3
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.2 parsed as 3 2
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.1 parsed as 3 1
CMake Warning (dev) at CMakeLists.txt:328 (FIND_PACKAGE):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Trying python version: 3.0 parsed as 3 0
CMake Error at CMakeLists.txt:359 (MESSAGE):
  No python version with all dependencies was found.


-- Configuring incomplete, errors occurred!
dh_auto_configure: error: cd debian/build && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DruntimePREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr -DLIBRARY_OUTPUT_PATH=lib/aarch64-linux-gnu -DENABLE_SPH=OFF -DENABLE_MPFR=ON -DPYTHON_VERSION=3 -B/<<PKGBUILDDIR>>/debian/build-double -DSUFFIX=-double -DREAL_DECIMAL_PLACES=15 ../.. returned exit code 1
make[1]: *** [debian/rules:57: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-27T17:59:36Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/1136884/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as default, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano



More information about the debian-science-maintainers mailing list