[
https://issues.apache.org/jira/browse/HADOOP-8080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210002#comment-13210002
]
Changming Sun commented on HADOOP-8080:
---------------------------------------
Sorry, it is because of another reason.
[DEBUG] Configuring mojo
org.codehaus.mojo:make-maven-plugin:1.0-beta-1:autoreconf from plugin realm
ClassRealm[plugin>org.codehaus.mojo:make-maven-plugin:1.0-beta-1, parent:
sun.misc.Launcher$AppClassLoader@b92d342]
[DEBUG] Configuring mojo
'org.codehaus.mojo:make-maven-plugin:1.0-beta-1:autoreconf' with basic
configurator -->
[DEBUG] (f) arguments = [-i, -f]
[DEBUG] (f) workDir =
/usr/home/changming/build/hadoop/hadoop-common-project/hadoop-common/target/native
[DEBUG] -- end configuration --
[DEBUG] Executing: /bin/sh -l -c cd
/usr/home/changming/build/hadoop/hadoop-common-project/hadoop-common/target/native
&& autoreconf -i -f
[DEBUG] Illegal option -l
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [1.221s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [0.952s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [2.873s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [1.076s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.802s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [2.814s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [2.681s]
[INFO] Apache Hadoop Common .............................. FAILURE [5.286s]
[INFO] Apache Hadoop Common Project ...................... SKIPPED
[INFO] Apache Hadoop HDFS ................................ SKIPPED
[INFO] Apache Hadoop HttpFS .............................. SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS Project ........................ SKIPPED
[INFO] hadoop-yarn ....................................... SKIPPED
[INFO] hadoop-yarn-api ................................... SKIPPED
[INFO] hadoop-yarn-common ................................ SKIPPED
[INFO] hadoop-yarn-server ................................ SKIPPED
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-mapreduce-client ........................... SKIPPED
[INFO] hadoop-mapreduce-client-core ...................... SKIPPED
[INFO] hadoop-yarn-applications .......................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
[INFO] hadoop-yarn-site .................................. SKIPPED
[INFO] hadoop-mapreduce-client-common .................... SKIPPED
[INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
[INFO] hadoop-mapreduce-client-app ....................... SKIPPED
[INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
[INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] hadoop-mapreduce .................................. SKIPPED
[INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
[INFO] Apache Hadoop Distributed Copy .................... SKIPPED
[INFO] Apache Hadoop Archives ............................ SKIPPED
[INFO] Apache Hadoop Rumen ............................... SKIPPED
[INFO] Apache Hadoop Extras .............................. SKIPPED
[INFO] Apache Hadoop Tools Dist .......................... SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.940s
[INFO] Finished at: Thu Feb 16 15:55:37 CST 2012
[INFO] Final Memory: 43M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:make-maven-plugin:1.0-beta-1:autoreconf (compile) on project
hadoop-common: autoreconf command returned an exit value != 0. Aborting build;
see debug output for more information. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:make-maven-plugin:1.0-beta-1:autoreconf (compile) on project
hadoop-common: autoreconf command returned an exit value != 0. Aborting build;
see debug output for more information.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: autoreconf command
returned an exit value != 0. Aborting build; see debug output for more
information.
at
org.codehaus.mojo.autotools.AutoreconfExecMojo.execute(AutoreconfExecMojo.java:135)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-common
The "sh" in FreeBSD is a old style "sh" shell, not bash. It doesn't support
"-l" option.
> hadoop-common/src/main/native does not have a directory which name is "m4"
> --------------------------------------------------------------------------
>
> Key: HADOOP-8080
> URL: https://issues.apache.org/jira/browse/HADOOP-8080
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Environment: FreeBSD 9.0
> automake --version
> automake (GNU automake) 1.11.1
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl-2.0.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Written by Tom Tromey <[email protected]>
> and Alexandre Duret-Lutz <[email protected]>.
> Reporter: Changming Sun
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> There is a such line in configure.ac
> AC_CONFIG_MACRO_DIR([m4])
> But there doesn't have such a directory, so if the version of automake is
> too high, autoreconf will fail.
> Here is a minor patch for it:
> ===================================================================
> --- hadoop-common-project/hadoop-common/src/main/native/configure.ac
> (revision 1244865)
> +++ hadoop-common-project/hadoop-common/src/main/native/configure.ac
> (working copy)
> @@ -37,7 +37,7 @@
> AC_INIT(src/org_apache_hadoop.h)
> AC_CONFIG_SRCDIR([src/org_apache_hadoop.h])
> AC_CONFIG_AUX_DIR([config])
> -AC_CONFIG_MACRO_DIR([m4])
> +#AC_CONFIG_MACRO_DIR([m4])
> AC_CONFIG_HEADER([config.h])
> AC_SYS_LARGEFILE
> AC_GNU_SOURCE
--
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