#1 Akmods doesn't build the nvidia module
Closed 3 years ago by fdelente. Opened 3 years ago by fdelente.

Hello,

I have installed xanmod-cacule-5.11.15 on my Fedora 33 (XFCE spin) install; I use the stock kernel (5.11.13, the latest vanilla) with an nvidia card, so I installed the proprietary drivers (version 460.67) through rpmfusion. However, when trying to build the nvidia module for the xanmod kernel, it fails, and gives me this log file:

<file /var/cache/akmods/nvidia/460.67-1-for-5.11.15-xanmod1_cacule.0.fc33.failed.log>
2021/04/19 07:48:39 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 5.11.15-xanmod1_cacule.0.fc33 /usr/src/akmods/nvidia-kmod.latest'
warning: user mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
error: Package has no %description: kmod-nvidia-5.11.15-xanmod1_cacule.0.fc33
Installing /usr/src/akmods/nvidia-kmod.latest
Building target platforms: x86_64
Building for target x86_64
2021/04/19 07:48:39 akmodsbuild: * Rebuilding /usr/src/akmods/nvidia-kmod.latest for kernel(s) 5.11.15-xanmod1_cacule.0.fc33: warning: user mockbuild does not exist - using root
2021/04/19 07:48:39 akmodsbuild: warning: user mockbuild does not exist - using root
2021/04/19 07:48:39 akmodsbuild: error: Package has no %description: kmod-nvidia-5.11.15-xanmod1_cacule.0.fc33
2021/04/19 07:48:39 akmodsbuild: Installing /usr/src/akmods/nvidia-kmod.latest
2021/04/19 07:48:39 akmodsbuild: Building target platforms: x86_64
2021/04/19 07:48:39 akmodsbuild: Building for target x86_64
2021/04/19 07:48:39 akmodsbuild:
2021/04/19 07:48:39 akmods: Building rpms failed; see /var/cache/akmods/nvidia/460.67-1-for-5.11.15-xanmod1_cacule.0.fc33.failed.log for details

I don't see any explanation why the build failed; did you have any report of successful building for the nvidia module, or did I make a mistake? Thanks!


Metadata Update from @fdelente:
- Issue status updated to: Closed (was: Open)

3 years ago

Works with xanmod-edge, akmod builds and installs the nvidia module correctly; I'll use that instead of cacule. Sorry for the noise!

Works with xanmod-edge, akmod builds and installs the nvidia module correctly; I'll use that instead of cacule. Sorry for the noise!

No problems! Also don't forget to follow the update instructions to make sure it won't bork the system once the next update rolls out soon (April 20 should be when 5.11.16 comes out) -- the "non-seamless" updates are a longstanding problem in my kernel RPM builds sadly

@fdelente NVIDIA now works with kernel-xanmod-cacule since the latest version (5.12.10-xm1cacule.0)

Metadata Update from @rmnscnce:
- Issue tagged with: errata

2 years ago

Login to comment on this ticket.

Metadata