Bug#1113435: python-ltfatpy: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Mon Sep 1 00:03:21 BST 2025


Source: python-ltfatpy
Version: 1.1.2-2
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, python-ltfatpy failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
copying ltfatpy/tests/gabor/test_dgt.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/gabor
copying ltfatpy/tests/gabor/test_s0norm.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/gabor
copying ltfatpy/tests/gabor/test_phaseplot.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/gabor
copying ltfatpy/tests/gabor/test_plotdgtreal.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/gabor
copying ltfatpy/tests/gabor/test_tfplot.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/gabor
creating build/lib.linux-aarch64-cpython-313/ltfatpy/tests/tools
copying ltfatpy/tests/tools/test_postpad.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/tools
copying ltfatpy/tests/tools/test_lcm.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/tools
copying ltfatpy/tests/tools/__init__.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/tools
creating build/lib.linux-aarch64-cpython-313/ltfatpy/tests/signals
copying ltfatpy/tests/signals/test_linus.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/signals
copying ltfatpy/tests/signals/test_gspi.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/signals
copying ltfatpy/tests/signals/__init__.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/signals
copying ltfatpy/tests/signals/test_greasy.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/signals
creating build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_normalize.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_firkaiser.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_fir2long.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/__init__.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_thresh.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_largestr.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_largestn.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_groupthresh.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_firwin.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_long2fir.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
copying ltfatpy/tests/sigproc/test_rms.py -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/sigproc
running egg_info
creating ltfatpy.egg-info
writing ltfatpy.egg-info/PKG-INFO
writing dependency_links to ltfatpy.egg-info/dependency_links.txt
writing requirements to ltfatpy.egg-info/requires.txt
writing top-level names to ltfatpy.egg-info/top_level.txt
writing manifest file 'ltfatpy.egg-info/SOURCES.txt'
reading manifest file 'ltfatpy.egg-info/SOURCES.txt'
adding license file 'LICENSE.rst'
adding license file 'AUTHORS.rst'
writing manifest file 'ltfatpy.egg-info/SOURCES.txt'
copying ltfatpy/comp/comp_dct.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_dst.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_gabdual_long.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_gabtight_long.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_isepdgt.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_isepdgtreal.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_pgauss.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_sepdgt.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/comp_sepdgtreal.pyx -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/comp/ltfat.pxd -> build/lib.linux-aarch64-cpython-313/ltfatpy/comp
copying ltfatpy/signals/greasy.wav -> build/lib.linux-aarch64-cpython-313/ltfatpy/signals
copying ltfatpy/signals/gspi.wav -> build/lib.linux-aarch64-cpython-313/ltfatpy/signals
copying ltfatpy/signals/linus.wav -> build/lib.linux-aarch64-cpython-313/ltfatpy/signals
copying ltfatpy/tests/datasets/comp_dct_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/comp_dst_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/dft_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/dgt_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/fftreal_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/fftresample_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/firkaiser_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/gabframediag_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/gabphasegrad_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/gabtight_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/greasy_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/groupthresh_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/gspi_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/idft_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/ifftreal_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/instfreqplot_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/largestn_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/largestr_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/linus_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/pderiv_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/phaselock_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/phaseplot_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/phaseunlock_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/pherm_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/read_ref_mat_test.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/s0_norm_test.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/sepdgt_signal_ex.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/sgram_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
copying ltfatpy/tests/datasets/thresh_ref.mat -> build/lib.linux-aarch64-cpython-313/ltfatpy/tests/datasets
running build_ext
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from 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.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
Configuring ltfatpy build with CMake.... 
Root dir : /build/reproducible-path/python-ltfatpy-1.1.2
Error while running cmake
run 'setup.py build --help' for build options
You may also try editing the settings in CMakeLists.txt file and re-running setup

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/python-ltfatpy-1.1.2/.pybuild/cpython3_3.13_ltfatpy  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T15:10:37Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2408186/

The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/154589/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,
Timo



More information about the debian-science-maintainers mailing list