Source: cdrkit
Version: 9:1.1.11-4
Severity: serious
User: [email protected]
Usertags: cmake-4
Dear maintainer,
During a test rebuild for CMake 4, cdrkit failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for -Wdate-time -D_FORTIFY_SOURCE=2 option for large files... none
needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if gcc accepts -Wall... yes
checking if gcc accepts -W... yes
checking if gcc accepts -Wpointer-arith... yes
checking if gcc accepts -Wbad-function-cast... yes
checking if gcc accepts -Wcast-equal... no
checking if gcc accepts -Wstrict-prototypes... yes
checking if gcc accepts -Wmissing-prototypes... yes
checking if gcc accepts -Wmissing-declarations... yes
checking if gcc accepts -Wnested-externs... yes
checking if gcc accepts -Winline... yes
checking if gcc accepts -Wshadow... yes
checking if gcc accepts -Wcast-align... yes
checking if gcc accepts -pipe... yes
checking for inttypes.h... (cached) yes
checking for sysexits.h... yes
checking for getopt.h... yes
checking for endian.h... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for lchown... yes
checking for utimes... yes
checking for struct stat.st_mtim.tv_usec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for library containing compress2... -lz
checking for library containing getopt_long... none required
checking for getopt_long... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating MCONFIG
config.status: WARNING: 'MCONFIG.in' seems to ignore the --datarootdir setting
config.status: creating config.h
make[1]: Leaving directory '/build/reproducible-path/cdrkit-1.1.11'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/cdrkit-1.1.11'
--- Compiling
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/build/reproducible-path/cdrkit-1.1.11'
cd build && cmake ..
CMake Warning (dev) at CMakeLists.txt:1 (PROJECT):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C 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
Configuring Cdrkit, version 1.1.11
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Check size of char*
-- Check size of char* - done
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/file.h
-- Looking for include file sys/file.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file alloca.h
-- Looking for include file alloca.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file wait.h
-- Looking for include file wait.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
-- Looking for include file sys/poll.h
-- Looking for include file sys/poll.h - found
-- Looking for include file netdb.h
-- Looking for include file netdb.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file linux/pg.h
-- Looking for include file linux/pg.h - found
-- Looking for include file arpa/inet.h
-- Looking for include file arpa/inet.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include files sys/types.h, sys/mman.h
-- Looking for include files sys/types.h, sys/mman.h - found
-- Looking for include files sys/types.h, sys/dkio.h
-- Looking for include files sys/types.h, sys/dkio.h - not found
-- Looking for include files sys/types.h, sun/dkio.h
-- Looking for include files sys/types.h, sun/dkio.h - not found
-- Looking for include file iconv.h
-- Looking for include file iconv.h - found
-- Performing Test USE_LIBC_ICONV
-- Performing Test USE_LIBC_ICONV - Success
-- Performing Test HAVE_DRAND48
-- Performing Test HAVE_DRAND48 - Success
-- Performing Test HAVE_DRAND
-- Performing Test HAVE_DRAND - Failed
-- Performing Test HAVE_GETNAMEINFO
-- Performing Test HAVE_GETNAMEINFO - Success
-- Performing Test HAVE_INET_NTOA
-- Performing Test HAVE_INET_NTOA - Success
-- Performing Test HAVE_UNION_WAIT
-- Performing Test HAVE_UNION_WAIT - Failed
-- Performing Test HAVE_MLOCKALL
-- Performing Test HAVE_MLOCKALL - Success
-- Performing Test HAVE_DYN_ARRAYS
-- Performing Test HAVE_DYN_ARRAYS - Success
-- Looking for include files stdio.h, camlib.h
-- Looking for include files stdio.h, camlib.h - not found
-- Performing Test LIBC_SOCKET
-- Performing Test LIBC_SOCKET - Success
-- Performing Test LIBC_SCHED
-- Performing Test LIBC_SCHED - Success
-- Looking for include file magic.h
-- Looking for include file magic.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for include file sys/capability.h
-- Looking for include file sys/capability.h - found
-- Performing Test USE_LIBC_SOCKET
-- Performing Test USE_LIBC_SOCKET - Success
-- Performing Test USE_LIBC_NLS
-- Performing Test USE_LIBC_NLS - Success
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 4.1)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
-- Configuring incomplete, errors occurred!
make[2]: *** [Makefile:24: build/Makefile] Error 1
make[2]: Leaving directory '/build/reproducible-path/cdrkit-1.1.11'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned
exit code 2
make[1]: *** [debian/rules:31: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/cdrkit-1.1.11'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T15:21:13Z
-------------------------------------------------------------------------------
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/2390127/
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/152543/
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