#1112773 cgreen: FTBFS with CMake 4

#1112773#5
Date:
2025-08-31 22:36:52 UTC
From:
To:
Dear maintainer,

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

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

+------------------------------------------------------------------------------+
| Build                                        Fri, 29 Aug 2025 15:26:28 +0000 |
+------------------------------------------------------------------------------+


Unpack source
-------------
Format: 3.0 (quilt)
Source: cgreen
Binary: libcgreen1-dev, libcgreen1, libcgreen1-doc, cgreen1
Architecture: any all
Version: 1.6.4-1
Maintainer: Gavin Lai (賴建宇) <gavin09@gmail.com>
Uploaders: SZ Lin (林上智) <szlin@debian.org>
Homepage: https://github.com/cgreen-devs/cgreen
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/debian/cgreen
Vcs-Git: https://salsa.debian.org/debian/cgreen.git
Testsuite: autopkgtest
Build-Depends: cmake, libxml2-dev, ruby-asciidoctor-pdf, debhelper-compat (= 13)
Package-List:
 cgreen1 deb utils optional arch=any
 libcgreen1 deb libs optional arch=any
 libcgreen1-dev deb libdevel optional arch=any
 libcgreen1-doc deb doc optional arch=all
Checksums-Sha1:
 9169d46d6018907e31bd49b04fb15031dedb8cd8 462389 cgreen_1.6.4.orig.tar.gz
 24cc4acbdebee4c35738eac0e12a17f50392d35b 6000 cgreen_1.6.4-1.debian.tar.xz
Checksums-Sha256:
 0b50f50ce305d6d6fe143278c9f6e75606680e987c30302edc4c099e9a88dff3 462389 cgreen_1.6.4.orig.tar.gz
 5d21a7da0d26c95c581424d6f46158d236e561df28670398289ae1f8ed1ecf6d 6000 cgreen_1.6.4-1.debian.tar.xz
Files:
 0884611aaf1c73492f32dff343976d2f 462389 cgreen_1.6.4.orig.tar.gz
 b8264b40fe7de38c8e25fe365ac973ee 6000 cgreen_1.6.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOqx5beTsH5XZFt4rQPKZLOx+xqsFAmeyAd4ACgkQQPKZLOx+
xqvkChAAmTOxDQGON+G2W3rxfW/dbIBFerHSAVna1bo4zBXtJIq+Cmlfksifqed6
Fc5y76pFuPotIAe286E8UHnEAFG7qOtcilKf4NZ7161r1mBKscIKWwGHwYbla/3v
K9SjBKa1mg6CeHtmO1pHo1Zfh/kEEG7JFMbPpuIqxOKAZtGCTAdLgBquJPTkr//L
mrRT4IeySg4tK+g9mgG7ZXjZ7bbyzu2G7/qnyKW4rmppuulXByBM2iQXnqmJJYQj
c1mBQQGJNpNBH2fqg4t/ggrkKG2ZPAEqo3eaIxOI6P98chKq1Lb9uFVY+d8VfgUY
Jp3By2ZycqCtUx+IhKVZILLoRlZIG4uKb0CgRougV6xviIMRFsQP5D+Ttrw1N7es
VwZ9a2bxbOzuwvKw52nQrTv96SB7rTmyDErXOLgXPX4YnqT9uVBEcvjU027n4Bt5
8M9EmRyi/+Wns9tfyl9xSZhRRZ9vs8+nKsPeQMjAMPIwXDzZWkUYv5bcGVgr+j3b
Yh2Xqfn02TYnMYjcrDZsn7zvp/ONdXRYYT/LLRTPxoNFgwqyX0Cq7DNmF489IT5s
b3H6nK+BCoDMSQH92b4mWyOoGvrIWIk5cSiK+f1dYwIK30NS4+5IlgXq7w0iDORg
yAvFk/viJEmr3+nLiTGc4srE/5ns9+0g6HiAV+EqNAZRmd2+LIs=
=gvIG
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./cgreen_1.6.4-1.dsc: no acceptable signature found
dpkg-source: info: extracting cgreen in /build/reproducible-path/cgreen-1.6.4
dpkg-source: info: unpacking cgreen_1.6.4.orig.tar.gz
dpkg-source: info: unpacking cgreen_1.6.4-1.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 cgreen
dpkg-buildpackage: info: source version 1.6.4-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Gavin Lai (賴建宇) <gavin09@gmail.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
	make -j8 clean
-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.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
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found LibXml2: /usr/lib/aarch64-linux-gnu/libxml2.so (found version "2.14.5")
-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Performing Test WITH_FORTIFY_SOURCE
-- Performing Test WITH_FORTIFY_SOURCE - Success
CMake Warning at src/CMakeLists.txt:15 (message):
  -- Unable to find git, or not a repo.  Setting git revision to 'unknown'.
------------------------------------------------------------------------------- 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/2390214/ 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/152550/ 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
#1112773#14
Date:
2025-09-01 11:51:14 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