Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483486

Summary: net-misc/openvswitch-{1.10.0,1.11.0} version bump
Product: Gentoo Linux Reporter: Davide Rebeccani <davide.rebeccani>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal CC: cyberbat83, Florian.Steinel, Timewulf, virtualization
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-misc/openvswitch-1.10.0
datapath: remove HAVE_MAC_RAW
openvswitch-1.11.0.ebuild

Description Davide Rebeccani 2013-09-03 13:25:02 UTC
New net-misc/openvswitch ebuild for version 0.10.0

Reproducible: Always
Comment 1 Davide Rebeccani 2013-09-03 13:25:28 UTC
Created attachment 357762 [details]
net-misc/openvswitch-1.10.0
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-03 15:14:08 UTC
*** Bug 483488 has been marked as a duplicate of this bug. ***
Comment 3 Florian Steinel 2013-09-29 12:08:48 UTC
Add Upstream patch http://article.gmane.org/gmane.network.openvswitch.devel/24245
( http://article.gmane.org/gmane.network.openvswitch.devel/25038 )

for sys-kernel/gentoo-sources-3.10.7 error:
make[1]: Entering directory `/usr/src/linux-3.10.7-gentoo-r1'
  CC [M]  /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.o
  CC [M]  /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/checksum.o
/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c: In function ‘pop_vlan’:
/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c:103:2: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
In file included from /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/compat/include/linux/if_vlan.h:6:0,
                 from /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c:29:
include/linux/if_vlan.h:236:31: note: declared here
/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c: In function ‘push_vlan’:
/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c:123:2: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
In file included from /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/compat/include/linux/if_vlan.h:6:0,
                 from /var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.c:29:
include/linux/if_vlan.h:236:31: note: declared here
make[2]: *** [/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux/actions.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/net-misc/openvswitch-1.11.0/work/openvswitch-1.11.0/datapath/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.7-gentoo-r1'
make: *** [default] Error 2
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-09-29 18:21:55 UTC
Is there any reason the 1.11.0 in tree is bad?
Comment 6 Florian Steinel 2013-09-29 19:53:19 UTC
Created attachment 359756 [details]
openvswitch-1.11.0.ebuild

(In reply to Matthew Thode ( prometheanfire ) from comment #5)
With sys-kernel/linux-headers-3.9 buiding net-misc/openvswitch-1.11.0 fails. (see above)
Adding "<sys-kernel/linux-headers-3.9" to DEPEND fixed the build process.
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-10-01 04:49:26 UTC
How does this not catch it?

    kernel_is lt 3 9 || die "Linux >=2.6.18 and <3.9 required"                  


OK, to summarize the situation,

1.  The build fails because linux headers 3.9 are installed?
2.  What is the purpose of the patch linked in comment 4?
3.  Your logs show that you were using linux-3.10.7-gentoo-r1 which is unsupported

If you can reproduce on a kernel of the correct version I can do something :|
Comment 8 Thomas Capricelli 2014-04-17 00:06:27 UTC
openvswitch 2.0.0-r3 is in tree now.
Comment 9 cyberbat 2014-05-21 07:16:47 UTC
Open vSwitch 2.1.2 is the last current version. It war released three week ago. Can somebody change summary and the bump to it please.
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-08-22 04:29:36 UTC
bumped 2.1.3 and 2.3.0