diff mbox

[ovs-dev] Bug#831924: openvswitch: FTBFS with dpkg-buildpackage -A: cp: cannot create regular file 'debian/openvswitch-switch/usr/share/openvswitch/switch/default.template': No such file or directory

Message ID alpine.DEB.2.11.1607231219200.8975@tulipan.isla-invisible.es
State Not Applicable
Headers show

Commit Message

Santiago Vila July 23, 2016, 10:27 a.m. UTC
tags 831924 + patch
thanks

On Wed, 20 Jul 2016, Lucas Nussbaum wrote:

> dh_install
> # openvswitch-switch
> cp debian/openvswitch-switch.template debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
> cp: cannot create regular file 'debian/openvswitch-switch/usr/share/openvswitch/switch/default.template': No such file or directory
> debian/rules:51: recipe for target 'override_dh_install' failed
> make[1]: *** [override_dh_install] Error 1

Explanation: We are creating arch-independent packages only, so
debian/openvswitch-switch/[...] does not exist.

Trivial fix is to override dh_install only for arch-dependent
packages.

Patch follows.

Thanks.

Comments

Debian Bug Tracking System July 23, 2016, 10:30 a.m. UTC | #1
Processing commands for control@bugs.debian.org:

> tags 831924 + patch
Bug #831924 [src:openvswitch] openvswitch: FTBFS with dpkg-buildpackage -A: cp: cannot create regular file 'debian/openvswitch-switch/usr/share/openvswitch/switch/default.template': No such file or directory
Added tag(s) patch.
> thanks
Stopping processing here.

Please contact me if you need assistance.
diff mbox

Patch

--- a/debian/rules
+++ b/debian/rules
@@ -47,7 +47,7 @@  override_dh_auto_clean:
 	rm -f python/ovs/*.pyc python/ovs/db/*.pyc
 	dh_auto_clean
 
-override_dh_install:
+override_dh_install-arch:
 	dh_install
 	# openvswitch-switch
 	cp debian/openvswitch-switch.template debian/openvswitch-switch/usr/share/openvswitch/switch/default.template