Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

Aurelien Jarno aurel32 at debian.org
Fri Aug 21 09:18:00 BST 2020


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
aurelien at aurel32.net                 http://www.aurel32.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200821/b105c888/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list