Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167385 - linux-info.eclass does not handle localversion in config correctly when running a kernel without localversion
Summary: linux-info.eclass does not handle localversion in config correctly when runni...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-17 20:51 UTC by Petteri Räty (RETIRED)
Modified: 2010-01-26 13:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-02-17 20:51:22 UTC
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.
Comment 1 Alessandro Guido 2009-11-20 17:51:42 UTC
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
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-01-10 08:47:21 UTC
Should be fixed with linux-info.eclass rev 1.78 now.
Comment 3 Alessandro Guido 2010-01-26 13:35:21 UTC
(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