From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 8979E5683 for ; Fri, 13 Mar 2015 15:58:43 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YWR2u-0007WL-2Z; Fri, 13 Mar 2015 10:58:42 -0400 Date: Fri, 13 Mar 2015 10:58:39 -0400 From: Neil Horman To: "Kavanagh, Mark B" Message-ID: <20150313145839.GE28191@hmsreliant.think-freely.org> References: <1422652596-12777-1-git-send-email-nhorman@tuxdriver.com> <1425486419-12508-1-git-send-email-nhorman@tuxdriver.com> <20150313141020.GD28191@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3] ABI: Add abi checking utility X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2015 14:58:43 -0000 On Fri, Mar 13, 2015 at 02:25:17PM +0000, Kavanagh, Mark B wrote: > >On Fri, Mar 13, 2015 at 11:56:59AM +0000, Kavanagh, Mark B wrote: > >> > >> > >> >-----Original Message----- > >> >From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Neil Horman > >> >Sent: Wednesday, March 4, 2015 4:27 PM > >> >To: dev@dpdk.org > >> >Subject: [dpdk-dev] [PATCH v3] ABI: Add abi checking utility > >> > > > > (snip) > > >> >+log "INFO" "Building DPDK $TAG1. This might take a moment" > >> >+make O=$TARGET > $VERBOSE 2>&1 > >> >+ > >> >+if [ $? -ne 0 ] > >> >+then > >> >+ log "INFO" "THE BUILD FAILED. ABORTING" > >> > >> If the build fails while TAG1 is checked out, the user must check out their original > >local branch manually. I'd prefer it if the script checked out $CURRENT_BRANCH in the > >'cleanup_and_exit' function. > >> > >Sure, its in V4. > > Cool. > > > > >> Same applies to TAG2, if the user CTRL-C's out of the script, and to any other command > >that might fail when a particular branch/tag is checked out (for example, the 'sed' > >commands fail when I run the script; however, they work when I run them on the command > >line - I'm investigating this currently). > >> > >What does the log say? Please post it here. If it helps add a set -x to the > >top of the script for additional verbosity. > > > > Hey Neil - this is the error, but it's not a problem with the script; presumably I'd cleaned my DPDK installation directory, so 'sed' couldn't find the defconfig file: > "sed: can't read config/defconfig_x86_64-ivshmem-linuxapp-gcc/: Not a directory" > Actually, it looks to me like you added a trailing "/" to the end of the third argument on the script command line, so sed bombs when it tries to modify a directory instead of a file. Try specifying: x86_64-ivshmem-linuxapp-gcc instead of x86_64-ivshmem-linuxapp-gcc/ Neil > Thanks, > Mark > > >Neil > >