[Pkg-utopia-maintainers] Bug#1133443: cockpit: ftbfs with GCC-16
Martin Pitt
mpitt at debian.org
Thu Apr 23 07:30:46 BST 2026
Hello Emanuele,
Emanuele Rocca [2026-04-22 18:11 +0200]:
> Instead of installing systemd, aspcud ends up installing
> systemd-standalone-sysusers. The build environment thus has no
> /etc/shadow at all.
Ah, thanks for resolving the mystery! I was already wondering why the error
message looked a bit different than what I got with running as root.
> > I fixed the test in the above PR to skip that bit when running as root.
>
> Glad there was at least some productive outcome. :-)
I could also fix it by checking for file existence first, but TBH I'm not super
keen on adding ever more "if"s to tests. AFAIUI, it's all good for the purposes
of this bug?
> While investigating this issue, I noticed that pytest is only running on
> the Arch: all buildds, which are x86. That means that the package is not
> tested on any other architecture really. Is this on purpose?
It's on purpose in the sense that it runs pytest against the installed package,
to make sure the wheel/installation process was correct and complete. That of
course only works when we actually install cockpit-bridge.deb. It's not optimal
wrt. covering other architectures, but at least we do cover aarch64 (and until
recently, also s390x for some big-endian fun) in upstream tests, which I think
is good enough -- arch specific issues are rare in Python.
Thanks,
Pitti
More information about the Pkg-utopia-maintainers
mailing list