Source: firmware-microbit-micropython Version: 1.0.1-4 Severity: serious User: [email protected] Usertags: cmake-4 Tags: ftbfs, forky, sid
Dear maintainer, During a test rebuild for CMake 4, firmware-microbit-micropython failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] +------------------------------------------------------------------------------+ | Build Fri, 29 Aug 2025 18:50:29 +0000 | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: firmware-microbit-micropython Binary: firmware-microbit-micropython, firmware-microbit-micropython-doc Architecture: all Version: 1.0.1-4 Maintainer: Debian Python Team <[email protected]> Uploaders: Nick Morrott <[email protected]> Homepage: https://github.com/bbcmicrobit/micropython Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/firmware-microbit-micropython Vcs-Git: https://salsa.debian.org/python-team/packages/firmware-microbit-micropython.git Build-Depends: cmake, debhelper-compat (= 13), dh-python, gcc-arm-none-eabi, libnewlib-arm-none-eabi, libssl-dev, libstdc++-arm-none-eabi-newlib, ninja-build, python3-setuptools, python3-sphinx, python3-sphinx-rtd-theme, srecord, yotta Package-List: firmware-microbit-micropython deb python optional arch=all firmware-microbit-micropython-doc deb doc optional arch=all Checksums-Sha1: 8786641f6464676842198d31cc116504e85d07c0 590872 firmware-microbit-micropython_1.0.1.orig-yotta-modules.tar.xz 64cf894ce99df6f67c1684cdc91ec86719c8e8b4 10804 firmware-microbit-micropython_1.0.1.orig-yotta-targets.tar.xz 596e88239e5a0a3d40f1381291d9621a8c0dee4a 11209768 firmware-microbit-micropython_1.0.1.orig.tar.xz 83239dc0700e85b3dc78932e20ae2d63ef22a1fe 10084 firmware-microbit-micropython_1.0.1-4.debian.tar.xz Checksums-Sha256: 2c757537b26fb4ab5085986483a3e45ffa48e6d693e568cb7a3ae455518637ab 590872 firmware-microbit-micropython_1.0.1.orig-yotta-modules.tar.xz 746d38a16984ebe66100d33983953871ffac55e8917b1bb387a99f1c34671beb 10804 firmware-microbit-micropython_1.0.1.orig-yotta-targets.tar.xz 8f1041a4ea6424f7a24be499a780a3695685681b1278a24fc2b82b2c2ea8970f 11209768 firmware-microbit-micropython_1.0.1.orig.tar.xz 8256e277a82ca72616aa45fcd9208885b075fa3fe68304d7da7aeef327f3832b 10084 firmware-microbit-micropython_1.0.1-4.debian.tar.xz Files: 7d1ceee6d9b32f98a6b4734f7af612a3 590872 firmware-microbit-micropython_1.0.1.orig-yotta-modules.tar.xz 23259bb3e42d1855f8830b318d4f6ba5 10804 firmware-microbit-micropython_1.0.1.orig-yotta-targets.tar.xz dd9210cb6a0a176bf040653fcfefd525 11209768 firmware-microbit-micropython_1.0.1.orig.tar.xz 49c0eab8afad4ff5226cf7b33c91654d 10084 firmware-microbit-micropython_1.0.1-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEIrPZe+nomMkP9lI7PptZrG7C01kFAmP4LqUACgkQPptZrG7C 01l7eRAAoOfyIk+toFiO0tEyB+H5TB0uDeg/y9hT/3cBBAZxRgHYnK/KBriD0PSH 2CdQW/xT2onrISzohW4CKnWfyhot3i7pB7q9R8bZ4XQFTfL5fPMb0KPX26WQDeX+ K6L8ChEYLw5ozDagKpTGdL5kvuIMwzJF1o4Ma8hSXxyuQQdmwtnPURt/L6TCBymx uhIbQohvciQ9armGNaYNwzixmtNHddInrewZsDquoWpacb2WZNzeS5Y+s3R5CRlZ GZN0xVsfaKtvfzOqjjIZTy55QooEz0QRLGcfvtX+HZbyXF71SoVnGoqk8fKnI21S 9FSJh5vK5IYCwppPXIORSdBhurwy1Y7o+JpTycxEee/xIgaKPSr2wOM7lQDKocGG X417PFojTBOsBZu5+E/wNpeUCScHSqfhkpbn7qnYBx0+FdH84dmZVZWSnZvpwPAm 3rvgzekytwhlxAfBOdVkKMjVmCc4tHj8QYCnbeGUr7nrjkMbDago+RyZ42cuy4YO 8OXeenK9Qj8NnL0wOt/lFhSsLh7yx6fQp8rgccTHbCr3iDiZ5EvOAg07UEZTiI7u yxOpSpDMoTp6U3QU46Ui7kRxvE4lzEq7BRhr8mR72ie8Iyqkez8uflFvY8R5+htO Up7d/l8SlHA8ewWkwgDuPWjgReg1n+lLDphBD1sCB18fQoq/C4s= =01k+ -----END PGP SIGNATURE----- dpkg-source: warning: cannot verify inline signature for ./firmware-microbit-micropython_1.0.1-4.dsc: no acceptable signature found dpkg-source: info: extracting firmware-microbit-micropython in /build/reproducible-path/firmware-microbit-micropython-1.0.1 dpkg-source: info: unpacking firmware-microbit-micropython_1.0.1.orig.tar.xz dpkg-source: info: unpacking firmware-microbit-micropython_1.0.1.orig-yotta-modules.tar.xz dpkg-source: info: unpacking firmware-microbit-micropython_1.0.1.orig-yotta-targets.tar.xz dpkg-source: info: unpacking firmware-microbit-micropython_1.0.1-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying use-python3-in-makefile dpkg-source: info: applying use-yotta-command-in-makefile dpkg-source: info: applying disable-intersphinx-when-generating-sphinx-docs dpkg-source: info: applying disable-mathjax-when-generating-sphinx-docs dpkg-source: info: applying set-yotta-build-target dpkg-source: info: applying 1.0.1-documentation-fixes 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 firmware-microbit-micropython dpkg-buildpackage: info: source version 1.0.1-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nick Morrott <[email protected]> dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --with sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' dh_auto_clean rm -rf build rm -rf tools/__pycache__ rm -f inc/genhdr/microbitversion.h make[1]: Leaving directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' dh_clean rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/firmware-microbit-micropython.substvars debian/firmware-microbit-micropython-doc.substvars debian/files rm -fr -- debian/firmware-microbit-micropython/ debian/tmp/ debian/firmware-microbit-micropython-doc/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --with sphinxdoc dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' # rename directories created from components tarballs (we note that # the underscore is not valid in the "component name" section of the # original source tarball filename, so must handle it here) mv yotta-targets yotta_targets mv yotta-modules yotta_modules # build the firmware make all make[2]: Entering directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' python3 tools/makeversionhdr.py inc/genhdr/microbitversion.h Generate inc/genhdr/microbitversion.h info: generate for target: bbc-microbit-classic-gcc-nosd 0.2.3 at /build/reproducible-path/firmware-microbit-micropython-1.0.1/yotta_targets/bbc-microbit-classic-gcc-nosd CMake Error at CMakeLists.txt:3 (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! error: command ['cmake', '-D', 'CMAKE_BUILD_TYPE=RelWithDebInfo', '-G', 'Ninja', '.'] failed make[2]: *** [Makefile:19: yotta] Error 1 make[2]: Leaving directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' make[1]: *** [debian/rules:26: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/reproducible-path/firmware-microbit-micropython-1.0.1' make: *** [debian/rules:11: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2025-08-29T18:50:35Z ------------------------------------------------------------------------------- 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/2392397/ 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/152879/ 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

