Bug 6244

Summary: akmod build fails for nvidia-390xx
Product: Fedora EPEL Reporter: Alejandro Estay <a38113p9>
Component: nvidia-390xx-kmodAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED WORKSFORME    
Severity: normal CC: a38113p9, leigh123linux
Priority: P1    
Version: 8   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: After touching flags
before touching flags

Description Alejandro Estay 2022-03-11 20:11:25 CET
Created attachment 2368 [details]
After touching flags

akmod-nvidia-340xx (390-144-3) fails to build(and install) in Rocky Linux 8.5. Apparently is related to the compiler flags configuration (-Werror). I tried to modify flags relaxing warnings (modifying the makefile flags in /usr/src/kernel) but it got worse because a mismatching brace error (file attached)

os-release:

NAME="Rocky Linux"
VERSION="8.5 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
Comment 1 Alejandro Estay 2022-03-11 20:13:11 CET
Created attachment 2369 [details]
before touching flags