无法构建 nvidia kmod:mockbuild 不存在

无法构建 nvidia kmod:mockbuild 不存在

我正在尝试在 fedora 23 上构建 nvidia 驱动程序(如果重要的话,安装在 qubes 虚拟机上),正如您稍后将看到的,我遇到了一个阻止我构建它的主要问题。自己看:

[user] $ rpmbuild --nodeps -D "kernels 3.19.8-100.fc20.x86_64" --rebuild nvidia-kmod-358.16-1.fc23.src.rpm 
Installing nvidia-kmod-358.16-1.fc23.src.rpm
warning: nvidia-kmod-358.16-1.fc23.src.rpm: Header V4 RSA/SHA1 Signature, key ID 5ca6c469: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8Fkbub
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ echo 'kmodtool error: Don'\''t know how to handle 3.19.8-100.fc20.x86_64 -- /usr/lib/modules/3.19.8-100.fc20.x86_64/build/Makefile not found'
kmodtool error: Don't know how to handle 3.19.8-100.fc20.x86_64 -- /usr/lib/modules/3.19.8-100.fc20.x86_64/build/Makefile not found
+ exit 2
error: Bad exit status from /var/tmp/rpm-tmp.8Fkbub (%prep)


RPM build errors:
    nvidia-kmod-358.16-1.fc23.src.rpm: Header V4 RSA/SHA1 Signature, key ID 5ca6c469: NOKEY
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.8Fkbub (%prep)

我正在按照说明进行操作,但它仍然失败,这对于像我这样的小用户来说是令人畏惧的,有谁知道是否有办法解决这个问题?

相关内容