Snaps with cmake plugin fail to build on arm64

Since recently Snapcraft builds using the cmake plugin fail on the arm64 architecture with an error:

Cannot find package listed in 'build-packages': cmake

amd64 builds still pass.

I can’t say exactly when it started failing, but for some time range: Builds were passing on Oct. 11th, but I see the error in a build from Oct. 15th. Nothing changed in the snapcraft.yaml in between.

I see this with builds for GitHub - metabrainz/picard-snap: Code for snapping MusicBrainz Picard · GitHub

Relevant log output:

[...]
Running pull phase...
[29/Oct/2026:09:36:50 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/libk/libksba/libksba8_1.6.6-1build1_arm64.deb HTTP/1.1" 200 119476 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:51 +0000] "GET http://ftpmaster.internal/ubuntu/pool/main/g/gnupg2/dirmngr_2.4.4-2ubuntu17.6_arm64.deb HTTP/1.1" 200 316344 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
Adding repository architecture: arm64
Refreshing repositories
[29/Oct/2026:09:36:52 +0000] "GET http://ftpmaster.internal/ubuntu/dists/noble/InRelease HTTP/1.1" 304 - "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:53 +0000] "GET http://ftpmaster.internal/ubuntu/dists/noble-security/InRelease HTTP/1.1" 304 - "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:53 +0000] "GET http://origin.archive.neon.kde.org/user/dists/noble/InRelease HTTP/1.1" 200 203092 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:53 +0000] "GET http://ftpmaster.internal/ubuntu/dists/noble-updates/InRelease HTTP/1.1" 304 - "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:54 +0000] "GET http://origin.archive.neon.kde.org/user/dists/noble/main/binary-arm64/Packages.bz2 HTTP/1.1" 200 2912420 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:54 +0000] "GET http://origin.archive.neon.kde.org/user/dists/noble/main/binary-all/Packages.bz2 HTTP/1.1" 200 1179911 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
[29/Oct/2026:09:36:56 +0000] "GET http://origin.archive.neon.kde.org/user/dists/noble/main/binary-amd64/Packages.bz2 HTTP/1.1" 200 4444838 "-" "Debian APT-HTTP/1.3 (2.8.3) non-interactive"
Package repositories installed
Initializing lifecycle
Installing build-packages
Cannot find package listed in 'build-packages': cmake
Full execution log: '/root/.local/state/snapcraft/log/snapcraft-20261029-093643.907658.log'
Build failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 341, in run
    self.pull()
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 264, in pull
    self.run_build_command(
  File "/usr/lib/python3/dist-packages/lpbuildd/target/operation.py", line 70, in run_build_command
    return self.backend.run(args, cwd=cwd, env=full_env, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 736, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-noble-arm64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'HTTP_PROXY=http://10.10.10.1:8222/', '--env', 'HTTPS_PROXY=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--env', 'LAUNCHPAD_INSTANCE=production', '--env', 'LAUNCHPAD_SERVER_URL=launchpad.net', '--env', 'SNAPCRAFT_LOCAL_SOURCES=1', '--env', 'SNAPCRAFT_SETUP_CORE=1', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build-request-id": "lp-121649575", "build-request-timestamp": "2026-10-29T09:30:09Z", "build_url": "https://launchpad.net/~build.snapcraft.io/+snap/ba9e2ac8de79cecc15214a03a1e83e01/+build/3330963"}', '--env', 'SNAPCRAFT_BUILD_ENVIRONMENT=host', '--', '/bin/sh', '-c', 'cd /build/picard && linux64 snapcraft pull']' returned non-zero exit status 1.
Revoking proxy token...
[Thu Oct 29 09:37:05 2026]
RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=lxd --series=noble --abi-tag=arm64 --isa-tag=arm64 SNAPBUILD-3330963
Scanning for processes to kill in build SNAPBUILD-3330963

oHi,

1/ you use a custom (and full) package repository “origin.archive.neon.kde.org”
and
2/ and it’s in concurrence (they both contain cmake and dependencies) with core24 package repository.

I don’t remember what is default priority for “package-repositories” (and it’s not written in the doc).

So, many things to check: kde repository (cmake seems to be available), priority and concurrency (check with priority ‘always’), dependencies versions if repositories mismatch.

Thanks for the hint. Setting the priority of the neon PPA to “defer” seems to have helped (in this case it is only needed to download one extra package).