[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1112877: eurephia: FTBFS with CMake 4



Source: eurephia
Version: 1.1.1-3
Severity: serious
User: cmake@packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

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

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

+------------------------------------------------------------------------------+
| Build                                        Fri, 29 Aug 2025 17:49:00 +0000 |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 3.0 (quilt)
Source: eurephia
Binary: eurephia
Architecture: any
Version: 1.1.1-3
Maintainer: Debian QA Group <packages@qa.debian.org>
Homepage: http://www.eurephia.net/
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/debian/eurephia
Vcs-Git: https://salsa.debian.org/debian/eurephia.git
Build-Depends: cmake, debhelper-compat (= 13), libsqlite3-dev, libssl-dev, libxml2-dev, libxslt1-dev, openvpn (>= 2), pkgconf
Package-List:
 eurephia deb net optional arch=any
Checksums-Sha1:
 99f311016ad3990b24a97df158c8d68555f443c7 157740 eurephia_1.1.1.orig.tar.xz
 b4893bc7b833db9be3460f692a9f9ceca021473c 4996 eurephia_1.1.1-3.debian.tar.xz
Checksums-Sha256:
 f163fa635e3d3496d82411423c9e1235090b3cb46bb0748c211f7d7fde89b5ee 157740 eurephia_1.1.1.orig.tar.xz
 86e13a98a6a6ef82b24cdb63e91c89b87def674c7f3618409f10c40587f5d372 4996 eurephia_1.1.1-3.debian.tar.xz
Files:
 a941496a0bd218d3e3a83384482cc888 157740 eurephia_1.1.1.orig.tar.xz
 8f8dc3d09c10bc2eed72d22f4ca77af6 4996 eurephia_1.1.1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmZz3KEQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCG/AD/9KY0eJ9nCXc2j3VtBYsncAcUnPD7CA9lWz
k2ofl2liKWEmoyZsyOCEvCZm+ppfQwW/EUtqmFFCwTqU3GHkxcIqzMqTwGQ0IpzL
I3F8l2nyv5fKWrs9syWXAmHzYiGP1XIMDr/NjevOt1Vz0KEWDJm6OIKvHVrTfLWl
Ag34SF+4TglVwZci+DCFHdPlSUhrvfj/cbaaR5qfNKlYP93R4iOULBEWOujLgexh
a07Vf9fPX8wMnjaSaoktYDgLRJZnNV9dEVJl7faICLEKYO+f/RRq6Kzp4SwPjYUV
LvcfwKktEK1J7KF3NQU2qFLWQnkISz2OkJnWgeFgHmqJt9kHostadK9feq8fGCZ1
7SqpJ+ITHpXLjdxcp9OJ7Lviq/cIUrHLZchQvG5hylPmPzbWA69xQWBvP8C4We7Z
/uHzQHd6NxV1a8Nq3yqLcZWj7ON/kwyFFMXWYsFKS9HmF4/W0YpFMfuUhRJm+Jzl
ypryZtttlufTnhsclwRXs6bd7HmJLBU5VvsvnHtwEu3b8eb/DBoQQ4/evQw1zFI2
acjUMsJLCWmdwLc1owph/70pL1MqJHU5Put9oUnRWJ9UX08Ytv0xzN2SX7LQE6Lx
S1lILe915s16Vr/McyzirXkGGlVXeRMVYuzXKlOAQpJK7ClYUCbx+86AezwBqqIe
VP92MaQ3vQ==
=1Bj/
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./eurephia_1.1.1-3.dsc: no acceptable signature found
dpkg-source: info: extracting eurephia in /build/reproducible-path/eurephia-1.1.1
dpkg-source: info: unpacking eurephia_1.1.1.orig.tar.xz
dpkg-source: info: unpacking eurephia_1.1.1-3.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying reproducible-build.patch
dpkg-source: info: applying 0002-utils-CMakeLists.txt-Disable-eurephia_init-RPATH.patch
dpkg-source: info: applying missing-prototypes.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 eurephia
dpkg-buildpackage: info: source version 1.1.1-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --no-parallel
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/eurephia-1.1.1'
rm -rf configure.log
make[1]: Leaving directory '/build/reproducible-path/eurephia-1.1.1'
   dh_autoreconf_clean -O--no-parallel
   dh_clean -O--no-parallel
 debian/rules binary
dh binary --no-parallel
   dh_update_autotools_config -O--no-parallel
   dh_autoreconf -O--no-parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/eurephia-1.1.1'
CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eurephia-1.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -fPIC -std=gnu89 -fcommon -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -Wl,-z,now" ./configure --prefix /usr --plug-in --fw-iptables --db-sqlite3 --sqlite3-path /var/lib/eurephia --eurephiadm --openvpn-src /usr/include/openvpn
#
# Configure run at Fri Aug 29 17:49:08 UTC 2025
# Linux sbuild 6.1.0-38-cloud-arm64 #1 SMP Debian 6.1.147-1 (2025-08-02) aarch64 GNU/Linux
#
# ./configure --prefix /usr --plug-in --fw-iptables --db-sqlite3 --sqlite3-path /var/lib/eurephia --eurephiadm --openvpn-src /usr/include/openvpn

Using cmake version 4.1.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Re-run cmake no build system arguments
-- The C compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Build Platform: Linux
-- Will build database interface for SQLite
-- Will build command line based admin utility
-- Building eurephia plug-in for OpenVPN
-- Looking for endian.h
-- Looking for endian.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for dlclose in dl
-- Looking for dlclose in dl - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for pthread_mutex_unlock in pthread
-- Looking for pthread_mutex_unlock in pthread - found
-- Checking for one of the modules 'openssl'
-- Looking for RAND_load_file in crypto
-- Looking for RAND_load_file in crypto - found
-- Looking for RAND_pseudo_bytes in crypto
-- Looking for RAND_pseudo_bytes in crypto - found
-- Checking for one of the modules 'libxml-2.0;libxml2;libxml>=2.6'
-- Checking for one of the modules 'libxslt'
CMake Error at common/CMakeLists.txt:21 (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.


-- Configuring incomplete, errors occurred!
make[1]: Leaving directory '/build/reproducible-path/eurephia-1.1.1'
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--no-parallel
   dh_prep -O--no-parallel
   dh_installdirs -O--no-parallel
   dh_auto_install --destdir=debian/eurephia/ -O--no-parallel
   debian/rules execute_after_dh_auto_install
make[1]: Entering directory '/build/reproducible-path/eurephia-1.1.1'
install -p -m 755 utils/eurephia_init /build/reproducible-path/eurephia-1.1.1/debian/eurephia/usr/bin/
install: cannot stat 'utils/eurephia_init': No such file or directory
make[1]: *** [debian/rules:27: execute_after_dh_auto_install] Error 1
make[1]: Leaving directory '/build/reproducible-path/eurephia-1.1.1'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T17:49: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/2391644/

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

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