Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8580

ant compile-native fails with automake version 1.11.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0, 0.22.0
    • 1.2.0
    • None
    • None
    • 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

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ekoontz Eugene Joseph Koontz
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: