Error on emerge: >>> Source unpacked. rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h *.d NVdrivercc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2802 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c nv.c:22: linux/modversions.h: No such file or directory make: *** [nv.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 2, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.2802.ebuild .
ok, reworked the recent linux-sources ebuilds to fix this problem. "make dep" now gets run automatically, which will allow the nvidia-driver ebuild to merge properly. The fixes were applied to the ebuilds without bumping the -r "rev" since the sources themselves have not changed, just the ebuild steps.