[CRIU] seccomp zdtm tests compilation error
Tycho Andersen
tycho.andersen at canonical.com
Mon Nov 30 07:39:22 PST 2015
On Fri, Nov 27, 2015 at 05:57:20PM +0300, Andrew Vagin wrote:
> On Thu, Nov 26, 2015 at 06:24:55PM -0700, Tycho Andersen wrote:
> > Hi Pavel,
> >
> > On Thu, Nov 26, 2015 at 04:33:58PM +0300, Pavel Emelyanov wrote:
> > > Hi, Tycho.
> > >
> > > On Travis we have the same error about absent bpf.h file as we had
> > > in generic criu code:
> > >
> > > https://travis-ci.org/cyrillos/criu/jobs/93309914
> > >
> > > gcc -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -iquote ../../lib/arch/x86/include -I../../lib seccomp_filter_tsync.c ../../lib/libzdtmtst.a -pthread -o seccomp_filter_tsync
> > > seccomp_filter.c:10:23: fatal error: linux/bpf.h: No such file or directory
> > > compilation terminated.
> >
> > Whoops, sorry about that. The attached patch should fix it. [Also
> > sorry for the delay, I've been mostly AFK for the US national holiday
> > this week :)]
>
> Our jenkins job for the 3.11 kernel fails:
>
> https://ci.openvz.org/job/CRIU-3.11/1/console
Ah, whoops. Attached is a patch that should address this (as well as
making things fail a little more gracefully in this case with a
checkskip script).
Tycho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-skip-seccomp_filter_tsync-if-__NR_seccomp-isn-.patch
Type: text/x-diff
Size: 2492 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151130/576d70db/attachment.bin>
More information about the CRIU
mailing list