On 07/19/2011 07:13 PM, Sébastien RICCIO wrote:
Hi,
I'm trying to build deb packages from latest openvswitch version from
git (cloned today) but
it doesn't finish the building.
box:/usr/src/openvswitch.last/# dpkg-buildpackage -b -us -uc
---
[... lots of things cutted ...]
EConfigWindow.py ../ovsdb/ovsdbmonitor/OVEFetch.py
../ovsdb/ovsdbmonitor/OVEFlowWindow.py
../ovsdb/ovsdbmonitor/OVEHostWindow.py
../ovsdb/ovsdbmonitor/OVELogWindow.py
../ovsdb/ovsdbmonitor/OVELogger.py
../ovsdb/ovsdbmonitor/OVEMainWindow.py
../ovsdb/ovsdbmonitor/OVEStandard.py ../ovsdb/ovsdbmonitor/OVEUtil.py
../ovsdb/ovsdbmonitor/Ui_ConfigWindow.py
../ovsdb/ovsdbmonitor/Ui_FlowWindow.py
../ovsdb/ovsdbmonitor/Ui_HostWindow.py
../ovsdb/ovsdbmonitor/Ui_LogWindow.py
../ovsdb/ovsdbmonitor/Ui_MainWindow.py
../ovsdb/ovsdbmonitor/qt4reactor.py
'/usr/src/openvswitch.last/debian/openvswitch/usr/share/openvswitch/ovsdbmonitor'
test -z "/usr/share/openvswitch" || /bin/mkdir -p
"/usr/src/openvswitch.last/debian/openvswitch/usr/share/openvswitch"
/usr/bin/install -c -m 644 ../vswitchd/vswitch.ovsschema
'/usr/src/openvswitch.last/debian/openvswitch/usr/share/openvswitch'
test -z "/usr/share/openvswitch/scripts" || /bin/mkdir -p
"/usr/src/openvswitch.last/debian/openvswitch/usr/share/openvswitch/scripts"
/usr/bin/install -c utilities/ovs-ctl utilities/ovs-lib.sh
../utilities/ovs-save ../utilities/bugtool/ovs-bugtool-tc-class-show
../utilities/bugtool/ovs-bugtool-ovsdb-dump
'/usr/src/openvswitch.last/debian/openvswitch/usr/share/openvswitch/scripts'
make[4]: Leaving directory `/usr/src/openvswitch.last/_debian'
make[3]: Leaving directory `/usr/src/openvswitch.last/_debian'
make[2]: Leaving directory `/usr/src/openvswitch.last/_debian'
make[1]: Leaving directory `/usr/src/openvswitch.last/_debian'
cp debian/openvswitch-switch.template
debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
dh_install -s
cp: cannot stat `./_debian/utilities/bugtool/ovs-bugtool': No such
file or directory
dh_install: cp -a ./_debian/utilities/bugtool/ovs-bugtool
debian/openvswitch-common/usr/sbin/ returned exit code 1
make: *** [install-arch] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
---
Seems it wants to copy a file that doesn't exists.
The same attempt is working with openvswitch.1.1.1.tar.gz
Here is what I found:
In debian/openvswitch-common.install file of the git version
_debian/ovsdb/ovsdb-client usr/bin
_debian/ovsdb/ovsdb-tool usr/bin
_debian/utilities/ovs-appctl usr/sbin
_debian/utilities/ovs-ofctl usr/sbin
_debian/utilities/ovs-parse-leaks usr/bin
_debian/utilities/ovs-pki usr/sbin
debian/openvswitch/etc/openvswitch/bugtool-plugins etc/openvswitch
debian/openvswitch/usr/share/openvswitch/scripts/ovs-bugtool-tc-class-show
usr/share/openvswitch/scripts/ovs-bugtool-tc-class-show
_debian/utilities/bugtool/ovs-bugtool usr/sbin
vswitchd/vswitch.ovsschema usr/share/openvswitch
In debian/openvswitch-common.install file of the 1.1.1 version
_debian/ovsdb/ovsdb-client usr/bin
_debian/ovsdb/ovsdb-tool usr/bin
_debian/utilities/ovs-appctl usr/sbin
_debian/utilities/ovs-ofctl usr/sbin
_debian/utilities/ovs-parse-leaks usr/bin
_debian/utilities/ovs-pki usr/sbin
debian/ovs-bugtool usr/sbin
debian/ovs-bugtool.8 usr/share/man/man8
vswitchd/vswitch.ovsschema usr/share/openvswitch
The lines about the ovs-bugtool aren't the same. Could this lead to a
solution ? :)
Thanks for your time.
Cheers,
Sébastien
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev
Self fixed :) It now builds de package without any prob.
Replaced
_debian/utilities/bugtool/ovs-bugtool usr/sbin
with
debian/openvswitch/usr/sbin/ovs-bugtool usr/sbin
in
debian/openvswitch-common.install
If someone wants to fix it on the git tree :)
Sébastien
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev