From patchwork Sat Jul 23 10:27:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santiago Vila X-Patchwork-Id: 651868 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3rxP0v2w3dz9t1Y for ; Sat, 23 Jul 2016 20:30:22 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id B44EC10BFC; Sat, 23 Jul 2016 03:30:20 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 3FD7C1086D for ; Sat, 23 Jul 2016 03:30:19 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 842E01623E6 for ; Sat, 23 Jul 2016 04:30:18 -0600 (MDT) X-ASG-Debug-ID: 1469269815-0b323703fa209ad0001-byXFYA Received: from mx3-pf2.cudamail.com ([192.168.14.1]) by bar6.cudamail.com with ESMTP id KFgaZaBYCcmsxI5l (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 23 Jul 2016 04:30:15 -0600 (MDT) X-Barracuda-Envelope-From: debbugs@buxtehude.debian.org X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.1 Received: from unknown (HELO buxtehude.debian.org) (206.12.19.147) by mx3-pf2.cudamail.com with ESMTPS (AES128-SHA encrypted); 23 Jul 2016 10:30:15 -0000 Received-SPF: none (mx3-pf2.cudamail.com: domain at buxtehude.debian.org does not designate permitted sender hosts) X-Barracuda-Apparent-Source-IP: 206.12.19.147 X-Barracuda-RBL-IP: 206.12.19.147 Received: from debbugs by buxtehude.debian.org with local (Exim 4.84_2) (envelope-from ) id 1bQuCD-000208-0R; Sat, 23 Jul 2016 10:30:13 +0000 X-Loop: owner@bugs.debian.org X-CudaMail-MID: CM-V2-722001843 X-CudaMail-DTE: 072316 X-CudaMail-Originating-IP: 206.12.19.147 X-ASG-Orig-Subj: [##CM-V2-722001843##]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 Resent-From: Santiago Vila Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Open vSwitch developers X-Loop: owner@bugs.debian.org Resent-Date: Sat, 23 Jul 2016 10:30:11 +0000 Resent-Message-ID: X-Debian-PR-Message: followup 831924 X-Debian-PR-Package: src:openvswitch X-Debian-PR-Keywords: sid stretch X-Debian-PR-Source: openvswitch Received: via spool by 831924-submit@bugs.debian.org id=B831924.14692696397059 (code B ref 831924); Sat, 23 Jul 2016 10:30:11 +0000 Received: (at 831924) by bugs.debian.org; 23 Jul 2016 10:27:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 (2014-02-07) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=4.0 tests=BAYES_00, MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, RP_MATCHES_RCVD, SPF_PASS,VALID_BTS_CONTROL autolearn=unavailable autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 0; hammy, 149; neutral, 23; spammy, 1. spammytokens:0.960-+--H*c:HHHH hammytokens:0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--dh_auto_clean, 0.000-+--H*RU:sanvila@unex.es, 0.000-+--sk:archin Received: from zmta01.unex.es ([158.49.17.55]) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bQu9O-0001pU-Pm; Sat, 23 Jul 2016 10:27:19 +0000 Received: from localhost (localhost [127.0.0.1]) by zmta01.unex.es (Postfix) with ESMTP id A89CD60087; Sat, 23 Jul 2016 12:27:16 +0200 (CEST) Received: from zmta01.unex.es ([127.0.0.1]) by localhost (zmta01.servicios.unex.es [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id faSK1is8UCjW; Sat, 23 Jul 2016 12:27:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmta01.unex.es (Postfix) with ESMTP id 690CB60088; Sat, 23 Jul 2016 12:27:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at zmta01.siue Received: from zmta01.unex.es ([127.0.0.1]) by localhost (zmta01.servicios.unex.es [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id do1aidbwsGjS; Sat, 23 Jul 2016 12:27:10 +0200 (CEST) Received: from zproxy01.unex.es (zproxy01.servicios.unex.es [10.254.208.61]) by zmta01.unex.es (Postfix) with ESMTPS id 33ED160087; Sat, 23 Jul 2016 12:27:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zproxy01.unex.es (Postfix) with ESMTP id 2B05F8026E; Sat, 23 Jul 2016 12:27:10 +0200 (CEST) Received: from zproxy01.unex.es ([127.0.0.1]) by localhost (zproxy01.servicios.unex.es [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FfWpQlKtvrOs; Sat, 23 Jul 2016 12:27:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zproxy01.unex.es (Postfix) with ESMTP id EA9D380283; Sat, 23 Jul 2016 12:27:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at zproxy01.siue Received: from zproxy01.unex.es ([127.0.0.1]) by localhost (zproxy01.servicios.unex.es [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VoOsloZL4RL1; Sat, 23 Jul 2016 12:27:03 +0200 (CEST) Received: from tulipan.isla-invisible.es (tulipan.isla-invisible.es [185.92.222.134]) by zproxy01.unex.es (Postfix) with ESMTPSA id B267980260; Sat, 23 Jul 2016 12:27:03 +0200 (CEST) Received: by tulipan.isla-invisible.es (Postfix, from userid 1000) id 276C2658; Sat, 23 Jul 2016 12:27:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tulipan.isla-invisible.es (Postfix) with ESMTP id 1D5FF60A; Sat, 23 Jul 2016 12:27:03 +0200 (CEST) Date: Sat, 23 Jul 2016 12:27:03 +0200 (CEST) X-CudaMail-Envelope-Sender: debbugs@buxtehude.debian.org From: Santiago Vila To: 831924@bugs.debian.org In-Reply-To: <20160720193114.GA17523@xanadu.blop.info> Message-ID: References: <20160720193114.GA17523@xanadu.blop.info> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-ID: X-CrossAssassin-Score: 2 X-GBUdb-Analysis: 0, 206.12.19.147, Ugly c=0 p=0 Source New X-MessageSniffer-Rules: 0-0-0-8834-c X-Barracuda-Connect: UNKNOWN[192.168.14.1] X-Barracuda-Start-Time: 1469269815 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests=BSF_SC0_MISMATCH_TO, BSF_SC5_MJ1963, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.31464 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Cc: Debian BTS Subject: [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 X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Santiago Vila , 831924@bugs.debian.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@openvswitch.org Sender: "dev" 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. --- 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