Hai, Can you rerun with "-e -X" and the native setting as well? Also, can you send pastebin the entire build output and send the link to it?
Kindest regards. Ron On Sun, Jan 29, 2012 at 3:44 PM, Hai Huang <hhuang2...@yahoo.com> wrote: > Hi, > > I got the hadoop hadoop source via Git and buit it using the command > > ================= > mvn package -Pdist,native,docs -DskipTests -Dtar > > ================= > > > Does anyone the below compilation issue I got ? > > ================== > > [ERROR] Failed to execute goal > org.codehaus.mojo:make-maven-plugin:1.0-beta-1:test (test) on project > hadoop-yarn-server-nodemanager: make returned an exit value != 0. Aborting > build; see command output above for more information. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [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-yarn-server-nodemanager > > ================= > > I am using the CentOs 6.2 and gcc 4.4.6. It looks like that the issue is > due to build native code. If I just used the command > > ============ > > mvn package -Pdist -DskipTests -Dtar > > ============ > > The build was OK. > > > Best, > > Hai > >