When emerging udev-147 I get this: * Your kernel version (2.6.31.6-grsec) is new enough to run udev-147 reliably. /usr/portage/eclass/linux-info.eclass: line 386: [: 00200631.5: integer expression expected /usr/portage/eclass/linux-info.eclass: line 386: [: 00200631.5: integer expression expected * * udev cannot be restarted after emerging, * as your running kernel version (2.6.31.5-grsec) is too old. * You really need to use a newer kernel after a reboot! Reproducible: Always Portage 2.1.7.5 (hardened/linux/amd64/10.0/no-multilib, gcc-4.4.2, glibc-2.11-r0, 2.6.31.5-grsec x86_64) ================================================================= System uname: Linux-2.6.31.5-grsec-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 16 Nov 2009 14:20:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4, 3.1.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/qmail/alias /var/qmail/control /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests candy distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/hardened-development" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl amd64 apache2 bzip2 cli cracklib crypt dri gdbm gpm hardened iconv justify mailwrapper mmx mng modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pic pppd python qt-gui qt4 readline reflection session spl sse sse2 ssl sysfs unicode urandom xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
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.