Forum Stats

  • 3,853,257 Users
  • 2,264,198 Discussions
  • 7,905,296 Comments

Discussions

akmodsbuild: kernel-devel is needed by VirtualBox-kmod

LeonNASA
LeonNASA Member Posts: 8 Green Ribbon

Hi,

I'm running OL8.6 with the latest UEK kernel (5.4.17-2136.310.7.el8uek.x86_64)

I installed VirtualBox and tried to rebuild the modules but it fails:

$akmods --force

Checking kmods exist for 5.4.17-2136.310.7.el8uek.x86_64  [ OK ]

Building and installing VirtualBox-kmod          [FAILED]

Building rpms failed; see /var/cache/akmods/VirtualBox/6.1.36-1.el8-for-5.4.17-2136.310.7.el8uek.x86_64.failed.log for details


$cat /var/cache/akmods/VirtualBox/6.1.36-1.el8-for-5.4.17-2136.310.7.el8uek.x86_64.failed.log

2022/08/17 15:49:50 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 5.4.17-2136.310.7.el8uek.x86_64 /usr/src/akmods/VirtualBox-kmod.latest'

warning: user mockbuild does not exist - using root

warning: group mock does not exist - using root

warning: user mockbuild does not exist - using root

warning: group mock does not exist - using root

warning: user mockbuild does not exist - using root

warning: group mock does not exist - using root

error: Failed build dependencies:

kernel-devel = 5.4.17-2136.310.7.el8uek is needed by VirtualBox-kmod-6.1.36-1.el8.x86_64

Installing /usr/src/akmods/VirtualBox-kmod.latest

Building target platforms: x86_64

Building for target x86_64

2022/08/17 15:49:51 akmodsbuild: * Rebuilding /usr/src/akmods/VirtualBox-kmod.latest for kernel(s) 5.4.17-2136.310.7.el8uek.x86_64: warning: user mockbuild does not exist - using root

2022/08/17 15:49:51 akmodsbuild: warning: group mock does not exist - using root

2022/08/17 15:49:51 akmodsbuild: warning: user mockbuild does not exist - using root

2022/08/17 15:49:51 akmodsbuild: warning: group mock does not exist - using root

2022/08/17 15:49:51 akmodsbuild: warning: user mockbuild does not exist - using root

2022/08/17 15:49:51 akmodsbuild: warning: group mock does not exist - using root

2022/08/17 15:49:51 akmodsbuild: error: Failed build dependencies:

2022/08/17 15:49:51 akmodsbuild: kernel-devel = 5.4.17-2136.310.7.el8uek is needed by VirtualBox-kmod-6.1.36-1.el8.x86_64

2022/08/17 15:49:51 akmodsbuild: Installing /usr/src/akmods/VirtualBox-kmod.latest

2022/08/17 15:49:51 akmodsbuild: Building target platforms: x86_64

2022/08/17 15:49:51 akmodsbuild: Building for target x86_64

2022/08/17 15:49:51 akmodsbuild:


As you can see it's looking for "kernel-devel" for the UEK kernel, when it should be "kernel-uek-devel":

$rpm -qa|grep uek

kernel-uek-5.4.17-2136.310.7.el8uek.x86_64

kernel-uek-devel-5.4.17-2136.310.7.el8uek.x86_64


$rpm -qa|grep Virtual

VirtualBox-kmodsrc-6.1.36-1.el8.noarch

VirtualBox-6.1.36-1.el8.x86_64

VirtualBox-server-6.1.36-1.el8.x86_64

akmod-VirtualBox-6.1.36-1.el8.x86_64


Can someone please pass this along to the developers?