✗ GitLab.Pipeline: warning for lib/igt_kms: Helpers for monitor edid managment (rev3)

Patchwork patchwork at emeril.freedesktop.org
Fri Nov 22 18:43:55 UTC 2024


== Series Details ==

Series: lib/igt_kms: Helpers for monitor edid managment (rev3)
URL   : https://patchwork.freedesktop.org/series/137925/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1315538 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/67059891):
      *count = DP_EDIDS_NON_4K_COUNT;
             ^
  In file included from ../lib/monitor_edids/monitor_edids_helper.c:20:
  ../lib/monitor_edids/hdmi_edids.h:625:33: error: expected expression before ‘=’ token
   #define HDMI_EDIDS_NON_4K_COUNT = ARRAY_SIZE(HDMI_EDIDS_NON_4K);
                                   ^
  ../lib/monitor_edids/monitor_edids_helper.c:170:13: note: in expansion of macro ‘HDMI_EDIDS_NON_4K_COUNT’
      *count = HDMI_EDIDS_NON_4K_COUNT;
               ^~~~~~~~~~~~~~~~~~~~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:170:11: error: assignment to ‘size_t’ {aka ‘long unsigned int’} from ‘struct <anonymous> *’ makes integer from pointer without a cast [-Werror=int-conversion]
      *count = HDMI_EDIDS_NON_4K_COUNT;
             ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1732300654:step_script
  section_start:1732300654:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300664:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/67059886):
    167 |    *count = DP_EDIDS_NON_4K_COUNT;
        |           ^
  In file included from ../lib/monitor_edids/monitor_edids_helper.c:20:
  ../lib/monitor_edids/hdmi_edids.h:625:33: error: expected expression before ‘=’ token
    625 | #define HDMI_EDIDS_NON_4K_COUNT = ARRAY_SIZE(HDMI_EDIDS_NON_4K);
        |                                 ^
  ../lib/monitor_edids/monitor_edids_helper.c:170:13: note: in expansion of macro ‘HDMI_EDIDS_NON_4K_COUNT’
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |             ^~~~~~~~~~~~~~~~~~~~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:170:11: error: assignment to ‘size_t’ {aka ‘long unsigned int’} from ‘struct <anonymous> *’ makes integer from pointer without a cast [-Werror=int-conversion]
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |           ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1732300664:step_script
  section_start:1732300664:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300665: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/67059890):
  ../lib/monitor_edids/monitor_edids_helper.c:189:22: error: invalid application of 'sizeof' to an incomplete type 'struct (anonymous struct at ../lib/monitor_edids/monitor_edids_helper.c:22:1) []'
          for (int i = 0; i < ARRAY_SIZE(ALL_EDIDS); i++) {
                              ^~~~~~~~~~~~~~~~~~~~~
  ../lib/drmtest.h:85:32: note: expanded from macro 'ARRAY_SIZE'
  #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
                                 ^~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:206:22: error: invalid application of 'sizeof' to an incomplete type 'struct (anonymous struct at ../lib/monitor_edids/monitor_edids_helper.c:22:1) []'
          for (int i = 0; i < ARRAY_SIZE(ALL_EDIDS); i++) {
                              ^~~~~~~~~~~~~~~~~~~~~
  ../lib/drmtest.h:85:32: note: expanded from macro 'ARRAY_SIZE'
  #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
                                 ^~~~~
  10 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1732300660:step_script
  section_start:1732300660:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300661: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/67059889):
    167 |    *count = DP_EDIDS_NON_4K_COUNT;
        |           ^
  In file included from ../lib/monitor_edids/monitor_edids_helper.c:20:
  ../lib/monitor_edids/hdmi_edids.h:625:33: error: expected expression before ‘=’ token
    625 | #define HDMI_EDIDS_NON_4K_COUNT = ARRAY_SIZE(HDMI_EDIDS_NON_4K);
        |                                 ^
  ../lib/monitor_edids/monitor_edids_helper.c:170:13: note: in expansion of macro ‘HDMI_EDIDS_NON_4K_COUNT’
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |             ^~~~~~~~~~~~~~~~~~~~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:170:11: error: assignment to ‘size_t’ {aka ‘long unsigned int’} from ‘struct <anonymous> *’ makes integer from pointer without a cast [-Werror=int-conversion]
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |           ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1732300652:step_script
  section_start:1732300652:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300653: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/67059887):
    167 |    *count = DP_EDIDS_NON_4K_COUNT;
        |           ^
  In file included from ../lib/monitor_edids/monitor_edids_helper.c:20:
  ../lib/monitor_edids/hdmi_edids.h:625:33: error: expected expression before ‘=’ token
    625 | #define HDMI_EDIDS_NON_4K_COUNT = ARRAY_SIZE(HDMI_EDIDS_NON_4K);
        |                                 ^
  ../lib/monitor_edids/monitor_edids_helper.c:170:13: note: in expansion of macro ‘HDMI_EDIDS_NON_4K_COUNT’
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |             ^~~~~~~~~~~~~~~~~~~~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:170:11: error: assignment to ‘size_t’ {aka ‘long unsigned int’} from ‘struct <anonymous> *’ makes integer from pointer without a cast [-Werror=int-conversion]
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |           ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1732300658:step_script
  section_start:1732300658:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300658: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/67059888):
    167 |    *count = DP_EDIDS_NON_4K_COUNT;
        |           ^
  In file included from ../lib/monitor_edids/monitor_edids_helper.c:20:
  ../lib/monitor_edids/hdmi_edids.h:625:33: error: expected expression before ‘=’ token
    625 | #define HDMI_EDIDS_NON_4K_COUNT = ARRAY_SIZE(HDMI_EDIDS_NON_4K);
        |                                 ^
  ../lib/monitor_edids/monitor_edids_helper.c:170:13: note: in expansion of macro ‘HDMI_EDIDS_NON_4K_COUNT’
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |             ^~~~~~~~~~~~~~~~~~~~~~~
  ../lib/monitor_edids/monitor_edids_helper.c:170:11: error: assignment to ‘size_t’ {aka ‘long unsigned int’} from ‘struct <anonymous> *’ makes integer from pointer without a cast [-Werror=int-conversion]
    170 |    *count = HDMI_EDIDS_NON_4K_COUNT;
        |           ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1732300661:step_script
  section_start:1732300661:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1732300662:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1315538


More information about the igt-dev mailing list