Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-1270

[GHI#27345] Workflow failure: Keycloak CI - OAuth 2.0 Grant Type SPI

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      ci

      Describe the bug

      https://github.com/keycloak/keycloak/actions/runs/8058248344/attempts/1

      Failed with next message:
      ```
      CC [M] /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.o
      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:42:18: error: ‘struct ctl_table’ has no member named ‘child’
      42 | .child = crypto_sysctl_table

        |                  ^~~~~
      

      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:42:35: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
      42 | .child = crypto_sysctl_table

        |                                   ^-~--~--~-~~~
      

      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:42:35: note: (near initialization for ‘crypto_dir_table[0]’)
      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:42:35: error: incompatible types when initializing type ‘enum <anonymous>’ using type ‘struct ctl_table *’
      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c: In function ‘crypto_proc_fips_init’:
      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:51:26: error: implicit declaration of function ‘register_sysctl_table’; did you mean ‘unregister_sysctl_table’? [-Werror=implicit-function-declaration]
      51 | crypto_sysctls = register_sysctl_table(crypto_dir_table);

        |                          ^-~--~--~--~-
        |                          unregister_sysctl_table
      

      /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.c:51:24: warning: assignment to ‘struct ctl_table_header *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
      51 | crypto_sysctls = register_sysctl_table(crypto_dir_table);

        |                        ^
      

      cc1: some warnings being treated as errors
      make[3]: *** [scripts/Makefile.build:251: /home/runner/work/keycloak/keycloak/.github/fake_fips/fake_fips.o] Error 1
      make[2]: *** /usr/src/linux-headers-6.5.0-1015-azure/Makefile:[20](https://github.com/keycloak/keycloak/actions/runs/8058248344/job/22010977165#step:3:21)39: /home/runner/work/keycloak/keycloak/.github/fake_fips Error 2
      make[1]: *** Makefile:[23](https://github.com/keycloak/keycloak/actions/runs/8058248344/job/22010977165#step:3:24)4: __sub-make Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-1015-azure'
      make: *** [Makefile:4: all] Error 2
      Error: Process completed with exit code 2.
      ```

      Version

      latest

      Regression

      [ ] The issue is a regression

      Expected behavior

      -

      Actual behavior

      -

      How to Reproduce?

      -

      Anything else?

      No response

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Continuous Testing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: