<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Adrian,</tt><tt><br>
    </tt><tt><br>
    </tt><tt>I saw similar errors for the test on fedora rawhide</tt><tt>
      in</tt><tt><br>
    </tt><tt>     </tt><tt><a class="moz-txt-link-freetext" href="https://travis-ci.org/criupatchwork/criu/jobs/392132369#L2281">https://travis-ci.org/criupatchwork/criu/jobs/392132369#L2281</a></tt><tt><br>
    </tt><tt><br>
    </tt>
    <div class="log-line"><tt><span id="0-3149">In file included from
          /usr/include/asm/signal.h:26,</span></tt></div>
    <div class="log-line"><tt><span id="0-3150"> from
          /usr/include/linux/signal.h:5,</span></tt></div>
    <div class="log-line"><tt><span id="0-3151"> from
          /usr/include/linux/aio_abi.h:32,</span></tt></div>
    <div class="log-line"><tt><span id="0-3152"> from
          criu/include/aio.h:4,</span></tt></div>
    <div class="log-line"><tt><span id="0-3153"> from
          criu/pie/parasite.c:22:</span></tt></div>
    <div class="log-line"><tt><span id="0-3154">/usr/include/asm-generic/signal.h:92:3:
          error: conflicting types for 'sigset_t'</span></tt></div>
    <div class="log-line"><tt><span id="0-3155"> } sigset_t;</span></tt></div>
    <div class="log-line"><tt><span id="0-3156"> ^~~~~~~~</span></tt></div>
    <tt><br>
    </tt><tt>I think this issue can be fixed with:<br>
      <br>
      diff --git a/criu/pie/restorer.c b/criu/pie/restorer.c<br>
      index 9b7f6ddb..adddfbf4 100644<br>
      --- a/criu/pie/restorer.c<br>
      +++ b/criu/pie/restorer.c<br>
      @@ -15,7 +15,6 @@<br>
       #include &lt;unistd.h&gt;<br>
       #include &lt;sched.h&gt;<br>
       #include &lt;sys/resource.h&gt;<br>
      -#include &lt;signal.h&gt;<br>
       <br>
       #include "linux/userfaultfd.h"<br>
       <br>
       <br>
      Kind regards,<br>
      Radostin</tt><font face="Helvetica, Arial, sans-serif"><br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 14/06/18 19:20, Adrian Reber wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20180614182003.GD31373@lisas.de">
      <pre wrap="">As I see it also in travis (<a class="moz-txt-link-freetext" href="https://api.travis-ci.org/v3/job/392077603/log.txt">https://api.travis-ci.org/v3/job/392077603/log.txt</a>)
I guess it is known that currently compilation fails on early 4.18
kernels.

  CC       criu/pie/parasite.o
In file included from /usr/include/asm/signal.h:7,
                 from /usr/include/linux/signal.h:5,
                 from /usr/include/linux/aio_abi.h:32,
                 from criu/include/aio.h:4,
                 from criu/pie/parasite.c:22:
/usr/include/linux/time.h:10:8: error: redefinition of ‘struct timespec’

(and more)

Is this a bug in the kernel or does it need a fix in CRIU? Just curious
if somebody is looking into it?

                Adrian
_______________________________________________
CRIU mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/criu">https://lists.openvz.org/mailman/listinfo/criu</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>