I got an error during emerge of x11-drivers/nvidia-drivers-100.14.11. Here is the tail end of the output: /bin/sh: scripts/basic/fixdep: Permission denied make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.11/work/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.o] Error 1 make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-100.14.11/work/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv] Error 2 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 !!! ERROR: x11-drivers/nvidia-drivers-100.14.11 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile nvidia-drivers-100.14.11.ebuild, line 212: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die Reproducible: Always Steps to Reproduce: 1. emerge =x11-drivers/nvidia-drivers-100.14.11 Actual Results: I'll attach the build log. emerge --info: Portage 2.1.2.9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo x86_64) ================================================================= System uname: 2.6.20-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 20 Jul 2007 10:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/bonobo-activation /etc/dev.d /etc/devfs.d /etc/env.d /etc/env.d/java/ /etc/esd /etc/eselect /etc/fonts /etc/foomatic /etc/gconf /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hal /etc/imlib /etc/init.d /etc/openoffice /etc/pango /etc/ppp /etc/revdep-rebuild /etc/sgml /etc/sound /etc/ssl /etc/terminfo /etc/texmf/web2c /etc/udev /etc/vga /etc/wget /etc/xdg /etc/xml /usr/share/X11/xkb /usr/share/texmf/tex/platex/config" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="cvs distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/bgreen" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acpi alsa amd64 berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cscope cups dbus dri dvd dvdr eds emboss encode esd fam fbcon ffmpeg firefox foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 hal howl iconv imlib ipv6 isdnlog jpeg lcms libcaca libg++ libnotify logrotate mad mbox midi mng motif mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin opengl openmp pam pam_console pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection ruby sdl session spell spl ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales vim-with-x xinerama xml2 xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 125479 [details] the build log
Please read the build log you posted - your kernel in /usr/src/linux isn't prepared for a kernel module to be built against it.
(In reply to comment #2) > Please read the build log you posted - your kernel in /usr/src/linux isn't > prepared for a kernel module to be built against it. Where do you see that? I've verified that its a permissions problem in /usr/src/linux. Must be from building the kernel with a restrictive umask.
Your umasks are your problem.