Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 90DFC200C7D for ; Tue, 16 May 2017 20:26:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F7AF160BC1; Tue, 16 May 2017 18:26:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D6699160BA6 for ; Tue, 16 May 2017 20:26:07 +0200 (CEST) Received: (qmail 32764 invoked by uid 500); 16 May 2017 18:26:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 32748 invoked by uid 99); 16 May 2017 18:26:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 18:26:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 99682C0254 for ; Tue, 16 May 2017 18:26:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id b7ruTHhCLgDc for ; Tue, 16 May 2017 18:26:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2B9DD5F666 for ; Tue, 16 May 2017 18:26:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6CEEAE06C2 for ; Tue, 16 May 2017 18:26:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 22FBE2193E for ; Tue, 16 May 2017 18:26:04 +0000 (UTC) Date: Tue, 16 May 2017 18:26:04 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17352) Fix hbase-assembly build with bash 4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 16 May 2017 18:26:08 -0000 [ https://issues.apache.org/jira/browse/HBASE-17352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012862#comment-16012862 ] Hudson commented on HBASE-17352: -------------------------------- SUCCESS: Integrated in Jenkins build HBase-1.2-JDK8 #131 (See [https://builds.apache.org/job/HBase-1.2-JDK8/131/]) HBASE-17352 Fix hbase-assembly build with bash 4 (tedyu: rev 5c82c823642b96b3eff1f586701508dc2f3525a1) * (edit) hbase-assembly/pom.xml > Fix hbase-assembly build with bash 4 > ------------------------------------ > > Key: HBASE-17352 > URL: https://issues.apache.org/jira/browse/HBASE-17352 > Project: HBase > Issue Type: Bug > Reporter: Junegunn Choi > Assignee: Junegunn Choi > Priority: Minor > Fix For: 2.0.0, 1.4.0, 1.2.6, 1.3.2, 1.1.11 > > Attachments: HBASE-17352.patch > > > hbase-assembly fails to build with bash 4. > {noformat} > [DEBUG] Executing command line: [env, bash, -c, cat maven-shared-archive-resources/META-INF/NOTICE \ > `find /Users/jg/github/hbase/hbase-assembly/target/dependency -iname NOTICE -or -iname NOTICE.txt` \] > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (concat-NOTICE-files) on project hbase-assembly: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (concat-NOTICE-files) on project hbase-assembly: Command execution failed. > {noformat} > The error is caused by the trailing backslash in the bash command for {{concat-NOTICE-files}}. You can see the behavioral difference between bash 3 and 4 with the following snippet. > {code} > $ # Using bash 3 > $ /bin/bash -c 'cat <(echo foo) \' && echo good || echo bad > foo > good > $ # Using bash 4 > $ /usr/local/bin/bash -c 'cat <(echo foo) \' && echo good || echo bad > foo > cat: \: No such file or directory > bad > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)