on `emerge -U nvidia-kernel`: >> --upgradeonly implies --update... adding --update to options. Calculating world dependencies ...done! >>> emerge (1 of 15) media-video/nvidia-kernel-1.0.4363-r2 to / >>> md5 src_uri ;-) NVIDIA_kernel-1.0-4363.tar.gz >>> Unpacking source... >>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to /var/tmp/portage/nvidia-kernel-1.0.4363-r2/work * Linux kernel 2.4.20 >>> Source unpacked. rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *.d NVdriver nvidia.o echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -1`\" > nv_compiler.h gcc -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 -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c In file included from nv.c:14: nv-linux.h:24:31: linux/modversions.h: No such file or directory make: *** [nv.o] Error 1 !!! ERROR: media-video/nvidia-kernel-1.0.4363-r2 failed. !!! Function src_compile, Line 111, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -U nvidia-kernel 3. Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-pfeifer-r1_pre11 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/images/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/images/portage/overlay" USE="x86 oss 3dnow apm avi encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile sdl gpm tcpd pam libwww perl python esd imlib oggvorbis qt motif opengl mozilla cdr X gtk cups alsa crypt acpi apache2 kde postgres ssl -gnome -scanner" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
cd /usr/src/linux make depmod modules