Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584396 - net-misc/openvswitch-2.5.0 ebuild should force kernel version <4.4 instead of <4.0
Summary: net-misc/openvswitch-2.5.0 ebuild should force kernel version <4.4 instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-28 11:37 UTC by Kobboi
Modified: 2016-06-03 23:50 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 Kobboi 2016-05-28 11:37:01 UTC
* openvswitch-2.5.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                 [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.5.3-gentoo/build
 * Found sources for kernel version:
 *     4.5.3-gentoo
 * ERROR: net-misc/openvswitch-2.5.0::gentoo failed (setup phase):
 *   Linux >= 2.6.32 and <= 4.0 required for userspace modules

This is not true, as can be seen when removing that restriction from the ebuild

checking for Linux build directory... /lib/modules/4.5.3-gentoo/build
checking for Linux source directory... /lib/modules/4.5.3-gentoo/build
checking for kernel version... 4.5.3
configure: error: Linux kernel in /lib/modules/4.5.3-gentoo/build is version 4.5.3, but version newer than 4.3.x is not supported (please refer to the FAQ for advice)

See also the upstream FAQ:

http://openvswitch.org/support/dist-docs/FAQ.md.txt

### Q: What Linux kernel versions does each Open vSwitch release work with?

A: The following table lists the Linux kernel versions against which the
   given versions of the Open vSwitch kernel module will successfully
   build.  The Linux kernel versions are upstream kernel versions, so
   Linux kernels modified from the upstream sources may not build in
   some cases even if they are based on a supported version.  This is
   most notably true of Red Hat Enterprise Linux (RHEL) kernels, which
   are extensively modified from upstream.

| Open vSwitch | Linux kernel
|:------------:|:-------------:
|    1.4.x     | 2.6.18 to 3.2
|    1.5.x     | 2.6.18 to 3.2
|    1.6.x     | 2.6.18 to 3.2
|    1.7.x     | 2.6.18 to 3.3
|    1.8.x     | 2.6.18 to 3.4
|    1.9.x     | 2.6.18 to 3.8
|    1.10.x    | 2.6.18 to 3.8
|    1.11.x    | 2.6.18 to 3.8
|    2.0.x     | 2.6.32 to 3.10
|    2.1.x     | 2.6.32 to 3.11
|    2.3.x     | 2.6.32 to 3.14
|    2.4.x     | 2.6.32 to 4.0
|    2.5.x     | 2.6.32 to 4.3
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-03 23:50:26 UTC
ah, they finally updated that, thanks