pena nvidia-drivers # devebuild nvidia-drivers-1.0.9746.ebuild clean unpack Disabling stricter for nvidia-drivers because it is already known to fail. (depend) Disabling stricter for nvidia-drivers because it is already known to fail. (clean) * NVIDIA-Linux-x86-1.0-9746-pkg0.run MD5 ;-) ... [ ok ] * NVIDIA-Linux-x86-1.0-9746-pkg0.run RMD160 ;-) ... [ ok ] * NVIDIA-Linux-x86-1.0-9746-pkg0.run SHA1 ;-) ... [ ok ] * NVIDIA-Linux-x86-1.0-9746-pkg0.run SHA256 ;-) ... [ ok ] * NVIDIA-Linux-x86-1.0-9746-pkg0.run size ;-) ... [ ok ] Disabling stricter for nvidia-drivers because it is already known to fail. (setup) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.20-gentoo/build * Found sources for kernel version: * 2.6.20-gentoofoobar * Checking for MTRR support ... [ ok ] Disabling stricter for nvidia-drivers because it is already known to fail. (unpack) >>> Unpacking source... Creating directory NVIDIA-Linux-x86-1.0-9746-pkg0 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-9746............................................................................................................................... * Applying NVIDIA_glx-defines.patch ... [ ok ] * Applying NVIDIA_glx-glheader.patch ... [ ok ] * Converting Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked. So here the object directory should have foobar in it.
I think I have the same problem: $ sudo env KERNEL_DIR=/usr/src/v2.6.32-rc8-11-ga8a8a66 emerge @module-rebuild Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 2) app-emulation/virtualbox-modules-3.0.12 * vbox-kernel-module-src-3.0.12.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/v2.6.32-rc8-11-ga8a8a66 * Found kernel object directory: * /usr/src/v2.6.32-rc8 * Found sources for kernel version: * 2.6.32-rc8-11-ga8a8a66
Should be fixed with linux-info.eclass rev 1.78 now.
(In reply to comment #2) > Should be fixed with linux-info.eclass rev 1.78 now. > Don't think so, I've got this today: $ sudo env KERNEL_DIR=/usr/src/linux-2.6.33-rc5-237-g9a3cbe3 emerge @module-rebuild >>> Emerging (1 of 2) app-emulation/virtualbox-modules-3.1.2 from dev-jokey * vbox-kernel-module-src-3.1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: app-emulation/virtualbox-modules-3.1.2 * REPO: dev-jokey * USE: elibc_glibc kernel_linux userland_GNU x86 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux-2.6.33-rc5-237-g9a3cbe3 * Found kernel object directory: * /lib/modules/2.6.33-rc5/build * Found sources for kernel version: * 2.6.33-rc5-237-g9a3cbe3 [snip] >>> Emerging (2 of 2) x11-drivers/nvidia-drivers-173.14.22 * NVIDIA-Linux-x86-173.14.22-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: x11-drivers/nvidia-drivers-173.14.22 * REPO: gentoo * USE: acpi elibc_glibc gtk kernel_linux userland_GNU x86 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux-2.6.33-rc5-237-g9a3cbe3 * Found kernel object directory: * /lib/modules/2.6.33-rc5/build * Found sources for kernel version: * 2.6.33-rc5-237-g9a3cbe3