You upgraded to gcc-13 and that has broken a bunch of stuff.
For 21 you need https://github.com/bareos/bareos/commit/2bb7d74215bf6ae4f350de11bff04b68cf3c82b3.patch
Also in PKGBUILD build() .. -DCMAKE_CXX_FLAGS="-Wno-use-after-free" \ -DCMAKE_C_FLAGS="-Wno-use-after-free" \ because otherwise some test fails.
And you need
+#include <system_error> +
in core/src/stored/dev.cc.
Pinned Comments