#1112998 hyperscan: FTBFS with CMake 4

#1112998#5
Date:
2025-08-31 22:55:15 UTC
From:
To:
Dear maintainer,

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

Log Summary:
-------------------------------------------------------------------------------
[...]
Preparing to unpack .../45-cmake_4.1.1-1_arm64.deb ...
Unpacking cmake (4.1.1-1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../46-libdebhelper-perl_13.26_all.deb ...
Unpacking libdebhelper-perl (13.26) ...
Selecting previously unselected package libtool.
Preparing to unpack .../47-libtool_2.5.4-4_all.deb ...
Unpacking libtool (2.5.4-4) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../48-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../49-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../50-libfile-stripnondeterminism-perl_1.14.2-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.2-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../51-dh-strip-nondeterminism_1.14.2-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.2-1) ...
Selecting previously unselected package libelf1t64:arm64.
Preparing to unpack .../52-libelf1t64_0.192-4_arm64.deb ...
Unpacking libelf1t64:arm64 (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../53-dwz_0.15-1+b1_arm64.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../54-gettext_0.23.1-2+b1_arm64.deb ...
Unpacking gettext (0.23.1-2+b1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../55-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../56-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../57-debhelper_13.26_all.deb ...
Unpacking debhelper (13.26) ...
Selecting previously unselected package libboost1.83-dev:arm64.
Preparing to unpack .../58-libboost1.83-dev_1.83.0-4.2_arm64.deb ...
Unpacking libboost1.83-dev:arm64 (1.83.0-4.2) ...
Selecting previously unselected package libboost-dev:arm64.
Preparing to unpack .../59-libboost-dev_1.83.0.2+b2_arm64.deb ...
Unpacking libboost-dev:arm64 (1.83.0.2+b2) ...
Selecting previously unselected package libcap-dev:arm64.
Preparing to unpack .../60-libcap-dev_1%3a2.75-10+b1_arm64.deb ...
Unpacking libcap-dev:arm64 (1:2.75-10+b1) ...
Selecting previously unselected package libdbus-1-3:arm64.
Preparing to unpack .../61-libdbus-1-3_1.16.2-2_arm64.deb ...
Unpacking libdbus-1-3:arm64 (1.16.2-2) ...
Selecting previously unselected package libsystemd-dev:arm64.
Preparing to unpack .../62-libsystemd-dev_258~rc3-1_arm64.deb ...
Unpacking libsystemd-dev:arm64 (258~rc3-1) ...
Selecting previously unselected package libpkgconf3:arm64.
Preparing to unpack .../63-libpkgconf3_1.8.1-4_arm64.deb ...
Unpacking libpkgconf3:arm64 (1.8.1-4) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../64-pkgconf-bin_1.8.1-4_arm64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:arm64.
Preparing to unpack .../65-pkgconf_1.8.1-4_arm64.deb ...
Unpacking pkgconf:arm64 (1.8.1-4) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../66-sgml-base_1.31+nmu1_all.deb ...
Unpacking sgml-base (1.31+nmu1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../67-xml-core_0.19_all.deb ...
Unpacking xml-core (0.19) ...
Selecting previously unselected package libdbus-1-dev:arm64.
Preparing to unpack .../68-libdbus-1-dev_1.16.2-2_arm64.deb ...
Unpacking libdbus-1-dev:arm64 (1.16.2-2) ...
Selecting previously unselected package libpcap0.8t64:arm64.
Preparing to unpack .../69-libpcap0.8t64_1.10.5-2_arm64.deb ...
Unpacking libpcap0.8t64:arm64 (1.10.5-2) ...
Selecting previously unselected package libpcap0.8-dev:arm64.
Preparing to unpack .../70-libpcap0.8-dev_1.10.5-2_arm64.deb ...
Unpacking libpcap0.8-dev:arm64 (1.10.5-2) ...
Selecting previously unselected package libpcap-dev:arm64.
Preparing to unpack .../71-libpcap-dev_1.10.5-2_arm64.deb ...
Unpacking libpcap-dev:arm64 (1.10.5-2) ...
Selecting previously unselected package ragel.
Preparing to unpack .../72-ragel_6.10-5_arm64.deb ...
Unpacking ragel (6.10-5) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../73-sbuild-build-depends-main-dummy_0.invalid.0_arm64.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up media-types (13.0.0) ...
Setting up libpipeline1:arm64 (1.5.8-1) ...
Setting up libkeyutils1:arm64 (1.6.3-6) ...
Setting up libboost1.83-dev:arm64 (1.83.0-4.2) ...
Setting up bsdextrautils (2.41.1-1) ...
Setting up libmagic-mgc (1:5.46-5) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libxml2-16:arm64 (2.14.5+dfsg-0.2) ...
Setting up libdebhelper-perl (13.26) ...
Setting up libbrotli1:arm64 (1.1.0-2+b7) ...
Setting up libuv1t64:arm64 (1.51.0-2) ...
Setting up libmagic1t64:arm64 (1:5.46-5) ...
Setting up libnghttp2-14:arm64 (1.64.0-1.1+b1) ...
Setting up gettext-base (0.23.1-2+b1) ...
Setting up m4 (1.4.19-8) ...
Setting up libcom-err2:arm64 (1.47.2-3+b3) ...
Setting up file (1:5.46-5) ...
Setting up libelf1t64:arm64 (0.192-4) ...
Setting up libkrb5support0:arm64 (1.21.3-5) ...
Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-9) ...
Setting up ragel (6.10-5) ...
Setting up autotools-dev (20240727.1) ...
Setting up libpkgconf3:arm64 (1.8.1-4) ...
Setting up libjsoncpp26:arm64 (1.9.6-3) ...
Setting up libdbus-1-3:arm64 (1.16.2-2) ...
Setting up libproc2-0:arm64 (2:4.0.4-9) ...
Setting up libunistring5:arm64 (1.3-2) ...
Setting up autopoint (0.23.1-2) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up libncursesw6:arm64 (6.5+20250216-2) ...
Setting up libk5crypto3:arm64 (1.21.3-5) ...
Setting up libsasl2-2:arm64 (2.1.28+dfsg1-9) ...
Setting up autoconf (2.72-3.1) ...
Setting up libnghttp3-9:arm64 (1.8.0-1) ...
Setting up libffi8:arm64 (3.4.8-2) ...
Setting up dwz (0.15-1+b1) ...
Setting up sensible-utils (0.0.26) ...
Setting up libuchardet0:arm64 (0.0.8-1+b2) ...
Setting up procps (2:4.0.4-9) ...
Setting up libtasn1-6:arm64 (4.20.0-2) ...
Setting up libpcap0.8t64:arm64 (1.10.5-2) ...
Setting up netbase (6.5) ...
Setting up sgml-base (1.31+nmu1) ...
Setting up cmake-data (4.1.1-1) ...
Setting up librhash1:arm64 (1.4.6-1) ...
Setting up libkrb5-3:arm64 (1.21.3-5) ...
Setting up libboost-dev:arm64 (1.83.0.2+b2) ...
Setting up libssh2-1t64:arm64 (1.11.1-1) ...
Setting up libcap-dev:arm64 (1:2.75-10+b1) ...
Setting up libarchive13t64:arm64 (3.7.4-4+b1) ...
Setting up readline-common (8.3-2) ...
Setting up libldap2:arm64 (2.6.10+dfsg-1) ...
Setting up libsystemd-dev:arm64 (258~rc3-1) ...
Setting up automake (1:1.17-4) ...
update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.14.2-1) ...
Setting up gettext (0.23.1-2+b1) ...
Setting up libtool (2.5.4-4) ...
Setting up libidn2-0:arm64 (2.3.8-4) ...
Setting up pkgconf:arm64 (1.8.1-4) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up libp11-kit0:arm64 (0.25.5-3) ...
Setting up libgssapi-krb5-2:arm64 (1.21.3-5) ...
Setting up libreadline8t64:arm64 (8.3-2) ...
Setting up dh-strip-nondeterminism (1.14.2-1) ...
Setting up groff-base (1.23.0-9) ...
Setting up xml-core (0.19) ...
Setting up libpython3.13-stdlib:arm64 (3.13.7-1) ...
Setting up libpython3-stdlib:arm64 (3.13.7-1) ...
Setting up libgnutls30t64:arm64 (3.8.10-2) ...
Setting up python3.13 (3.13.7-1) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libpsl5t64:arm64 (0.21.2-1.1+b1) ...
Setting up python3 (3.13.7-1) ...
Setting up man-db (2.13.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-3) ...
Setting up libcurl4t64:arm64 (8.16.0~rc2-1) ...
Setting up debhelper (13.26) ...
Setting up cmake (4.1.1-1) ...
Processing triggers for libc-bin (2.41-12) ...
Processing triggers for sgml-base (1.31+nmu1) ...
Setting up libdbus-1-dev:arm64 (1.16.2-2) ...
Setting up libpcap0.8-dev:arm64 (1.10.5-2) ...
Setting up libpcap-dev:arm64 (1.10.5-2) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                          Fri, 29 Aug 2025 21:50:51 +0000 |
+------------------------------------------------------------------------------+

E: dsc: arm64 not in arch list or does not match any arch wildcards: any-amd64 i386 kfreebsd-i386 -- skipping

+------------------------------------------------------------------------------+
| Cleanup                                      Fri, 29 Aug 2025 21:50:53 +0000 |
+------------------------------------------------------------------------------+

Purging /build/reproducible-path
Not cleaning session: cloned chroot in use
E: dsc: arm64 not in arch list or does not match any arch wildcards: any-amd64 i386 kfreebsd-i386 -- skipping

+------------------------------------------------------------------------------+
| Summary                                      Fri, 29 Aug 2025 21:50:55 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: arm64
Build Type: binary
Build-Space: n/a
Build-Time: 0
Distribution: sid
Fail-Stage: arch-check
Host Architecture: arm64
Install-Time: 30
Job: /tmp/debusine-fetch-exec-upload-_gy428rl/hyperscan_5.4.2-3.dsc
Machine Architecture: arm64
Package: hyperscan
Package-Time: 0
Source-Version: 5.4.2-3
Space: n/a
Status: skipped
Version: 5.4.2-3
--------------------------------------------------------------------------------
Finished at 2025-08-29T21:49:46Z
Build needed 00:00:00, no disk space
-------------------------------------------------------------------------------

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

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

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

#1112998#12
Date:
2025-09-01 11:51:43 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

#1112998#17
Date:
2025-09-01 09:47:29 UTC
From:
To:
The failure seems to be due to missing arm64 architecture support in the package itself.

As hyperscan is only fully supported with Intel bases CPUs we cannot extend the package to ARM64 at this point.

I will investigate the CMake4 though because upstream seems to be mostly dead and a few PRs about Cmake3 are already open for a long time.

Thanks, Robert

#1112998#22
Date:
2025-09-17 11:54:55 UTC
From:
To:
I checked the build for the intended architectures with the current Cmake 4 version and everything seems to be working fine.

Kind regards,
------------ Robert Haist