Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C14D91B8 for ; Mon, 5 Mar 2012 17:36:20 +0000 (UTC) Received: (qmail 57857 invoked by uid 500); 5 Mar 2012 17:36:20 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 57790 invoked by uid 500); 5 Mar 2012 17:36:20 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 57772 invoked by uid 99); 5 Mar 2012 17:36:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 17:36:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 17:36:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 555E0994A for ; Mon, 5 Mar 2012 17:35:59 +0000 (UTC) Date: Mon, 5 Mar 2012 17:35:59 +0000 (UTC) From: "Roman Shaposhnik (Updated) (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <88585353.23041.1330968959351.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <758032793.10193.1322153140008.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (BIGTOP-278) bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Shaposhnik updated BIGTOP-278: ------------------------------------ Fix Version/s: 0.3.0 > bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu > ------------------------------------------------------------------------------------------------------------------ > > Key: BIGTOP-278 > URL: https://issues.apache.org/jira/browse/BIGTOP-278 > Project: Bigtop > Issue Type: Bug > Components: Debian > Affects Versions: 0.2.0 > Environment: Ubuntu Precise and Ubuntu Lucid > Reporter: James Page > Assignee: James Page > Priority: Minor > Fix For: 0.3.0 > > Attachments: BIGTOP-278.patch > > > Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate: > [...] > if [[ $AUTOCONF_VERSION > 2.60 ]]; then > DO_AUTORECONF="create-c++-configure" > fi > fi > This generates a fleeting error message during the build process. > Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch). > However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira