Word of warning....
akmods-0.5.4-2.fc24.noarch
akmod-nvidia-358.16-2.fc24.x86_64
are installed. Today the a new kernel was released 4.6.3-300.fc24 and the kmod build
fails.
2016/07/01 10:30:45 akmods: Building RPM using the command '/sbin/akmodsbuild
--target
x86_64 --kernels 4.6.3-300.fc24.x86_64 /usr/src/akmods/nvidia-kmod.latest'
/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:119:11:
error: too many arguments to function 'get_user_pages'
ret = get_user_pages(current, mm, (unsigned long)address,
^~~~~~~~~~~~~~
In file included from
/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/common/inc/nv-linux.h:65:0,
from
/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:15:
include/linux/mm.h:1266:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.c:132:13:
error: implicit declaration of function 'page_cache_release'
[-Werror=implicit-function-declaration]
page_cache_release(user_pages[i]);
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:291: recipe for target
'/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o'
failed
make[2]: ***
[/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64/nvidia/os-mlock.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1433: recipe for target
'_module_/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64'
failed
make[1]: ***
[_module_/tmp/akmodsbuild.UWn8WQ4X/BUILD/nvidia-kmod-358.16/_kmod_build_4.6.3-300.fc24.x86_64]
Error 2
make[1]: Leaving directory '/usr/src/kernels/4.6.3-300.fc24.x86_64'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.hweeYP (%build)
--
You're Welcome Zachary Quinto
Show replies by date
On 07/01/16 10:37, Ed Greshko wrote:
Word of warning....
akmods-0.5.4-2.fc24.noarch
akmod-nvidia-358.16-2.fc24.x86_64
are installed. Today the a new kernel was released 4.6.3-300.fc24 and the kmod build
fails.
FYI....
https://bugzilla.rpmfusion.org/show_bug.cgi?id=4098