Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67BE4D8E6 for ; Fri, 12 Oct 2012 10:25:03 +0000 (UTC) Received: (qmail 52307 invoked by uid 500); 12 Oct 2012 10:25:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 52272 invoked by uid 500); 12 Oct 2012 10:25:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 52252 invoked by uid 99); 12 Oct 2012 10:25:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 10:25:02 +0000 Date: Fri, 12 Oct 2012 10:25:02 +0000 (UTC) From: "Gopal V (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1145210620.36766.1350037502793.JavaMail.jiratomcat@arcas> In-Reply-To: <1221411528.36733.1350034623566.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8921) ant build.xml in branch-1 ignores -Dcompile.native 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/HADOOP-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopal V updated HADOOP-8921: ---------------------------- Attachment: (was: HADOOP-8921.3.patch) > ant build.xml in branch-1 ignores -Dcompile.native > -------------------------------------------------- > > Key: HADOOP-8921 > URL: https://issues.apache.org/jira/browse/HADOOP-8921 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 1.2.0 > Environment: Mac OS X 10.7.4 > Reporter: Gopal V > Priority: Trivial > Labels: ant, autoconf, patch > Attachments: HADOOP-8921.4.patch > > > ant -Dcompile.native=false still runs autoconf and libtoolize > According to ant 1.8 manual, any conditions are checked only after the dependencies are run through. The current if condition in code fails to prevent the autoconf/libtool components from running. > Fixing it by moving the if condition up into the "compile-native" target and changing it to a param substitution instead of being evaluated as a condition. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira