#1113166 libkml: FTBFS with CMake 4

#1113166#5
Date:
2025-08-31 22:58:25 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmXjFFwACgkQZ1DxCuiN
SvFmcw//RBPUXS7ugkJx4UzxUvBqKBZYhXMk8x63veidG1A5yK40ipXYdy5bFGYf
pbyp3Nv7Z55NmQQ/+QuG/uazFrFIJzd/GrR4JDTBita/CuN6jCxUh5hSZ610fAYB
M80zRseB9fQ/SNRUJrVp1SUwuIodBwPp+lv46D/EdEJjuzQ7vb0TjFuBgz6d8g5s
/0wba9VeBGRRse+m2Dv8/Ev1aDuJIkRJ+GBd8+3dxNAbpv/gjl1wWzVpQ0GB0fbR
SgNV6xKqptYstoBODehbWHMtn56xvoQXa6YiUK4pnxpQatnQs2FlDr8zwm0WfGQU
VeC2TKE2hknUazQ7uT4PNmlIrg824tGEhOeRocYh95UqKsG6YQnRXpEToyRiCEvG
ML5fwUcw07C7OyiPMxG2oH2iS12vs9dVuU4jUbPPZPXTawv8CUCEIWDvwrmnZQyk
jRhUvq6DaAVYdFgDO2iL6cJQNKr0cILxmUDMy4NGBKYRbsI9AC2UFLt9UU5ONEwB
GvPfoG5SKt24jW+1HHkOmh8WaUJVk8/or5fR4VrU8pVah6feu3VPtxo5X2OYAYn8
UJpRVI/O7X7zfbnMMDdPd5kGyR1sD2fUG8fDPvtpx5zcXI+pmblRTRVg1vyYoQ+P
vmHAnWmwHRRqzPZIE5ZI0TZ9NDNUcEAtxGtqelUBfUC7jX8L4MU=
=rb2P
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./libkml_1.3.0-12.dsc: no acceptable signature found
dpkg-source: info: extracting libkml in /build/reproducible-path/libkml-1.3.0
dpkg-source: info: unpacking libkml_1.3.0.orig.tar.gz
dpkg-source: info: unpacking libkml_1.3.0-12.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying wrong-path-for-interpreter.patch
dpkg-source: info: applying python3.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 libkml
dpkg-buildpackage: info: source version 1.3.0-12
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/libkml-1.3.0'
dh_auto_configure -- \
	-DLIB_INSTALL_DIR=/usr/lib/aarch64-linux-gnu \
	-DCMAKE_INSTALL_DIR=/usr/lib/aarch64-linux-gnu/cmake/libkml \
	-DBUILD_TESTING=OFF \
	-DBUILD_EXAMPLES=OFF \
	-DINSTALL_EXAMPLES=OFF
	cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/aarch64-linux-gnu -DLIB_INSTALL_DIR=/usr/lib/aarch64-linux-gnu -DCMAKE_INSTALL_DIR=/usr/lib/aarch64-linux-gnu/cmake/libkml -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DINSTALL_EXAMPLES=OFF ..
CMake Error at CMakeLists.txt:1 (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.
------------------------------------------------------------------------------- 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/2401071/ 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/153797/ 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
#1113166#10
Date:
2025-09-01 04:48:45 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libkml, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1113166@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@debian.org> (supplier of updated libkml package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 06:35:32 +0200
Source: libkml
Architecture: source
Version: 1.3.0-13
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Closes: 1113166
Changes:
 libkml (1.3.0-13) unstable; urgency=medium
 .
   * Bump Standards-Version to 4.7.2, no changes.
   * Add patch to fix FTBFS with CMake 4.x.
     (closes: #1113166)
   * Update lintian overrides.
   * Update symbols for amd64.
Checksums-Sha1:
 98e88dbdb2782a4f20e8d59544c7d81cc5f71543 2543 libkml_1.3.0-13.dsc
 d7af4f3f4d8957e065d609f877fa766e7a0f2979 26372 libkml_1.3.0-13.debian.tar.xz
 d4728ecbe968c918a9b927bd786016ec51f18349 13623 libkml_1.3.0-13_amd64.buildinfo
Checksums-Sha256:
 7717d6fc9da577089d2dfd91d227802b2db30697be4e462abe2f6798e3264c57 2543 libkml_1.3.0-13.dsc
 0e22bc95d04b906bce4bb6ad4ff5d4ececbf27147d1f6697525324fd8e586f60 26372 libkml_1.3.0-13.debian.tar.xz
 7ddf5fb236c61adb8eed95f9b772bf8d6cb5ef021e7e7d758364c6b45c6f5cf1 13623 libkml_1.3.0-13_amd64.buildinfo
Files:
 e753164a39054078ac9ae168f4cdeda8 2543 science optional libkml_1.3.0-13.dsc
 c3083145e66059fa6403e181d22c0384 26372 science optional libkml_1.3.0-13.debian.tar.xz
 86013b45cc9e72473a4d8492906ee62b 13623 science optional libkml_1.3.0-13_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmi1IyAACgkQZ1DxCuiN
SvHqzRAAmQOTZeINDV8ROTBFScRiA9V7PNKCjLpeGppbDgb1zt8HLaXOGHhflZ7O
XbaaBIC5xGInH/UTkAvmNrOTxg2phte3ZZAe173NGQcMH53AFTIK4jGN9iyR3+qi
G37Tc2UKvb8unrht3EtcqJfbfO7oxKzgGkJvkfP80ekJeo1PaYrGyr8iZuhvWalS
CEuqJhZyMfe1K7mblxi07/I1rIhyYzmnB+lDQrnUZ9WzvtEd8iFmJ6/ClLzFydhQ
Nmr+kp5CQbU18LwUOBoe/aUXI6DicQPDcbiM0WDXaeeOaOf+f/hHbLV1DBeQjeg8
oN8dAFeVkuZFsmZh04j+4gBhLOQId80AtHRiFhJCgtEbTS8NA0TgRRPzo3YLckOK
iJZ+2G/HEqV0yjaiQL+G4dreFKXDj1T1cvgmQrtlraOfCQDs4HbLMxR0X1AaFaQ/
ooskrzSs0G6e2DBGZHHa/GjZmY5hAnX3qawOmBvU4Hxxz6un89xJBz9bMH4n7OI4
Qxrjz50viYFRf/nVCWljLjHUNu3HnQpXRP6SJXgmi10lfVDIhkVaBdNhQjdOtNwK
5jNcnqL26Rqk3Ue6mEAt6L/EPYG7Y0JK/aMpAHn+nNYbt9HhAvMmKDN6wJNFTIbJ
1JlbzMoog48ZS1UFQqyGqpA1ImATLwmSWDh5/0xJGfpCK8g+rq4=
=bbge
-----END PGP SIGNATURE-----