Hadoop Common
  1. Hadoop Common
  2. HADOOP-8921

ant build.xml in branch-1 ignores -Dcompile.native

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
    • Environment:

      Mac OS X 10.7.4

    • Release Note:
      Prevent autotools dependency when native libraries are disabled/unavailable

      Description

      ant -Dcompile.native=false still runs autoconf and libtoolize

      According to ant 1.8 manual, any <target if> 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.

      1. HADOOP-8921.4.patch
        1 kB
        Gopal V
      2. HADOOP-8921.5.patch
        2 kB
        Chris Nauroth
      3. hadoop-8921.6.patch
        1 kB
        Giridharan Kesavan
      4. HADOOP-8921.7.patch
        0.6 kB
        Arpit Agarwal

        Issue Links

          Activity

            People

            • Assignee:
              Gopal V
              Reporter:
              Gopal V
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development