[igt-dev] ✗ GitLab.Pipeline: warning for kms_chamelium: Add new EDID stress resolution test (rev2)

Petri Latvala petri.latvala at intel.com
Tue Nov 1 09:01:07 UTC 2022


On Mon, Oct 31, 2022 at 01:32:44PM -0400, Mark Yacoub wrote:
> Hi Lakshminarayana,
> Something seems off here - I don't think I should modify xf86drmMode
> in anyway. What do you think is going on? Thanks!

Add #include <stddef.h> to lib/igt_chamelium.h before xf86drmMode.h

-- 
Petri Latvala



> 
> On Mon, Oct 31, 2022 at 1:15 PM Patchwork
> <patchwork at emeril.freedesktop.org> wrote:
> >
> > == Series Details ==
> >
> > Series: kms_chamelium: Add new EDID stress resolution test (rev2)
> > URL   : https://patchwork.freedesktop.org/series/110263/
> > State : warning
> >
> > == Summary ==
> >
> > Pipeline status: FAILED.
> >
> > see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/725691 for the overview.
> >
> > build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755321):
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name ‘size_t’
> >    extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >                                                                   ^~~~~~
> >   /usr/include/xf86drmMode.h:520:64: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
> >   /usr/include/xf86drmMode.h:44:1:
> >   +#include <stddef.h>
> >
> >   /usr/include/xf86drmMode.h:520:64:
> >    extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >                                                                   ^~~~~~
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235976:step_script
> >   section_start:1667235976:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235978:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> >
> > build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755316):
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name ‘size_t’
> >     520 | extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >         |                                                                ^~~~~~
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:44:1: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
> >      43 | #include <drm.h>
> >     +++ |+#include <stddef.h>
> >      44 |
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235986:step_script
> >   section_start:1667235986:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235987:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> >
> > build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755320):
> >   [4/983] Linking static target lib/libigt-igt_audio_c.a.
> >   [5/983] Linking static target lib/libigt-igt_alsa_c.a.
> >   [6/983] Linking static target lib/libigt-igt_chamelium_stream_c.a.
> >   [7/983] Compiling C object 'lib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta/monitor_edids_monitor_edids_helper.c.o'.
> >   FAILED: lib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta/monitor_edids_monitor_edids_helper.c.o
> >   clang -Ilib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta -Ilib -I../lib -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Xclang -fcolor-diagnostics -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 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -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 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="monitor_edids/monitor_edids_helper"' -MD -MQ 'lib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta/monitor_edids_monitor_edids_helper.c.o' -MF 'lib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta/monitor_edids_monitor_edids_helper.c.o.d' -o 'lib/76b5a35@@igt-monitor_edids_monitor_edids_helper_c at sta/monitor_edids_monitor_edids_helper.c.o' -c ../lib/monitor_edids/monitor_edids_helper.c
> >   In file included from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   In file included from ../lib/monitor_edids/monitor_edids_helper.h:16:
> >   In file included from ../lib/igt_chamelium.h:32:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name 'size_t'
> >   extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >                                                                  ^
> >   1 error generated.
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235984:step_script
> >   section_start:1667235984:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235984:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> >
> > build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755319):
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name ‘size_t’
> >     520 | extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >         |                                                                ^~~~~~
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:44:1: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
> >      43 | #include <drm.h>
> >     +++ |+#include <stddef.h>
> >      44 |
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235978:step_script
> >   section_start:1667235978:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235979:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> >
> > build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755317):
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name ‘size_t’
> >     520 | extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >         |                                                                ^~~~~~
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:44:1: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
> >      43 | #include <drm.h>
> >     +++ |+#include <stddef.h>
> >      44 |
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235976:step_script
> >   section_start:1667235976:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235977:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> >
> > build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/30755318):
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:520:64: error: unknown type name ‘size_t’
> >     520 | extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size,
> >         |                                                                ^~~~~~
> >   In file included from ../lib/igt_chamelium.h:32,
> >                    from ../lib/monitor_edids/monitor_edids_helper.h:16,
> >                    from ../lib/monitor_edids/monitor_edids_helper.c:11:
> >   /usr/include/xf86drmMode.h:44:1: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
> >      43 | #include <drm.h>
> >     +++ |+#include <stddef.h>
> >      44 |
> >   ninja: build stopped: subcommand failed.
> >   section_end:1667235989:step_script
> >   section_start:1667235989:cleanup_file_variables
> >   Cleaning up project directory and file based variables
> >   section_end:1667235990:cleanup_file_variables
> >   ERROR: Job failed: exit code 1
> >
> > == Logs ==
> >
> > For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/725691


More information about the igt-dev mailing list