[CRIU] ✗ travis-ci: failure for log level cleanups

Kir Kolyshkin kir at virtuozzo.com
Fri Feb 10 17:00:57 PST 2017


On 02/10/2017 04:30 AM, Pavel Emelyanov wrote:
> On 02/10/2017 09:08 AM, Patchwork wrote:
>> == Series Details ==
>>
>> Series: log level cleanups
>> URL   : https://patchwork.criu.org/series/1217/
>> State : failure
>>
>> == Logs ==
>>
>> For more details see: https://travis-ci.org/criupatchwork/criu/builds/200235211
> It all fails with
>
>
> gcc -g -Wall -shared -nostartfiles criu-rtc.c criu-rtc.pb-c.c -o criu-rtc.so -iquote ../../../criu/include -fPIC
> In file included from ../../../criu/include/criu-log.h:23:0,
>                   from criu-rtc.c:12:
> ../../../criu/include/log.h:5:30: fatal error: compel/loglevels.h: No such file or directory
>   #include <compel/loglevels.h>
>
> -- Pavel

Yeah, I saw that.

The problem is, this file is CRIU plugin (ok, I admit, I didn't know 
such thing exist)
and it is using CRIU logging functions.

Now, CRIU includes are not separated into private and public ones, i.e. 
there's
no definitive UAPI (say for plugins).

So, do we want to work on defining the plugin UAPI?

Anyway, since logging should definitely be available to plugins,
I am going to redo the patch.


More information about the CRIU mailing list