From patchwork Tue Sep 15 17:43:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tashi Lu X-Patchwork-Id: 518053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (li376-54.members.linode.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 0C92C140180 for ; Wed, 16 Sep 2015 03:43:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=MKMzE3vH; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 8D36810A0E; Tue, 15 Sep 2015 10:43:11 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e3.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id C4E65109FF for ; Tue, 15 Sep 2015 10:43:10 -0700 (PDT) Received: from bar5.cudamail.com (localhost [127.0.0.1]) by mx1e3.cudamail.com (Postfix) with ESMTPS id 5A56742010A for ; Tue, 15 Sep 2015 11:43:10 -0600 (MDT) X-ASG-Debug-ID: 1442338988-09eadd48f9190b40001-byXFYA Received: from mx1-pf2.cudamail.com ([192.168.24.2]) by bar5.cudamail.com with ESMTP id 1tMr8i3O6qfTpakY (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Sep 2015 11:43:08 -0600 (MDT) X-Barracuda-Envelope-From: dotslash.lu@gmail.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.2 Received: from unknown (HELO mail-wi0-f175.google.com) (209.85.212.175) by mx1-pf2.cudamail.com with ESMTPS (RC4-SHA encrypted); 15 Sep 2015 17:43:08 -0000 Received-SPF: pass (mx1-pf2.cudamail.com: SPF record at _netblocks.google.com designates 209.85.212.175 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.85.212.175 X-Barracuda-RBL-IP: 209.85.212.175 Received: by wicfx3 with SMTP id fx3so37718267wic.0 for ; Tue, 15 Sep 2015 10:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2H8l/fhsmlhsL0HVCbVJzBaN/kn21SAsuJUi3abywTI=; b=MKMzE3vHvtuhcZAQdT9q7RDnT3OAKPye0c/iSSe1Lo1Uz6slqvbiEOYunnlFL5XXAQ 809Hi2Ij5g8FWcJlqZP9eYbXmmuW9KMY1Ae2um54jdlEDcilZ93fxoF3243ZK6imUjeY EgxVUWUWHLvG7QEv87RB+YZWsonFIRab1mxSa+/MrckQe91CHrOyQYnl5oxikr4VEk5U HyCgF+6lJqj/jhmX6y4Cdz81hwkOiA1g8szL2yihN+hnNGXb0TY+J5+AUgqCsy9gTDLX PXMFwhMWsKgBI2DJfZVXDVgZj6H6fCArKV5u/+FxGKzbVhQP9CFHrwb66LSKUPtc6cZz typw== MIME-Version: 1.0 X-Received: by 10.180.87.230 with SMTP id bb6mr9401339wib.26.1442338986582; Tue, 15 Sep 2015 10:43:06 -0700 (PDT) Received: by 10.194.11.35 with HTTP; Tue, 15 Sep 2015 10:43:06 -0700 (PDT) Date: Wed, 16 Sep 2015 01:43:06 +0800 Message-ID: X-CudaMail-MID: CM-E2-914065736 X-CudaMail-DTE: 091515 X-CudaMail-Originating-IP: 209.85.212.175 X-CudaMail-Envelope-Sender: dotslash.lu@gmail.com X-ASG-Orig-Subj: [##CM-E2-914065736##][PATCH 1/3] rhel: fix 'cannot remove' build error From: Tashi Lu To: dev@openvswitch.org X-GBUdb-Analysis: 0, 209.85.212.175, Ugly c=0.44763 p=-0.584416 Source Normal X-MessageSniffer-Rules: 0-0-0-8087-c X-Barracuda-Connect: UNKNOWN[192.168.24.2] X-Barracuda-Start-Time: 1442338988 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: 1.10 X-Barracuda-Spam-Status: No, SCORE=1.10 using per-user scores of TAG_LEVEL=3.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests=BSF_RULE7568M, BSF_SC5_MJ1963, DKIM_SIGNED, HTML_MESSAGE, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.22570 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.00 HTML_MESSAGE BODY: HTML included in message 0.50 BSF_RULE7568M Custom Rule 7568M 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Subject: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@openvswitch.org Sender: "dev" From 338df1bfb07f7b0f16037aa0bbb8fe5dba6aa005 Mon Sep 17 00:00:00 2001 From: dotSlashLu Date: Fri, 4 Sep 2015 21:38:13 +0800 Subject: [PATCH 1/3] rhel: fix 'cannot remove' build error These 3 patches are for fixing several rpm build errors on CentOS 6.x, see https://github.com/openvswitch/ovs/pull/65 Fix rpmbuild error: rm: cannot remove `/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-test': No su rm: cannot remove `/root/rpmbuild/BUILDROOT/openvswitch-2.4.90-1.x86_64/usr/bin/ovs-l3ping': No error: Bad exit status from /var/tmp/rpm-tmp.dd9miw (%install) Signed-off-by: Dotslash Lu --- rhel/openvswitch.spec.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- 1.7.1 diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index dad3e04..cc9d9ab 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -56,7 +56,7 @@ rhel_cp etc_sysconfig_network-scripts_ifdown-ovs 0755 rhel_cp usr_share_openvswitch_scripts_sysconfig.template 0644 # Get rid of stuff we don't want to make RPM happy. -rm \ +rm -rf \ $RPM_BUILD_ROOT/usr/bin/ovs-testcontroller \ $RPM_BUILD_ROOT/usr/share/man/man8/ovs-testcontroller.8 \ $RPM_BUILD_ROOT/usr/bin/ovs-test \