Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491672 - =net-misc/openvswitch-2.0.0 - install: cannot stat 'brcompat.ko': No such file or directory
Summary: =net-misc/openvswitch-2.0.0 - install: cannot stat 'brcompat.ko': No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 492390
  Show dependency tree
 
Reported: 2013-11-19 15:19 UTC by Davide Rebeccani
Modified: 2013-11-25 16:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
=net-misc/openvswitch-2.0.0.ebuild (openvswitch-2.0.0.ebuild,4.55 KB, text/plain)
2013-11-19 15:20 UTC, Davide Rebeccani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Rebeccani 2013-11-19 15:19:18 UTC
=net-misc/openvswitch-2.0.0 doesn't correctly install because ebuil try to install brcompat.ko that is deprecated in this versione

Reproducible: Always

Steps to Reproduce:
1.emerge =net-misc/openvswitch-2.0.0
2.
3.
Actual Results:  
install: cannot stat 'brcompat.ko': No such file or directory
!!! doins: brcompat.ko does not exist
 * ERROR: net-misc/openvswitch-2.0.0::gentoo failed (install phase):
 *   doins failed


Expected Results:  
=net-misc/openvswitch-2.0.0 merge correctly
Comment 1 Davide Rebeccani 2013-11-19 15:20:55 UTC
Created attachment 363572 [details]
=net-misc/openvswitch-2.0.0.ebuild

Corrected build without installation of brcompa.ko kernel module
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 15:57:59 UTC
Comment on attachment 363572 [details]
=net-misc/openvswitch-2.0.0.ebuild

--- openvswitch-2.0.0.ebuild    2013-11-19 16:56:48.057539947 +0100
+++ -   2013-11-19 16:57:43.500109218 +0100
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openvswitch/openvswitch-2.0.0.ebuild,v 1.2 2013/11/18 03:08:16 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openvswitch/openvswitch-2.0.0.ebuild,v 1.1 2013/11/11 02:58:44 prometheanfire Exp $
 
 EAPI=5
 
@@ -32,7 +32,7 @@
        virtual/pkgconfig"
 
 CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN"
-MODULE_NAMES="brcompat(net:${S}/datapath/linux) openvswitch(net:${S}/datapath/linux)"
+MODULE_NAMES="openvswitch(net:${S}/datapath/linux)"
 BUILD_TARGETS="all"
 
 pkg_setup() {
@@ -102,7 +102,7 @@
        use monitor || rmdir "${ED}/usr/share/ovsdbmonitor"
        use debug || rm "${ED}/usr/bin/ovs-parse-leaks"
 
-       newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server
+       newconfd "${FILESDIR}/ovsdb-server_conf" ovsdb-server
        newconfd "${FILESDIR}/ovs-vswitchd_conf" ovs-vswitchd
        newconfd "${FILESDIR}/ovs-controller_conf" ovs-controller
        newinitd "${FILESDIR}/ovsdb-server-r1" ovsdb-server
Comment 3 Lori 2013-11-25 08:59:15 UTC
I see the issue too. When is the fix proposed going to hit the tree?

BTW, here's the supporting text from the OvS FAQ:

Q: What happened to the bridge compatibility feature?

A: Bridge compatibility was a feature of Open vSwitch 1.9 and earlier.
   When it was enabled, Open vSwitch imitated the interface of the
   Linux kernel "bridge" module.  This allowed users to drop Open
   vSwitch into environments designed to use the Linux kernel bridge
   module without adapting the environment to use Open vSwitch.

   Open vSwitch 1.10 and later do not support bridge compatibility.
   The feature was dropped because version 1.10 adopted a new internal
   architecture that made bridge compatibility difficult to maintain.
   Now that many environments use OVS directly, it would be rarely
   useful in any case.

   To use bridge compatibility, install OVS 1.9 or earlier, including
   the accompanying kernel modules (both the main and bridge
   compatibility modules), following the instructions that come with
   the release.  Be sure to start the ovs-brcompatd daemon.
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-11-25 16:29:03 UTC
re-removed the brcompat module (was already removed in 1.11...

Didn't change the conf.d back though, since that is needed (unless you can tell me why you changed it...)