Bug#1106081: snapd: FTBFS: cannot use memory quota: cannot find memory
From Santiago Vila@21:1/5 to All on Mon May 19 15:00:01 2025
Package: src:snapd
Version: 2.57.6-1
Severity: important
Control: close -1 2.68.3-2
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
Note: This happens when building on a trixie host, i.e. using the kernel of trixie.
If the package ever needs an update for bookworm after the release of trixie, it would be a serious problem. In either case, it's considered desirable that we can build all bookworm packages from trixie.
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build --buildsystem=golang --with=golang --fail-missing --with systemd --builddirectory=_build
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config -O--buildsystem=golang -O--fail-missing -O--builddirectory=_build
dh_auto_configure -O--buildsystem=golang -O--fail-missing -O--builddirectory=_build
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ldd: _build/bin/snap-exec: No such file or directory
ldd: _build/bin/snap-update-ns: No such file or directory
[... snipped ...]
--- FAIL: TestOverlord (31.43s)
FAIL
FAIL github.com/snapcore/snapd/overlord 31.499s
AppArmor status: apparmor not enabled
=== RUN TestAssertManager
OK: 94 passed
--- PASS: TestAssertManager (0.76s)
PASS
ok github.com/snapcore/snapd/overlord/assertstate 0.793s
? github.com/snapcore/snapd/overlord/assertstate/assertstatetest [no test files]
=== RUN Test
OK: 22 passed
--- PASS: Test (0.00s)
PASS
ok github.com/snapcore/snapd/overlord/auth 0.004s
AppArmor status: apparmor not enabled
=== RUN TestCommand
OK: 8 passed
--- PASS: TestCommand (0.41s)
PASS
ok github.com/snapcore/snapd/overlord/cmdstate 0.416s
AppArmor status: apparmor not enabled
=== RUN TestConfigState
OK: 19 passed
--- PASS: TestConfigState (0.01s)
PASS
ok github.com/snapcore/snapd/overlord/configstate 0.049s
=== RUN TestT
OK: 25 passed
--- PASS: TestT (0.00s)
PASS
ok github.com/snapcore/snapd/overlord/configstate/config 0.008s
=== RUN Test
OK: 149 passed, 21 skipped
--- PASS: Test (0.42s)
P