https://bugzilla.redhat.com/show_bug.cgi?id=993071
Bug ID: 993071 Summary: nvidia-kmod.spec error Product: Fedora Version: 19 Component: kmod Assignee: kmod-maint@lists.fedoraproject.org Reporter: sean-clancy@gmx.net QA Contact: extras-qa@fedoraproject.org CC: jonathan@jonmasters.org, kmod-maint@lists.fedoraproject.org, msivak@redhat.com, vpavlin@redhat.com
Created attachment 782867 --> https://bugzilla.redhat.com/attachment.cgi?id=782867&action=edit patch to partially fix the problem
akmod fails for a custom (vanialla) kernel if trying to build the nvidia module.
command to build: akmodsbuild -k $kernel_version /usr/src/akmods/nvidia-kmod.latest version: akmod-nvidia 319.32-2.fc19 kernel 3.10 vanilla (built with separat output directory O= )
problem: in the file nvidia-kmod.spec (from the rpm /usr/src/akmods/nvidia-kmod-319.32-2.fc19.src.rpm): ${kernel_version##*___} points to the kernel build directory instead of the source.
fix: the supplied patch fixes it, if SYSSRC is manually exported: export SYSSRC="$kernel_source_dir" akmodsbuild -k $kernel_version /usr/src/akmods/nvidia-kmod.latest
so the patch is only a partial fix, SYSSRC= should also be added to the .spec file.
https://bugzilla.redhat.com/show_bug.cgi?id=993071
Josh Boyer jwboyer@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2013-08-05 10:58:16
--- Comment #1 from Josh Boyer jwboyer@redhat.com --- You should file this against whomever you got your akmod from. The kmod component in Fedora bugzilla is for the module-init-tools replacement packages. Fedora does not provide or support external module packages.
kmod-maint@lists.fedoraproject.org