#1113459 rbdoom3bfg: FTBFS with CMake 4

#1113459#5
Date:
2025-08-31 23:03:46 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
dpkg-source: info: applying 30-ffmpeg70.patch
dpkg-source: info: applying spelling.patch

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 rbdoom3bfg
dpkg-buildpackage: info: source version 1.4.0+dfsg-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sébastien Noel <sebastien@twolife.be>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --sourcedirectory=neo
   dh_auto_clean -O--sourcedirectory=neo
   dh_autoreconf_clean -O--sourcedirectory=neo
   dh_clean -O--sourcedirectory=neo
 debian/rules binary
dh binary --sourcedirectory=neo
   dh_update_autotools_config -O--sourcedirectory=neo
   dh_autoreconf -O--sourcedirectory=neo
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/rbdoom3bfg-1.4.0+dfsg'
dh_auto_configure -- -G "Unix Makefiles" \
 -DSDL2=ON -DCMAKE_LIBRARY_PATH=aarch64-linux-gnu \
 -DUSE_SYSTEM_ZLIB=ON -DUSE_SYSTEM_LIBPNG=ON \
 -DUSE_SYSTEM_LIBJPEG=ON -DUSE_SYSTEM_LIBGLEW=ON \
 -DUSE_SYSTEM_IMGUI=ON -DUSE_SYSTEM_RAPIDJSON=ON \
 -DCPU_TYPE=arm64 \
 -DUSE_PRECOMPILED_HEADERS=OFF \
 -DCPU_OPTIMIZATION="" \
 -DUSE_INTRINSICS_SSE=OFF
	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 -G "Unix Makefiles" -DSDL2=ON -DCMAKE_LIBRARY_PATH=aarch64-linux-gnu -DUSE_SYSTEM_ZLIB=ON -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_LIBJPEG=ON -DUSE_SYSTEM_LIBGLEW=ON -DUSE_SYSTEM_IMGUI=ON -DUSE_SYSTEM_RAPIDJSON=ON -DCPU_TYPE=arm64 -DUSE_PRECOMPILED_HEADERS=OFF -DCPU_OPTIMIZATION= -DUSE_INTRINSICS_SSE=OFF ../neo
CMake Error at CMakeLists.txt:1 (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/2410030/

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

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

#1113459#10
Date:
2025-09-01 08:35:14 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rbdoom3bfg, 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 1113459@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <sebastien@twolife.be> (supplier of updated rbdoom3bfg 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 08:02:43 +0200
Source: rbdoom3bfg
Architecture: source
Version: 1.4.0+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <sebastien@twolife.be>
Closes: 1113459
Changes:
 rbdoom3bfg (1.4.0+dfsg-6) unstable; urgency=medium
 .
   * Fix build with CMake 4 (Closes: #1113459)
   * Fix build against libimgui-dev 1.92.2
Checksums-Sha1:
 971a8ffe033559da19e76a2a3a36b42814cad584 1865 rbdoom3bfg_1.4.0+dfsg-6.dsc
 af7a2eb8072866c7f8437a684162e26c9b631cad 27916 rbdoom3bfg_1.4.0+dfsg-6.debian.tar.xz
 79d04f7084b3ce3d89409ba33a22c45821bfed67 14778 rbdoom3bfg_1.4.0+dfsg-6_amd64.buildinfo
Checksums-Sha256:
 0ddd35bf006019789b1be48e60c7f034cec5a152c9a895058b0c436f8a583041 1865 rbdoom3bfg_1.4.0+dfsg-6.dsc
 d14d97cc452b288d13501617ad2ba35498e6f80af6c0bf8f4f48c750a564fbbe 27916 rbdoom3bfg_1.4.0+dfsg-6.debian.tar.xz
 397abb9aa06ca1146036f747960b92c0d0b4b80fe749b95e5234da27a6c35dd9 14778 rbdoom3bfg_1.4.0+dfsg-6_amd64.buildinfo
Files:
 0154580b3372c28cab3526a1517a7083 1865 games optional rbdoom3bfg_1.4.0+dfsg-6.dsc
 65e329f5f5e31c245de00eb5435d92b0 27916 games optional rbdoom3bfg_1.4.0+dfsg-6.debian.tar.xz
 ff833fd1776bb68b993fd030b181858f 14778 games optional rbdoom3bfg_1.4.0+dfsg-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFJBAEBCgAzFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmi1VNsVHHNlYmFzdGll
bkB0d29saWZlLmJlAAoJEKygCLjJNKfUclEH/3fgksIFJUtZggkT3HYjOJuipRTw
VrpZm+2HmpVPQBpt+LEuRv5MD+e3sO63ERyhHL9x/4a6K26MtRxr2pu9to9jObEr
9Iw+aCd1G/sYA7doetiS6jzLxd2Oa+7SfjnA/1F6xkDaJsCxfx30plOgn9XGTIMH
jJXI/osfrFgz3a+uMrgVOowLwO7WJVsTzLdK7rLL1L99nqdA1c/FLMEMZetNRd8k
eq2UHMNIAYA3SZdz6UPND6CvgpEkpLMjFzykdr8OUeFD97hTGZvT31oLyIq1CKi6
SAGBdnijerMdoDwBg7CJzC+Aohz6bgIAxmnz7M+1G2+mowyd11zcjrgEMnM=
=vV05
-----END PGP SIGNATURE-----