[ https://issues.apache.org/jira/browse/HADOOP-8580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gera Shegalov updated HADOOP-8580: ---------------------------------- Attachment: hadoop-8580-branch-1.gs.patch slightly different patch: exec libtool directly. > ant compile-native fails with automake version 1.11.3 > ----------------------------------------------------- > > Key: HADOOP-8580 > URL: https://issues.apache.org/jira/browse/HADOOP-8580 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 1.2.0, 0.22.0 > Reporter: Eugene Koontz > Attachments: HADOOP-8580-branch-1.patch, hadoop-8580-branch-1.gs.patch > > > The following: > {code} > ant -d -v -DskipTests -Dcompile.native=true clean compile-native > {code} > works with GNU automake version 1.11.1, but fails with automake version > 1.11.3. > Relevant lines of failure seem to be these: > {code} > [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 > {code} > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira