Source: cgreen
Version: 1.6.4-1
Severity: serious
User: [email protected]
Usertags: cmake-4

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: cgreen
Binary: libcgreen1-dev, libcgreen1, libcgreen1-doc, cgreen1
Architecture: any all
Version: 1.6.4-1
Maintainer: Gavin Lai (賴建宇) <[email protected]>
Uploaders: SZ Lin (林上智) <[email protected]>
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 (賴建宇) <[email protected]>
 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'.


-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Configuring done (2.2s)
-- Generating done (0.1s)
-- Build files have been written to: /build/reproducible-path/cgreen-1.6.4/build
   debian/rules override_dh_clean
make[1]: Entering directory '/build/reproducible-path/cgreen-1.6.4'
rm -f configure-stamp build-stamp gitrevision.h
rm -rf /build/reproducible-path/cgreen-1.6.4/build
dh_clean
make[1]: Leaving directory '/build/reproducible-path/cgreen-1.6.4'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/cgreen-1.6.4'
[ -d /build/reproducible-path/cgreen-1.6.4/build ] || mkdir 
/build/reproducible-path/cgreen-1.6.4/build
cd /build/reproducible-path/cgreen-1.6.4/build && cmake 
/build/reproducible-path/cgreen-1.6.4 -DCMAKE_INSTALL_PREFIX="/usr" \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_VERBOSE_MAKEFILE=ON \
        -DLIB_INSTALL_DIR=/usr/lib \
        -DCGREEN_WITH_PDF_DOCS:bool=TRUE
-- 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'.


CMake Error at doc/CMakeLists.txt:13 (MESSAGE):
  Can't produce PDF without 'asciidoctor-pdf'


-- Configuring incomplete, errors occurred!
make[1]: *** [debian/rules:22: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/cgreen-1.6.4'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T15:26:38Z

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

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

Reply via email to