#1112946 geners: FTBFS with CMake 4

#1112946#5
Date:
2025-08-31 22:54:19 UTC
From:
To:
Dear maintainer,

During a test rebuild for CMake 4, geners failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
R/Eoh9emtqvX7cPHxPRMvCY9XFaQh16D0ynMwKDMcHcik/VsqtrWuEodhsrvjfvx
Wf/+acs5bQQzGbuoKimVeYl1VjSArziDunMNI3H1vUu4me/RvI87yreV7i8i27Qr
0RirZi6SZJ9RrniIHn/MHkArjLxCuOCvC0bZ9iM64TyyLdtl4aMDLL5Df7aSLPTY
y18Uqyt2BkCwnVG2Lrw3cUiQE3OWdrQlRACo0EC4iTjOmWQ1bd+hdCC7jKbk1PdT
J9GsYcic013+lzx4PxjEG0bRwmsWrbMcwrU5d0IQhBxSL1S9HfalSayNKaXJmixb
XHYEcaw0KyEbFOufkBX9Gxzluz4jsDKtMTh9Ezc6A9bcH3uMexJXHaL9t0UAdtrx
QHz9g4N39cpeZO5K0rgUrVNRoJDHOAs383mi+seLhZF92xrZwZrBYJaukrei0Qju
K7C2LUvpq5aWSduuuQ4MwLpZD15AbHJIv9DFxGIOPzj6m5NiFUYXLggahNqW7DPG
iDhOCVnqjQw4MsjKeSji5zWtTP3YNVu1bKSo0R5OVdn2gKTBo3sXyknHMFbctc27
Pz0TZCLldgjQIBB363D0WOIuXP18xuDFaiPlcdxp4svnBt7QJd4=
=0RYE
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./geners_0.0~svn60+ds-3.dsc: no acceptable signature found
dpkg-source: info: extracting geners in /build/reproducible-path/geners-0.0~svn60+ds
dpkg-source: info: unpacking geners_0.0~svn60+ds.orig.tar.xz
dpkg-source: info: unpacking geners_0.0~svn60+ds-3.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package geners
dpkg-buildpackage: info: source version 0.0~svn60+ds-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Pierre Gruet <pgt@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --buildsystem=cmake
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/geners-0.0~svn60+ds'
dh_auto_clean
# Removing the hand-made CMakeLists.txt.
rm CMakeLists.txt
rm: cannot remove 'CMakeLists.txt': No such file or directory
make[1]: [debian/rules:30: override_dh_auto_clean] Error 1 (ignored)
make[1]: Leaving directory '/build/reproducible-path/geners-0.0~svn60+ds'
   dh_autoreconf_clean -O--buildsystem=cmake
   dh_clean -O--buildsystem=cmake
 debian/rules binary
dh binary --buildsystem=cmake
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/geners-0.0~svn60+ds'
# Using our hand-made CMakeLists.txt to build with CMake.
cp debian/CMakeLists.txt .
dh_auto_configure -- \
        -DCMAKE_LIBRARY_ARCHITECTURE="aarch64-linux-gnu" \
        -DCMAKE_INSTALL_PREFIX="/usr" \
        -DSOVERSION_GENERS="1" \
        -DVERSION_GENERS="1.12.0"
	cd obj-aarch64-linux-gnu && 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 -DCMAKE_LIBRARY_ARCHITECTURE=aarch64-linux-gnu -DCMAKE_INSTALL_PREFIX=/usr -DSOVERSION_GENERS=1 -DVERSION_GENERS=1.12.0 ..
CMake Error at CMakeLists.txt:25 (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.
-------------------------------------------------------------------------------

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/2392813/

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/152949/

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

#1112946#10
Date:
2025-09-01 06:18:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
geners, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1112946@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <pgt@debian.org> (supplier of updated geners package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 07:58:57 +0200
Source: geners
Architecture: source
Version: 0.0~svn60+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Pierre Gruet <pgt@debian.org>
Changed-By: Pierre Gruet <pgt@debian.org>
Closes: 1112946
Changes:
 geners (0.0~svn60+ds-4) unstable; urgency=medium
 .
   * Raising CMake minimim required version to build with CMake 4
     (Closes: #1112946)
   * Marking libgeners-dev as Multi-Arch: same
   * Raising Standards version to 4.7.2 (no change)
Checksums-Sha1:
 a10c9931e7170f10f4d320b9865cb0b4c442ef92 1938 geners_0.0~svn60+ds-4.dsc
 079cd0430b14d1e606efe830ecedc27c12837907 4092 geners_0.0~svn60+ds-4.debian.tar.xz
 d38991236da9e33f925d63234a0ee5fe3859fb30 6500 geners_0.0~svn60+ds-4_source.buildinfo
Checksums-Sha256:
 9077f237ef0b00ce7cef025a1391e2376d26385aae1439a0e5e044af6c7592a5 1938 geners_0.0~svn60+ds-4.dsc
 7a91da28c21bdd0cbde4d2e086295f1f357e7a88e74a12b6b8dd8daa41b2a37b 4092 geners_0.0~svn60+ds-4.debian.tar.xz
 edb66a00d32bcb8e4b09828edd2f24f6b938f7a5d47530aa912268af92a4cdd4 6500 geners_0.0~svn60+ds-4_source.buildinfo
Files:
 eac12a60745327a9ce8a3735d17ce597 1938 libs optional geners_0.0~svn60+ds-4.dsc
 0e99b37144ef9dd38d18aca3dba54662 4092 libs optional geners_0.0~svn60+ds-4.debian.tar.xz
 43dccdd2ad03cd0c14810cbc5988dc80 6500 libs optional geners_0.0~svn60+ds-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmi1Nm4ACgkQYAMWptwn
dHbzWBAAn0F70rSqw0U3japOouSi/msmBSFG2aNHMaCzKqKiDFOjYz+zfYRX0oqV
Sp3Q6YkNCwuWZfuESKAvjMbzVDCjxC/8W7LqtAjtsfj6uHP08PwNJnpNIm6DXP9q
uK8LFOPaSxlZ7B4y3+leRPCkywTg5jHlE0w0X2mu5G8Dfr/a5GveADh6SvfxPLBu
ZfFhIGT/4uhsuxvVCGVO531CcD/KXB+pWEfggtPU2BdcvFGjC8lGAiLinoNGqLYQ
BmZ/YJ6IbQ56o7RJ6A1yzGrCs9sTuzJjaCBVrAgDKqmecV2ZvhRzWqaMRUD8flpy
4PBe07Ydo98RUElhLnpOXsTn2Wc4rSYzgOktKqgSnW8P8KKx4OJf9DG47pjzfmQK
g0/apc/Sd55sBY6VwW1JclUB6s+d0iBUU0X3cUnXUnrKl4HJ+mHO8DlGtDQzayFO
sWsVTJ72SWHiBt+jz7Ggbt9HYosTynfN50s01gHuVrAS0A7djEMox0wxOnEZfwB5
lH3h4L/dS5jciUzCccQM4epFCfAL16Q6wtcqp7AhUWyZV1MfTBM4Htktr6rw6QRf
5OUZj8XlcPNU8UGz7X4ARCLqIIuUfHvEEAxS3fHo3WHFUS9o/3xX3tT182v5n6iH
pjG9s0eGDZrm09u1ThQYAf43ymrrC4FYCIyLmWTeN+z4yF27H94=
=Iz+N
-----END PGP SIGNATURE-----