[igt-dev] ✗ GitLab.Pipeline: warning for series starting with [i-g-t,1/2] lib/crc: s/INTEL_PIPE_CRC_SOURCE_AUTO/IGT_PIPE_CRC_SOURCE_AUTO/

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 20 09:38:20 UTC 2021


== Series Details ==

Series: series starting with [i-g-t,1/2] lib/crc: s/INTEL_PIPE_CRC_SOURCE_AUTO/IGT_PIPE_CRC_SOURCE_AUTO/
URL   : https://patchwork.freedesktop.org/series/96047/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/14941197):
  ../lib/igt_chamelium.c: In function ‘chamelium_frame_match_or_dump’:
  ../lib/igt_chamelium.c:1908:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
     reference_crc = malloc(sizeof(igt_crc_t));
                                   ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc’:
  ../lib/igt_chamelium.c:2119:36: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
    igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
                                      ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc_async_start’:
  ../lib/igt_chamelium.c:2163:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
    fb_crc->ret = calloc(1, sizeof(igt_crc_t));
                                   ^~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1634722541:step_script
  section_start:1634722541:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722548:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/14941192):
  ../lib/igt_chamelium.c: In function ‘chamelium_frame_match_or_dump’:
  ../lib/igt_chamelium.c:1908:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   1908 |   reference_crc = malloc(sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc’:
  ../lib/igt_chamelium.c:2119:36: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2119 |  igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
        |                                    ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc_async_start’:
  ../lib/igt_chamelium.c:2163:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2163 |  fb_crc->ret = calloc(1, sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1634722546:step_script
  section_start:1634722546:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722549: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/14941196):
                 ^
  ../lib/igt_chamelium.c:2119:29: error: invalid application of 'sizeof' to an incomplete type 'igt_crc_t' (aka 'struct _igt_crc')
          igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
                                     ^     ~~~~~~~~~~~
  ../lib/igt_fb.h:44:16: note: forward declaration of 'struct _igt_crc'
  typedef struct _igt_crc igt_crc_t;
                 ^
  ../lib/igt_chamelium.c:2163:26: error: invalid application of 'sizeof' to an incomplete type 'igt_crc_t' (aka 'struct _igt_crc')
          fb_crc->ret = calloc(1, sizeof(igt_crc_t));
                                  ^     ~~~~~~~~~~~
  ../lib/igt_fb.h:44:16: note: forward declaration of 'struct _igt_crc'
  typedef struct _igt_crc igt_crc_t;
                 ^
  4 warnings and 17 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1634722503:step_script
  section_start:1634722503:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722505: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/14941195):
  ../lib/igt_chamelium.c:1822:7: warning: nested extern declaration of ‘igt_check_crc_equal’ [-Wnested-externs]
  ../lib/igt_chamelium.c: In function ‘chamelium_frame_match_or_dump’:
  ../lib/igt_chamelium.c:1908:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   1908 |   reference_crc = malloc(sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc’:
  ../lib/igt_chamelium.c:2119:36: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2119 |  igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
        |                                    ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc_async_start’:
  ../lib/igt_chamelium.c:2163:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2163 |  fb_crc->ret = calloc(1, sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1634722493:step_script
  section_start:1634722493:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722495: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/14941193):
  ../lib/igt_chamelium.c: In function ‘chamelium_frame_match_or_dump’:
  ../lib/igt_chamelium.c:1908:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   1908 |   reference_crc = malloc(sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc’:
  ../lib/igt_chamelium.c:2119:36: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2119 |  igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
        |                                    ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc_async_start’:
  ../lib/igt_chamelium.c:2163:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2163 |  fb_crc->ret = calloc(1, sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1634722546:step_script
  section_start:1634722546:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722549: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/14941194):
  ../lib/igt_chamelium.c: In function ‘chamelium_frame_match_or_dump’:
  ../lib/igt_chamelium.c:1908:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   1908 |   reference_crc = malloc(sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc’:
  ../lib/igt_chamelium.c:2119:36: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2119 |  igt_crc_t *ret = calloc(1, sizeof(igt_crc_t));
        |                                    ^~~~~~~~~
  ../lib/igt_chamelium.c: In function ‘chamelium_calculate_fb_crc_async_start’:
  ../lib/igt_chamelium.c:2163:33: error: invalid application of ‘sizeof’ to incomplete type ‘igt_crc_t’ {aka ‘struct _igt_crc’}
   2163 |  fb_crc->ret = calloc(1, sizeof(igt_crc_t));
        |                                 ^~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1634722546:step_script
  section_start:1634722546:cleanup_file_variables
  Cleaning up file based variables
  section_end:1634722549:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list