[igt-dev] ✗ Fi.CI.BUILD: failure for Start cleanup of local macros/structs

Lucas De Marchi lucas.demarchi at intel.com
Sat Jul 10 03:29:31 UTC 2021


On Sat, Jul 10, 2021 at 01:06:50AM +0000, Patchwork wrote:
>== Series Details ==
>
>Series: Start cleanup of local macros/structs
>URL   : https://patchwork.freedesktop.org/series/92390/
>State : failure
>
>== Summary ==
>
>IGT patchset build failed on latest successful build
>cd63c83e23789eb194d38b8d272247a88122f2f6 tests/kms_dither: New IGT to validate crtc Dithering
>
>[226/947] Linking target tests/dmabuf.
>[227/947] Linking target tests/core_getstats.
>[228/947] Linking target tests/core_setmaster_vs_auth.
>[229/947] Linking target tests/core_setmaster.
>[230/947] Linking target tests/debugfs_test.
>[231/947] Linking target tests/kms_flip_scaled_crc.
>[232/947] Linking target tests/kms_flip_tiling.
>[233/947] Linking target tests/drm_import_export.
>[234/947] Linking target tests/device_reset.
>[235/947] Linking target tests/drm_mm.
>[236/947] Linking target tests/drm_read.
>[237/947] Linking target tests/fbdev.
>[238/947] Linking target tests/feature_discovery.
>[239/947] Linking target tests/kms_3d.
>[240/947] Linking target tests/kms_addfb_basic.
>[241/947] Linking target tests/kms_async_flips.
>[242/947] Linking target tests/kms_atomic_interruptible.
>[243/947] Linking target tests/kms_atomic.
>[244/947] Linking target tests/kms_atomic_transition.
>[245/947] Linking target tests/kms_big_joiner.
>[246/947] Linking target tests/kms_big_fb.
>[247/947] Linking target tests/kms_busy.
>[248/947] Linking target tests/kms_ccs.
>[249/947] Linking target tests/kms_cdclk.
>[250/947] Linking target tests/kms_concurrent.
>[251/947] Linking target tests/kms_content_protection.
>[252/947] Linking target tests/kms_cursor_edge_walk.
>[253/947] Linking target tests/kms_cursor_crc.
>[254/947] Linking target tests/kms_dp_dsc.
>[255/947] Linking target tests/kms_dp_aux_dev.
>[256/947] Compiling C object 'tests/tests@@kms_dither at exe/kms_dither.c.o'.
>FAILED: tests/tests@@kms_dither at exe/kms_dither.c.o
>ccache cc -Itests/tests@@kms_dither at exe -Itests -I../tests -I../include/drm-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -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/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/alsa -I/usr/include -I/home/cidrm/kernel_headers/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -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 -fno-builtin-malloc -fno-builtin-calloc -fcommon -pthread  -MD -MQ 'tests/tests@@kms_dither at exe/kms_dither.c.o' -MF 'tests/tests@@kms_dither at exe/kms_dither.c.o.d' -o 'tests/tests@@kms_dither at exe/kms_dither.c.o' -c ../tests/kms_dither.c
>In file included from ../lib/drmtest.h:39,
>                 from ../lib/igt.h:27,
>                 from ../tests/kms_dither.c:28:
>../tests/kms_dither.c: In function ‘test_dithering’:
>../tests/kms_dither.c:126:6: error: ‘LOCAL_DRM_FORMAT_MOD_NONE’ undeclared (first use in this function); did you mean ‘DRM_FORMAT_MOD_NONE’?
>      LOCAL_DRM_FORMAT_MOD_NONE, &data->fb));
>      ^~~~~~~~~~~~~~~~~~~~~~~~~
>../lib/igt_core.h:657:13: note: in definition of macro ‘igt_assert’
>  do { if (!(expr)) \
>             ^~~~
>../tests/kms_dither.c:126:6: note: each undeclared identifier is reported only once for each function it appears in
>      LOCAL_DRM_FORMAT_MOD_NONE, &data->fb));
>      ^~~~~~~~~~~~~~~~~~~~~~~~~


it looks like I have to rebase my branch

Lucas De Marchi

>../lib/igt_core.h:657:13: note: in definition of macro ‘igt_assert’
>  do { if (!(expr)) \
>             ^~~~
>ninja: build stopped: subcommand failed.
>
>


More information about the igt-dev mailing list