Summary: | linux-info.eclass: Problem parsing version 2.6.31.6-grsec | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Westin <gentoo> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Miscellaneous <kernel-misc> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alecm_88, bernd |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas Westin
2009-11-16 14:56:41 UTC
udev will build and install despite this error. please retest with linux-info.eclass rev 1.79 or newer. No go: * Your kernel version (2.6.32.3-grsec) is new enough to run udev-149 reliably. /usr/portage/eclass/linux-info.eclass: line 396: [: 00200632.2: integer expression expected /usr/portage/eclass/linux-info.eclass: line 396: [: 00200632.2: integer expression expected # $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.81 2010/01/10 09:26:09 robbat2 Exp $ Reopening per user. can you please show me 'make kernelrelease' from your kernel, as well as the values assigned toe the kV_* variables? 2.6.32.3-grsec KV_MAJOR: 2 KV_MINOR: 6 KV_PATCH: 32.2 I have compiled a new kernel but not rebooted so that's why it's 2.6.32.3 but my running kernel is .2 Ok, that version string there explains why it gave an error. KV_PATCH is supposed to be an integer. I'll poke at it more tmrw, to see what's wrong with the parsing. Any news ? I can confirm this bug. I am using sys-kernel/vanilla-sources-2.6.32.11 (running and /usr/src/linux is linked to these sources) and wanted to build sys-fs/udev-151-r2 on my ~amd64 system. Then I got this error:
(..)
* CPV: sys-fs/udev-151-r2
* REPO: gentoo
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.32.11
* Checking for suitable kernel configuration options... [ ok ]
*
* udev-151 does not support Linux kernel before version 2.6.25!
* For a reliable udev, use at least kernel 2.6.27
* Your kernel version (2.6.32.11) is new enough to run udev-151 reliably.
/usr/portage/eclass/linux-info.eclass: Zeile 397: [: 00200632.11: Ganzzahliger Ausdruck erwartet.
/usr/portage/eclass/linux-info.eclass: Zeile 397: [: 00200632.11: Ganzzahliger Ausdruck erwartet.
*
* udev cannot be restarted after emerging,
* as your running kernel version (2.6.32.11) is too old.
* You really need to use a newer kernel after a reboot!
>>> Unpacking source...
(..)
*** Bug 327417 has been marked as a duplicate of this bug. *** I've just committed a new revision of linux-info.eclass fixing this one. |