[Pkg-giraffe-maintainers] Bug#1113219: libvmime: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Sun Aug 31 23:59:22 BST 2025


Source: libvmime
Version: 0.9.2-9
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
Architecture: any all
Version: 0.9.2-9
Maintainer: Giraffe Maintainers <pkg-giraffe-maintainers at alioth-lists.debian.net>
Uploaders:  Carsten Schoenert <c.schoenert at t-online.de>,
Homepage: http://www.vmime.org/
Standards-Version: 4.7.2
Vcs-Browser: https://salsa.debian.org/giraffe-team/libvmime
Vcs-Git: https://salsa.debian.org/giraffe-team/libvmime.git
Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5), cmake, libgnutls28-dev (>= 3.4.0), libgsasl-dev, libgtk-3-dev, sendmail
Build-Depends-Indep: asciidoc-base, doxygen, graphviz
Package-List:
 libvmime-dev deb libdevel optional arch=any
 libvmime1-doc deb doc optional arch=all
 libvmime1t64 deb libs optional arch=any
Checksums-Sha1:
 ff9be40cc9fb5d0218ef6e585b1943018504aebe 383144 libvmime_0.9.2.orig.tar.xz
 8b528cd1d4c3cf48aa513972e44560fa8d50063d 14516 libvmime_0.9.2-9.debian.tar.xz
Checksums-Sha256:
 f9d6aaaa2088f19036556a06f1b795141357c9188db7754aab139fe8f84cb860 383144 libvmime_0.9.2.orig.tar.xz
 f94cc00a3ad1dd8b68e0f1cb7f2a7c34c4d286b4c0f1afab29fa1d7097a9a405 14516 libvmime_0.9.2-9.debian.tar.xz
Files:
 093b6e714f8f95f7dad586f0f64eec3b 383144 libvmime_0.9.2.orig.tar.xz
 d9e247842ce703afb48915a1e23cb851 14516 libvmime_0.9.2-9.debian.tar.xz


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

iQJMBAEBCgA2FiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmfgEI4YHGMuc2Nob2Vu
ZXJ0QHQtb25saW5lLmRlAAoJEIMBYBQlHR2wuEcP+wb4K2HD0yxO01ZtorXUyLnh
F1nhFmqionNRkaMVKZNh1PHJ/Qdc3r5MdTFlU1a8dFHDRjWbsyP8UQf72dijllFM
DwC5lzzrhUWAheo3PMGT1U9IK+H6++E1xcbB7OUlucZuJNjpTKOQG4CgDzTfZ6hz
vz1v7uw3T9MJfL3CKjxGvFojXZ4exnBwPl+51ckWMgvLcz4ys0HA1//pZwoORK1J
DHTEHgQjZGmew+W5F6atIOM9/SfXSdV9LqEa72h2faqdxUrunXokQIoHjGaXs15D
Mf+lI5wFu8dxk5GKnFc9QfgEjYZW5Mse6idxlFN7Ksgb4Wfc+1tnZUazr6edPIbf
vkblwI0E8rVnJhZ1v0T77LXX6eE73xjfX4BGS8tPtk9h/zWBSBuCdWuimatMXIma
T2V+QDe8fbjrneOXj/hGQnvw0cRmeAknVyh674zL1jT4VdeloGez6yQ3WDqCLrRi
0/Z5HaYcItwYfG9Z+gmgf7CYB1R8Ih/H2I/ulioYyG0TUSDKNDbP5My/NEuLyqVo
UDbkLRR92w5BCoTqiz79CnzVEM89ktoQTaKvgkLaRwhCm0uCjQy5yUZrU8DefCAZ
cWc/KuiZH3auvaVbiwlqLh9BmsMVG/9TEOFweVXLiq0/BzxraLK6fa9s6rclqOuf
ZKIq822nFXpS17UkXSJy
=GXy0
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./libvmime_0.9.2-9.dsc: no acceptable signature found
dpkg-source: info: extracting libvmime in /build/reproducible-path/libvmime-0.9.2
dpkg-source: info: unpacking libvmime_0.9.2.orig.tar.xz
dpkg-source: info: unpacking libvmime_0.9.2-9.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying fix-upstream/spellcheck-fixup-wrong-written-words-occurred.patch
dpkg-source: info: applying porting-kfreebsd-hurd/adding-alternative-getThreadId-implementation.patch
dpkg-source: info: applying fixes/Avoid-extern-C-blocks-around-ICU-includes.patch
dpkg-source: info: applying fixes/Don-t-use-deprecated-gsasl-symbols.patch
dpkg-source: info: applying fixes/Compatibility-Use-C99-C-analogues-for-TRUE-FALSE.patch
dpkg-source: info: applying fixes/build-upgrade-to-C-17-when-ICU-is-used-310.patch

Install fakeroot
----------------


Setup apt archive
-----------------

Merged Build-Depends: fakeroot
Filtered Build-Depends: fakeroot
dpkg-deb: building package 'sbuild-build-depends-fakeroot-dummy' in '/build/reproducible-path/resolver-LQnBvq/apt_archive/sbuild-build-depends-fakeroot-dummy.deb'.
Ign:1 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ InRelease
Get:2 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ Release [615 B]
Ign:3 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ Release.gpg
Get:4 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ Sources [1337 B]
Get:5 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ Packages [1383 B]
Fetched 3335 B in 0s (157 kB/s)
Reading package lists...
Ign:1 file:/build/reproducible-path/resolver-A9Fu3L/apt_archive ./ InRelease
Get:2 file:/build/reproducible-path/resolver-A9Fu3L/apt_archive ./ Release [606 B]
Get:2 file:/build/reproducible-path/resolver-A9Fu3L/apt_archive ./ Release [606 B]
Ign:3 file:/build/reproducible-path/resolver-A9Fu3L/apt_archive ./ Release.gpg
Reading package lists...
Reading package lists...

Install fakeroot build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  fakeroot libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot sbuild-build-depends-fakeroot-dummy
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 106 kB of archives.
After this operation, 465 kB of additional disk space will be used.
Get:1 copy:/build/reproducible-path/resolver-LQnBvq/apt_archive ./ sbuild-build-depends-fakeroot-dummy 0.invalid.0 [832 B]
Get:2 http://deb.debian.org/debian sid/main arm64 libfakeroot arm64 1.37.1.2-1 [29.7 kB]
Get:3 http://deb.debian.org/debian sid/main arm64 fakeroot arm64 1.37.1.2-1 [75.4 kB]
Fetched 106 kB in 0s (1689 kB/s)
Selecting previously unselected package libfakeroot:arm64.
(Reading database ... 32804 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.37.1.2-1_arm64.deb ...
Unpacking libfakeroot:arm64 (1.37.1.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.37.1.2-1_arm64.deb ...
Unpacking fakeroot (1.37.1.2-1) ...
Selecting previously unselected package sbuild-build-depends-fakeroot-dummy.
Preparing to unpack .../sbuild-build-depends-fakeroot-dummy_0.invalid.0_arm64.deb ...
Unpacking sbuild-build-depends-fakeroot-dummy (0.invalid.0) ...
Setting up libfakeroot:arm64 (1.37.1.2-1) ...
Setting up fakeroot (1.37.1.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up sbuild-build-depends-fakeroot-dummy (0.invalid.0) ...
Processing triggers for man-db (2.13.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libc-bin (2.41-12) ...

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 libvmime
dpkg-buildpackage: info: source version 0.9.2-9
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Carsten Schoenert <c.schoenert at t-online.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory '/build/reproducible-path/libvmime-0.9.2'
rm -rf debian/build
dh_clean
make[1]: Leaving directory '/build/reproducible-path/libvmime-0.9.2'
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/libvmime-0.9.2'

######################
# configure libvmime #
######################

# libvmime doesn't have preconfigured cmake options for using dh_auto_configure
# so we need to call the cmake setup manually.
mkdir -p debian/build; \
cd debian/build; \
cmake -DCMAKE_C_COMPILER="cc" -DCMAKE_CXX_COMPILER="g++" -DCMAKE_CXX_FLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/libvmime-0.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2" -DCMAKE_SHARED_LINKER_FLAGS_RELEASE="-Wl,-z,relro -Wl,-z,now" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DVMIME_BUILD_SAMPLES=OFF -DVMIME_INSTALL_LIBDIR="/usr/lib/aarch64-linux-gnu" -DVMIME_TLS_SUPPORT_LIB=gnutls -G "Unix Makefiles" /build/reproducible-path/libvmime-0.9.2 
CMake Error at CMakeLists.txt:15 (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]: *** [debian/rules:53: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/libvmime-0.9.2'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T04:51:42Z

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

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

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

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



More information about the Pkg-giraffe-maintainers mailing list