Yes, the end of the log fiel is at the end of my post.
I looked more into it and I found 2 causes:
- warning treated as errors, and there are some warnings
- and the following error (first line: implicit declaration of a fct):
2022/09/16 19:49:53 akmodsbuild: /tmp/akmodsbuild.LFc7zN82/BUILD/nvidia-kmod-515.65.01/_kmod_build_6.0.0-0.rc5.37.fc38.x86_64/nvidia-drm/nvidia-drm-helper.c:47:5: error: implicit declaration of function 'drm_framebuffer_put' [-Werror=implicit-function-declaration] 2022/09/16 19:49:53 akmodsbuild: cc1: some warnings being treated as errors 2022/09/16 19:49:53 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.36L4hS (%build) 2022/09/16 19:49:53 akmodsbuild: RPM build errors:
I am not sure its something I can change. Version incompatibility of source code problem?