ubuntu_seccomp test failed to compile on P-lts / T-lts

Bug #1849246 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

After we updated our source for the ubuntu_seccomp test: https://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?id=f74f29a130cf6f8391c8c050f820ef3ceadbf21a

The test will failed to build on P-lts:
* Command:
    make
Exit status: 2
Duration: 0.538698911667

stdout:
make --quiet --no-print-directory all-recursive
Making all in include
Making all in src
Making all in .
  CC libseccomp_la-api.lo
  CC libseccomp_la-system.lo
stderr:
system.c: In function 'sys_notify_alloc':
system.c:357:16: error: '__NR_seccomp' undeclared (first use in this function)
system.c:357:16: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libseccomp_la-system.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Po-Hsu Lin (cypressyew)
tags: added: 3.13 amd64 precise sru-20190930 ubuntu-seccomp
Po-Hsu Lin (cypressyew)
tags: added: 4.4 sru-20191021 trusty
Po-Hsu Lin (cypressyew)
summary: - ubuntu_seccomp test failed to compile on P-lts
+ ubuntu_seccomp test failed to compile on P-lts / T-lts
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Seems to be fixed with a recent commit in libseccomp upstream:
https://github.com/seccomp/libseccomp/commit/1ecdddb2a5b61cf527d1f238f88a9d129239f87a

The test can be compiled on Trusty now.
Closing it.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.