Hadoop Common
  1. Hadoop Common
  2. HADOOP-8580

ant compile-native fails with automake version 1.11.3

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 0.22.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The following:

      ant -d -v -DskipTests -Dcompile.native=true clean compile-native
      

      works with GNU automake version 1.11.1, but fails with automake version 1.11.3.

      Relevant lines of failure seem to be these:

      [exec] make[1]: Leaving directory `/tmp/hadoop-common/build/native/Linux-amd64-64'
           [exec] Current OS is Linux
           [exec] Executing 'sh' with arguments:
           [exec] '/tmp/hadoop-common/build/native/Linux-amd64-64/libtool'
           [exec] '--mode=install'
           [exec] 'cp'
           [exec] '/tmp/hadoop-common/build/native/Linux-amd64-64/libhadoop.la'
           [exec] '/tmp/hadoop-common/build/native/Linux-amd64-64/lib'
           [exec] 
           [exec] The ' characters around the executable and arguments are
           [exec] not part of the command.
           [exec] /tmp/hadoop-common/build/native/Linux-amd64-64/libtool: 3212: /tmp/hadoop-common/build/native/Linux-amd64-64/libtool: install_prog+=cp: not found
           [exec] /tmp/hadoop-common/build/native/Linux-amd64-64/libtool: 3232: /tmp/hadoop-common/build/native/Linux-amd64-64/libtool: files+= /tmp/hadoop-common/build/native/Linux-amd64-64/libhadoop.la: not found
           [exec] libtool: install: you must specify an install program
           [exec] libtool: install: Try `libtool --help --mode=install' for more information.
        [antcall] Exiting /tmp/hadoop-common/build.xml.
      
      BUILD FAILED
      

      Created transcript showing entire output of the above ant command for both automake 1.11.1 (successful) versus 1.11.3 (failed) here:

      https://gist.github.com/3078988

      1. hadoop-8580-branch-1.gs.patch
        0.6 kB
        Gera Shegalov
      2. HADOOP-8580-branch-1.patch
        0.5 kB
        Chuan Liu

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Eugene Koontz
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development