Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 190326
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: udev maintainers <udev-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Wendler (Polynomial-C) <polynomial-c@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
udev-115_ebuild.diff udev-115_ebuild.diff patch Lars Wendler (Polynomial-C) 2007-08-26 19:02 0000 1.13 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190326 depends on: Show dependency tree
Bug 190326 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-26 19:01 0000
This happens during emerge of udev-115 on my machine with vanilla 2.6.21.7
kernel:

 * checking udev-115.tar.bz2 ;-) ...                                      [ ok
]
/usr/portage/sys-fs/udev/udev-115.ebuild: line 52: [[: 21.7: syntax error:
invalid arithmetic operator (error token is ".7")
 *
 * udev-115 does not support Linux kernel before version 2.6.15!
 * If you want to use udev you need to update
 * to kernel >=2.6.15!
 *

The logic inside of pkg_setup seems to not consider a four digit kernelversion.

I'll attach a patch which could fix this.

Reproducible: Always

Steps to Reproduce:
1. have a kernel with four digits in version number (like 2.6.21.7)
2. emerge =udev-115

------- Comment #1 From Lars Wendler (Polynomial-C) 2007-08-26 19:02:21 0000 -------
Created an attachment (id=129258) [details]
udev-115_ebuild.diff

possible solution through versionator.eclass

------- Comment #2 From Matthias Schwarzott 2007-08-26 21:06:33 0000 -------
Tested, works.
Thanks for supplying a working version of the fix :)
I hope this will be the last change of the version-number checking.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug