[igt-dev] ✗ Fi.CI.BAT: failure for igt: chamelium: Test YUV buffers using the Chamelium (rev5)

Patchwork
2019-01-22T14:11:40Z

== Series Details ==

Series: igt: chamelium: Test YUV buffers using the Chamelium (rev5)
URL : https://patchwork.freedesktop.org/series/53468/
State : failure

== Summary ==

IGT patchset build failed on latest successful build
96f3a1b876e0dd24706b85fb872f12031a436e84 runner: Implement --dry-run

ninja: Entering directory `build'
[1/352] Generating version.h with a custom command.
[2/349] Compiling C object 'lib/igt-igt_fb_c@sta/igt_fb.c.o'.
FAILED: lib/igt-igt_fb_c@sta/igt_fb.c.o
ccache cc -Ilib/igt-igt_fb_c@sta -Ilib -I../lib -I. -I../ -I../lib/stubs/syscalls -I../include/drm-uapi -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/igt/include -I/opt/igt/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include -I/home/cidrm/kernel_headers/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -g -D_GNU_SOURCE -include config.h -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fPIC -pthread '-DIGT_DATADIR="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/home/cidrm/igt-gpu-tools/tests"' '-DIGT_LOG_DOMAIN="igt_fb"' -MD -MQ 'lib/igt-igt_fb_c@sta/igt_fb.c.o' -MF 'lib/igt-igt_fb_c@sta/igt_fb.c.o.d' -o 'lib/igt-igt_fb_c@sta/igt_fb.c.o' -c ../lib/igt_fb.c
../lib/igt_fb.c: In function ‘create_bo_for_fb’:
../lib/igt_fb.c:577:68: error: expected ‘)’ before ‘{’ token
(fb->tiling || fb->size || igt_format_is_yuv(fb->drm_format)) {
^
../lib/igt_fb.c:614:1: error: expected expression before ‘}’ token
}
^
../lib/igt_fb.c:569:12: warning: unused variable ‘strides’ [-Wunused-variable]
unsigned *strides = &fb->strides[0];
^~~~~~~
../lib/igt_fb.c:568:22: warning: unused variable ‘bpp’ [-Wunused-variable]
unsigned int plane, bpp;
^~~
../lib/igt_fb.c:568:15: warning: unused variable ‘plane’ [-Wunused-variable]
unsigned int plane, bpp;
^~~~~
../lib/igt_fb.c:566:35: warning: unused variable ‘fmt’ [-Wunused-variable]
const struct format_desc_struct *fmt = lookup_drm_format(fb->drm_format);
^~~
../lib/igt_fb.c:614:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
At top level:
../lib/igt_fb.c:522:13: warning: ‘clear_yuv_buffer’ defined but not used [-Wunused-function]
static void clear_yuv_buffer(struct igt_fb *fb)
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.