On 2020-03-20 19:35, Michael Biebl wrote: > Am 20.03.20 um 19:21 schrieb Michael Biebl: > > Am 20.03.20 um 17:49 schrieb Aurelien Jarno: > >> So you were right that there are way more things to change than my > >> initial patch. I came up with the attached patch. With it I confirm that > > > > Thanks. I've forwarded it as > > https://github.com/systemd/systemd/pull/15176 > > > > Hm, CI is not too happy about this change: > > E.g. > > https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-upstream-systemd-ci-systemd-ci/bionic/amd64/s/systemd-upstream/20200320_182434_e119c@/log.gz > > > ../src/shared/seccomp-util.c: In function ‘seccomp_arch_to_string’: > ../src/shared/seccomp-util.c:136:14: error: ‘SCMP_ARCH_RISCV64’ > undeclared (first use in this function); did you mean ‘SCMP_ARCH_PARISC64’? > case SCMP_ARCH_RISCV64: > ^~~~~~~~~~~~~~~~~ > > I guess we need a libseccomp >= 2.4.0 > meson.build currently has 2.3.1 as min version.
Please note that a modified patch with #ifdef hackery to support older libseccomp versions has been merged upstream. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
signature.asc
Description: PGP signature