Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on el9.3 (redhat/alma/rocky/etc) #417

Closed
Chaz6 opened this issue Nov 13, 2023 · 1 comment
Closed

Build failure on el9.3 (redhat/alma/rocky/etc) #417

Chaz6 opened this issue Nov 13, 2023 · 1 comment
Milestone

Comments

@Chaz6
Copy link

Chaz6 commented Nov 13, 2023

AlmaLinux 9.3 was recently released and I am unable to build Jool:-

# dkms install jool/4.1.8.git.v4.1.8.11.g6dfa2f69 -k 5.14.0-362.8.1.el9_3.x86_64

Sign command: /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=5.14.0-362.8.1.el9_3.x86_64 -C /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build M=/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common modules && make -C /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build M=/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/nat64 modules && make -C /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build M=/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/siit modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.0-362.8.1.el9_3.x86_64 (x86_64)
Consult /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/make.log for more information.

The file /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/make.log contains the following:-

  CC [M]  /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/atomic_config.o
  CC [M]  /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/attribute.o
  CC [M]  /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.o
  CC [M]  /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_core.o
/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.c:207:21: error: initialization of ‘int (*)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *)’ from incompatible pointer type ‘int (*)(const struct genl_ops *, struct sk_buff *, struct genl_info *)’ [-Werror=incompatible-pointer-types]
  207 |         .pre_doit = pre_handle_request,
      |                     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.c:207:21: note: (near initialization for ‘jool_family.pre_doit’)
/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.c:208:22: error: initialization of ‘void (*)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *)’ from incompatible pointer type ‘void (*)(const struct genl_ops *, struct sk_buff *, struct genl_info *)’ [-Werror=incompatible-pointer-types]
  208 |         .post_doit = post_handle_request,
      |                      ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.c:208:22: note: (near initialization for ‘jool_family.post_doit’)
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:299: /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common/nl/nl_handler.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1928: /var/lib/dkms/jool/4.1.8.git.v4.1.8.11.g6dfa2f69/build/src/mod/common] Error 2
make: Leaving directory '/usr/src/kernels/5.14.0-362.8.1.el9_3.x86_64'
@Chaz6
Copy link
Author

Chaz6 commented Nov 15, 2023

Thank you @ydahhrk

@ydahhrk ydahhrk added this to the 4.1.11 milestone Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants