#1113126 libcds: FTBFS with CMake 4

#1113126#5
Date:
2025-08-31 22:57:41 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]


Unpack source
-------------
Format: 3.0 (quilt)
Source: libcds
Binary: libcds2.3.3t64, libcds-dev
Architecture: any
Version: 2.3.3-5
Maintainer: Thorsten Alteholz <debian@alteholz.de>
Homepage: https://github.com/khizmax/libcds
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/alteholz/libcds
Vcs-Git: https://salsa.debian.org/alteholz/libcds.git
Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), dh-exec, quilt, cmake
Package-List:
 libcds-dev deb libdevel optional arch=any
 libcds2.3.3t64 deb libs optional arch=any
Checksums-Sha1:
 0d5364faf11149e2d0a3f2ce7e523400d44b5d40 1459141 libcds_2.3.3.orig.tar.gz
 660d810dad31318f90a58b48578762a7bb0ecdfe 4768 libcds_2.3.3-5.debian.tar.xz
Checksums-Sha256:
 f090380ecd6b63a3c2b2f0bdb27260de2ccb22486ef7f47cc1175b70c6e4e388 1459141 libcds_2.3.3.orig.tar.gz
 6b73354610d33109e8c253b76cf095b6bbce6ad2824445f53d951d0571cd162f 4768 libcds_2.3.3-5.debian.tar.xz
Files:
 e2622b1334f271022140253e3557f0ae 1459141 libcds_2.3.3.orig.tar.gz
 54c3587cf84b33b8df8b734e830d7f99 4768 libcds_2.3.3-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmbfILpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR859EACH/Ogp1TAkiltYHj1kqCmrBICTZ6wT
3dNhlqKg0J2VeEBPhx6MQPWEPWau8pKtBOtGGaXvgadza3FQGof3VUEPXx2R7dzl
p5dWWtUP0kl7ddteooxf8bi1cYvyKaUNJJzGVJwX+LrkitEc0eDrBOxGpP16JdG+
KXdyEQaKymYFekwp9xPg6ZkuU3qniwlJDjfWUoz+G+84pToBVhxuA1lHjm6Wjf+g
yafZ8nOdBX2KHSw5wMVhw/5ygV/bcSD/8xZE8J+OKmxXhVxBKKNsBbYQ/DUIAqEw
CfVRJbovhCtEUr3Ir0bHROWep3Eu1wfTj0QG5PjvRURrBQ8Mka4EBF/6ybkZlENM
Q3095uVaOqcxWGGTxDFgMUi0lOubZx+x9M+7Bi+lrdL50SCSDzamocp07vk8C4xe
vjd/yI1IajhmCO+x9iB+efAQTWEtYqDNXJfxiQrBGjl2oO+uGNueUzfHKqtvMmvM
vd0Zg/kXo3zdYsfPadoQa+mJ0kj/huTJJwMKsWvz1tIjjAR7OSPNBsn6Um0KvAJx
5q9SLZeLUSiHZdOy75kUnp5MQMLNuaMmlHX3lvzGz68A3c85aS4ZfOikm+VZXDoa
HB5hh+ARkUPSD/R5RYeh2k332C6NLUxbYZzm1ze2eyFN7d2eh200UKrpkfJF7Gqa
zDvQhNJqs9/V+Q==
=C9FC
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./libcds_2.3.3-5.dsc: no acceptable signature found
dpkg-source: info: extracting libcds in /build/reproducible-path/libcds-2.3.3
dpkg-source: info: unpacking libcds_2.3.3.orig.tar.gz
dpkg-source: info: unpacking libcds_2.3.3-5.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying ftbfs.patch
dpkg-source: info: applying fix-ftbfs-on-some-arch.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 libcds
dpkg-buildpackage: info: source version 2.3.3-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Thorsten Alteholz <debian@alteholz.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	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 ..
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/2399657/ 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/153701/ 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
#1113126#12
Date:
2025-09-01 11:51:56 UTC
From:
To:
I have downgraded the bug to non-RC severity temporarily and reverted
CMake in unstable to version 3.31.6. I plan to re-upgrade in about a
month's time. I realize that despite my April announcement, the upload
to unstable came rather surprising, and I don't want to cause
unnecessary pain.

Also, the build log URL has an unfortunate mistake. The correct URL
should include the workspace, i.e.,

https://debusine.debian.net/debian/developers/artifact/XXXX

CMake 4 will also be available in experimental again, so it can be
used to verify that the bug is fixed.

Cheers
Timo

#1113126#17
Date:
2025-09-04 21:48:59 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libcds, 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 1113126@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated libcds 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: Thu, 04 Sep 2025 19:02:22 +0200
Source: libcds
Architecture: source
Version: 2.3.3-6
Distribution: unstable
Urgency: medium
Maintainer: Thorsten Alteholz <debian@alteholz.de>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1113126
Changes:
 libcds (2.3.3-6) unstable; urgency=medium
 .
   * debian/control: bump standard to 4.7.2 (no changes)
   * add debian/patch/cmake4.patch (Closes: #1113126)
Checksums-Sha1:
 6dac83f143cff914710f5139df4b6afc172b0bec 2085 libcds_2.3.3-6.dsc
 0d5364faf11149e2d0a3f2ce7e523400d44b5d40 1459141 libcds_2.3.3.orig.tar.gz
 ca6de3b8f6f3888ccc2ce6e49882c18dfca7bb65 5140 libcds_2.3.3-6.debian.tar.xz
 41db04814a3021791996864c15cdb124d1656b58 7605 libcds_2.3.3-6_amd64.buildinfo
Checksums-Sha256:
 d7e7aa87d8d1ca0599b5b58285d8df4c3f66e1348ab1495977601071f762b00b 2085 libcds_2.3.3-6.dsc
 f090380ecd6b63a3c2b2f0bdb27260de2ccb22486ef7f47cc1175b70c6e4e388 1459141 libcds_2.3.3.orig.tar.gz
 3aac2e8c470b032ceafe6a31c568e8666781d945156f6b00434425c075a8e528 5140 libcds_2.3.3-6.debian.tar.xz
 4ea9df3c3e58b26b57be7cac68d4979520c60e778705da2ff4471349e0065ec3 7605 libcds_2.3.3-6_amd64.buildinfo
Files:
 bf18c435833b9dedadbc095862e39943 2085 devel optional libcds_2.3.3-6.dsc
 e2622b1334f271022140253e3557f0ae 1459141 devel optional libcds_2.3.3.orig.tar.gz
 9a835032b51556caf20d45cdcebf8688 5140 devel optional libcds_2.3.3-6.debian.tar.xz
 ec3875900ba543def9f8147da22ddd1d 7605 devel optional libcds_2.3.3-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmi6BCpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR7mKD/oDSH1rFGJ8QfnKVba3ue08sJMRK+gB
MSQI2c9oIruuOCPqIqsGsgZ2L9DN5vMnmyQsn3412DyVfLaBGdGmZ/kZX1LIVMET
sLzBoE16N8nn4GLa3JeKT0+IWxAtwjK7PveYhMtvoOQ9aiqtaUQsJacICu+qdJT7
aAz+STJqEOApbqrzyLMmcgBFDuCSqP7gygRJviieJtI5zKXxqiXdpsIHOUD7UELI
G8mEFaHUlYRPE8/5rtY0VLK0JWQqeH0M6SMNBKBZcjkUK/xnMLZFJvtifv1yRADg
/hU8HFyvl/iKRYphm9Gji+KGqL+sYt0ZteCa5gFmVPo7PpPo9eNfMf1sHhK0+FsV
1qpgF4jLwqdpee5yBPpZ6fHZM7sf3NWLKvqbvm0xptfYFGOKy8I74wJ39EkRlR9x
otoX5z26w/nXeGK8YBfGDtB8Adbaz8xk11ny0FXGWeyLRvRYPSWdHPVaPXTox0d2
H5W7aGNHjgYlcUVfoOgKcAVp/tM2AIphE62fnQ90XelxjSDgiFQGrLKZEmKGnnx1
FGuH2VqcTZmRcGmXucjuzxCCAY7itmBfWxUtfXchqGi1evCTsljH795bSu1KVnKH
TsJdWO3ht6P/7oH0YiIAcRnNQawnRdYn0Ky/gdJICJPs26e3hxBQwpBuzNblG6rW
2DTU0IjUXMFODA==
=UpJy
-----END PGP SIGNATURE-----