#1113523 soapysdr: FTBFS with CMake 4

#1113523#5
Date:
2025-08-31 23:04:59 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
Files:
 64fbfc0ed4c4fa4dd3c4fe91ebb8c1c3 131252 soapysdr_0.8.1.orig.tar.gz
 70492ef7b3dd35fa97823e1cef44d30f 7324 soapysdr_0.8.1-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmaKI3MUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpaPRA/8C+TVMyXB4vX0Qav+LzuCv6wrLr+o
umSkCDDvU+Kmvlh0ALYUOKA1mK2MwAY0mQxQ4IlVieRp62Z471gr9GepuLvfJKS8
MuXJe47wDuYCDhvPnqDWUV3jv9KzseQtlojzf8pL0kAC8zD+GWwZN2XQA4p3AAL/
mPS6PAkP8I7lIgbwWOKrdJ/xVGzhDxjQEjYn8gOTCJMU0Ld56OMD0B0R7N3+tn4V
A29dGj1DHVlMgQWwhfe68ieCzCxpAv59e+HzcWSCLGfxqu2BmWudOFXPNM/qdyJY
YAXqVGdpV9QEkRI/HrwDCA4abSXha+6INNGEkVQ9PS0o+eQ4hRGJdU3FneiK3IBX
ZwCRwVKTrdwJCjbjeEtMvxW/sWItzamcvaQK0RMAyz7J6bBSV4JP5dlP8kE8RW8t
KMq0e0A8ATynvJ4bNvtrclHKJPCh2Noxv4HKtOMg/hMZl6Buhy8LB5fM4BKODnVj
ahbPkc5SGB3CQaDV4rOpchVtOfCfkGQDcRKUZ9Mz4WGLDwnmCkmRUs0jnta4EHgY
2pI9QyHLklcVgvBIejivz2tiZz+UsevVlvbkHy10jlOSXuY4SoqRS4OM1CiFXjnk
L4yDNvLKcsO5BMG5Sss32lu2zzdyHEE5XHZe1YJhPs1+OE5ToIBXMrrLSqYj1nn6
viLE2KE98Qr8Tu8=
=VtPJ
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for ./soapysdr_0.8.1-5.dsc: no acceptable signature found
dpkg-source: info: extracting soapysdr in /build/reproducible-path/soapysdr-0.8.1
dpkg-source: info: unpacking soapysdr_0.8.1.orig.tar.gz
dpkg-source: info: unpacking soapysdr_0.8.1-5.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying version-string
dpkg-source: info: applying install-dev-docs
dpkg-source: info: applying remove-distutils.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 soapysdr
dpkg-buildpackage: info: source version 0.8.1-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by tony mancill <tmancill@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --buildsystem=cmake --with=python3
   dh_auto_clean -O--buildsystem=cmake
   dh_autoreconf_clean -O--buildsystem=cmake
   dh_clean -O--buildsystem=cmake
 debian/rules binary
dh binary --buildsystem=cmake --with=python3
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/soapysdr-0.8.1'
dh_auto_configure -- \
	-DCMAKE_AUTOSET_INSTALL_RPATH=FALSE \
	-DLIB_SUFFIX="/aarch64-linux-gnu" \
	-DOVERRIDE_SOAPY_SDR_VERSION="0.8.1-5"
	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 -DCMAKE_AUTOSET_INSTALL_RPATH=FALSE -DLIB_SUFFIX=/aarch64-linux-gnu -DOVERRIDE_SOAPY_SDR_VERSION=0.8.1-5 ..
CMake Error at CMakeLists.txt:4 (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/2411334/ 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/154895/ 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
#1113523#12
Date:
2025-09-01 11:52:35 UTC
From:
To:
I have downgraded the bug to non-RC severity temporarily and reverted
CMake in unstable to version 3.31.6. I plan to re-upgrade in about a
month's time. I realize that despite my April announcement, the upload
to unstable came rather surprising, and I don't want to cause
unnecessary pain.

Also, the build log URL has an unfortunate mistake. The correct URL
should include the workspace, i.e.,

https://debusine.debian.net/debian/developers/artifact/XXXX

CMake 4 will also be available in experimental again, so it can be
used to verify that the bug is fixed.

Cheers
Timo

#1113523#17
Date:
2025-10-03 21:53:55 UTC
From:
To:
Hello,

Bug #1113523 in soapysdr reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-hamradio-team/soapysdr/soapysdr/-/commit/29341e735bd0774e75f76d9ffb5401e271907781

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1113523

#1113523#24
Date:
2025-10-03 22:05:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
soapysdr, 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 1113523@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated soapysdr 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: Fri, 03 Oct 2025 10:47:53 -0700
Source: soapysdr
Architecture: source
Version: 0.8.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1113523
Changes:
 soapysdr (0.8.1-6) unstable; urgency=medium
 .
   * Team upload.
   * Update to build with CMake 4 (Closes: #1113523)
Checksums-Sha1:
 5dc3cb113d6623e5d32574f337c31fff7b916c4c 2482 soapysdr_0.8.1-6.dsc
 ec482b1fc99404b824391b772507080a11336913 7364 soapysdr_0.8.1-6.debian.tar.xz
 2d05de08b3e9a7322e84794cfc8ec7995b558e91 10194 soapysdr_0.8.1-6_amd64.buildinfo
Checksums-Sha256:
 6d2a0b26309191e7d6ff5c4378e3ac079ef6b848ae5386850a977fc98a87cf1e 2482 soapysdr_0.8.1-6.dsc
 fd391cc4eab4e8a2f6a9cab5733c781a7cd9fcc9c82c9215cc6819d973182cf8 7364 soapysdr_0.8.1-6.debian.tar.xz
 5ec3503af576c09092c052a6b0700450aa48b89a960342333778acee3911ec59 10194 soapysdr_0.8.1-6_amd64.buildinfo
Files:
 fb7f261babfbc55a7fd9de8776753aad 2482 hamradio optional soapysdr_0.8.1-6.dsc
 37449f668e7e1b383bae40f8be4fa57a 7364 hamradio optional soapysdr_0.8.1-6.debian.tar.xz
 84ecafd4f2ba69d8b68fa8ff89f96952 10194 hamradio optional soapysdr_0.8.1-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmjgRfEUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpafUQ/+ODLEQITMlSckr4n//sgPRVNIdxCR
BtuIMZel+HpmZv6ueqKAKlyFPra/sDzNn/QMytC9L91B5667FQ+QBlpg46jc2++9
YE1N4RXxKJSNahq9va5rX5vpBBEiNyOi26qmUxvIWMsUEHDeUuIbmlVOqWFFGD+K
E/oUW7E50rR195gZJjBuHwmnudpxvePLrcoQM7c29AJPVLYhXCMor2HIM4wi4bt9
hm+gyEFxSc59ya7XNw01bZaHnK24Fn/aKKZ8zoivykHcMYP7dOJyEqcmsjUsd7fN
wa9IJyuz0R0b7WtE3X9tdqV3WgCsGnY4iQzrBn/flOb0cUjKa9AjYarJ6xPMVRyZ
ZKKchV/YqKQHjfzfgvvu/PcD00kaeKpigm1829XI+doa8cFiryTnJv28c0HvBK6y
YK4QjFL6Xl0SqzeSchOhyT6yfLRIM3efdhvZBG/qurAbS3TXiY1m02dEBDsMHvb6
sRxxBocPxeKl6j8o/f0yMw6DjzqPDFwgFVVMPR9uQgbwAt+CFosllSbubRCF494Q
h77SCRIIu5E7MEl6elBcyFtcvp4Vlx6z4657rQAs3pgqPzvRuQABW8lrh0PtD+O1
b1SSlmKiDo5NGckk8W5uIFC3qzX+LZsGHA7pL56AAfidc1+wuWk1kM0pSvvO+ryx
Xli5Jg7eOi/RL0o=
=gVeo
-----END PGP SIGNATURE-----