Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525144 - net-misc/openvswitch 2.3 - kernel version detection is off by one
Summary: net-misc/openvswitch 2.3 - kernel version detection is off by one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-12 13:06 UTC by putty_bug
Modified: 2014-10-26 23:06 UTC (History)
2 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 putty_bug 2014-10-12 13:06:10 UTC
Hello,
i´m using a 3.14.x kernel and try to emerge openvswitch-2.3.0:

 * ERROR: net-misc/openvswitch-2.3.0::gentoo failed (setup phase):
 *   Linux >= 2.6.32 and <= 3.14 required for userspace modules
 *
 * Call stack:
 *                  ebuild.sh, line  93:  Called pkg_setup
 *   openvswitch-2.3.0.ebuild, line  41:  Called die
 * The specific snippet of code:
 *              kernel_is lt 3 14 || die "Linux >= 2.6.32 and <= 3.14 required for userspace modules"


Problem: 
- the detection for "<= 3.14" is wrong.
- "kernel_is lt 3 14" was a "< 3.14" query
- "kernel_is le 3 14" whould be the right statement.

I´ve temporary changed the *.ebuild file and it works.

Regards
 Thorsten
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-26 23:06:19 UTC
*openvswitch-2.3.0-r1 (17 Oct 2014)
 
  17 Oct 2014; Matthew Thode <prometheanfire@gentoo.org>
  +openvswitch-2.3.0-r1.ebuild:
  fixing bug 525144