Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51753114D9 for ; Fri, 27 Jun 2014 16:33:25 +0000 (UTC) Received: (qmail 25734 invoked by uid 500); 27 Jun 2014 16:33:25 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 25699 invoked by uid 500); 27 Jun 2014 16:33:25 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 25673 invoked by uid 99); 27 Jun 2014 16:33:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 16:33:25 +0000 Date: Fri, 27 Jun 2014 16:33:25 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2956) bootstrap_config.sh relies on GNU getopt for long opts, which doesn't work in OS X MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046122#comment-14046122 ] Christopher Tubbs commented on ACCUMULO-2956: --------------------------------------------- {quote}Are configs needed to do development? is MAC sufficient?{quote} Configs are needed to build, which is needed for development. {quote}Could we rename to bootstrap_config so that the implementation is hidden from end users?{quote} Sure, but it's outside the scope of this issue, and I'd prefer not to make that change between 1.6.0 and 1.6.1. A smaller, targeted fix is a simple if statement to check the output of {{uname -s}} > bootstrap_config.sh relies on GNU getopt for long opts, which doesn't work in OS X > ---------------------------------------------------------------------------------- > > Key: ACCUMULO-2956 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2956 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.6.0 > Reporter: Christopher Tubbs > Fix For: 1.6.1, 1.7.0 > > > Discovered while working on ACCUMULO-2646, bootstrap_config.sh's command line options don't work without GNU getopt. This means that this script doesn't work on OS X or BSD systems without modification. > The bootstrap_config.sh script should be modified to detect the OS and fall back to a compatible argument parsing when not in Linux. The long opts should be preserved in Linux, since these were available in Accumulo 1.6.0. -- This message was sent by Atlassian JIRA (v6.2#6252)