Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D617D9DFD for ; Mon, 30 Jan 2012 04:43:25 +0000 (UTC) Received: (qmail 46203 invoked by uid 500); 30 Jan 2012 04:43:23 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 45388 invoked by uid 500); 30 Jan 2012 04:43:18 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 45351 invoked by uid 99); 30 Jan 2012 04:43:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2012 04:43:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ronald.petty@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2012 04:43:10 +0000 Received: by wibhq12 with SMTP id hq12so3924121wib.35 for ; Sun, 29 Jan 2012 20:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=En6Qrd8B6avQtaTs0sN1CRi93h2c/AflleqzjcY/oO4=; b=LtdhsIe7N3TmEdt9uQEsJnZ/0qVIkSXI6ZNwo23wKAIoNDB6MmfTCYwS5aHfIkUivy MFs2dxcODM1v1uPPL1efxo0mCYgRFwx0ghSCUqb/bTCWhARDz95ut7OhIVoB22tQ7VoL ClMeZYpQxnorzcVmjsQ3ofLFbyCdCoxSLr7NY= Received: by 10.180.95.105 with SMTP id dj9mr24662071wib.18.1327898570141; Sun, 29 Jan 2012 20:42:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.202.79 with HTTP; Sun, 29 Jan 2012 20:42:30 -0800 (PST) In-Reply-To: <1327880657.10233.YahooMailNeo@web121206.mail.ne1.yahoo.com> References: <1327880657.10233.YahooMailNeo@web121206.mail.ne1.yahoo.com> From: Ronald Petty Date: Sun, 29 Jan 2012 20:42:30 -0800 Message-ID: Subject: Re: Issue on building hadoop native To: common-dev@hadoop.apache.org, Hai Huang Content-Type: multipart/alternative; boundary=f46d0442816a922e7404b7b77aae X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442816a922e7404b7b77aae Content-Type: text/plain; charset=ISO-8859-1 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 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 -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 > > --f46d0442816a922e7404b7b77aae--