Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E2C510EA7 for ; Tue, 13 Jan 2015 02:51:13 +0000 (UTC) Received: (qmail 88925 invoked by uid 500); 13 Jan 2015 02:51:04 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 88826 invoked by uid 500); 13 Jan 2015 02:51:04 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 88809 invoked by uid 99); 13 Jan 2015 02:51:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 02:51:04 +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 yuzhihong@gmail.com designates 209.85.213.49 as permitted sender) Received: from [209.85.213.49] (HELO mail-yh0-f49.google.com) (209.85.213.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 02:50:37 +0000 Received: by mail-yh0-f49.google.com with SMTP id f10so282212yha.8 for ; Mon, 12 Jan 2015 18:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lwWkyGGeDCK8j8MB8HgCwzZrh3uC+DgTjMYKHlJsrbs=; b=ve+16tuIs6rjXr1LDhPzvG4gkUYtENwIYgT4zcOFG4sLEjruYfBfB/QYdLVHoVvXjR JmOzS+dG+Zx72uUXLey/Gw/iDJC2jdsfSrYLYU1Jp/efQsvBfl1oeo0GM0QTXA7ai77p Y8s9Erj1FZM4gZGLofKBXnpxN95eQZ5+AN+tWs1qL2cNRKaPt9tzSNOTMF+2sy0WiHmt cnYAjSlpurATuQ0WzevT7bi7aCxmlTdZzrvAIozF3qSKYeVUXreD8POHrsU2uVZlw/M+ jLHTkKY48czTGNjhQwJQMre4G3+Lz1KWxe12wbrePN5D8jARg1fUEh/57XyYKSEeeRJq 3edw== MIME-Version: 1.0 X-Received: by 10.236.32.8 with SMTP id n8mr25536007yha.74.1421117391139; Mon, 12 Jan 2015 18:49:51 -0800 (PST) Received: by 10.170.139.4 with HTTP; Mon, 12 Jan 2015 18:49:51 -0800 (PST) In-Reply-To: <48b8fb6a-8424-4c6e-9a18-67e625a9613e@default> References: <6c4e1376-dff2-4e0c-ab90-e76ff91bff43@default> <48b8fb6a-8424-4c6e-9a18-67e625a9613e@default> Date: Mon, 12 Jan 2015 18:49:51 -0800 Message-ID: Subject: Re: Build error for a patch From: Ted Yu To: "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c1c134487b15050c7fad9c X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1c134487b15050c7fad9c Content-Type: text/plain; charset=UTF-8 The compilation error came from this line: if ((errnum < 0) || (errnum >= sys_nerr)) { Looks like C compiler isn't setup properly. Normally you can attach to JIRA and QA bot would verify your patch. Cheers On Mon, Jan 12, 2015 at 6:30 PM, Suman Somasundar < suman.somasundar@oracle.com> wrote: > I am using trunk. > > > > Here is the error in the patchJavacWarnings.txt > > > > > > main: > > [exec] -- The C compiler identification is GNU > > [exec] -- The CXX compiler identification is GNU > > [exec] -- Check for working C compiler: /usr/bin/gcc > > [exec] -- Check for working C compiler: /usr/bin/gcc -- works > > [exec] -- Detecting C compiler ABI info > > [exec] -- Detecting C compiler ABI info - done > > [exec] -- Check for working CXX compiler: /usr/bin/g++ > > [exec] -- Check for working CXX compiler: /usr/bin/g++ -- works > > [exec] -- Detecting CXX compiler ABI info > > [exec] -- Detecting CXX compiler ABI info - done > > [exec] -- Found JNI: > /usr/jdk/instances/jdk1.7.0/jre/lib/sparc/libjawt.so > > [exec] -- Found ZLIB: /usr/lib/libz.so.1 (found version "1.2.3") > > [exec] -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so.1 > > [exec] -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so.1 - > found > > [exec] -- Looking for sync_file_range > > [exec] -- Looking for sync_file_range - not found > > [exec] -- Looking for posix_fadvise > > [exec] -- Looking for posix_fadvise - found > > [exec] -- Looking for dlopen in dl > > [exec] CUSTOM_OPENSSL_PREFIX = > > [exec] -- Looking for dlopen in dl - found > > [exec] -- Performing Test HAS_NEW_ENOUGH_OPENSSL > > [exec] The OpenSSL library installed at /lib/libcrypto.so is too > old. You need a version at least new enough to have EVP_aes_256_ctr. > > [exec] Cannot find a usable OpenSSL library. > OPENSSL_LIBRARY=/lib/libcrypto.so, OPENSSL_INCLUDE_DIR=/usr/include, > CUSTOM_OPENSSL_LIB=, CUSTOM_OPENSSL_PREFIX=, CUSTOM_OPENSSL_INCLUDE= > > [exec] -- Performing Test HAS_NEW_ENOUGH_OPENSSL - Failed > > [exec] -- Configuring done > > [exec] CMake Warning: > > [exec] Manually-specified variables were not used by the project: > > [exec] > > [exec] EXTRA_LIBHADOOP_RPATH > > [exec] REQUIRE_BZIP2 > > [exec] REQUIRE_SNAPPY > > [exec] > > [exec] > > [exec] -- Generating done > > [exec] -- Build files have been written to: > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > > [exec] /usr/bin/cmake > -H/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src > -B/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > --check-build-system CMakeFiles/Makefile.cmake 0 > > [exec] /usr/bin/cmake -E cmake_progress_start > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/progress.marks > > [exec] make -f CMakeFiles/Makefile2 all > > [exec] make -f CMakeFiles/hadoop.dir/build.make > CMakeFiles/hadoop.dir/depend > > [exec] cd > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > && /usr/bin/cmake -E cmake_depends "Unix Makefiles" > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/DependInfo.cmake > --color= > > [exec] Dependee > "/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/DependInfo.cmake" > is newer than depender > "/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/depend.internal". > > [exec] Dependee > "/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeDirectoryInformation.cmake" > is newer than depender > "/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/depend.internal". > > [exec] > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c: > In function 'terror': > > [exec] > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:113:34: > error: 'sys_nerr' undeclared (first use in this function) > > [exec] > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:113:34: > note: each undeclared identifier is reported only once for each function it > appears in > > [exec] > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:116:10: > error: 'sys_errlist' undeclared (first use in this function) > > [exec] > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c:117:1: > warning: control reaches end of non-void function > > [exec] make: Fatal error: Command failed for target > `CMakeFiles/hadoop.dir/main/native/src/exception.c.o' > > [exec] Current working directory > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > > [exec] make: Fatal error: Command failed for target > `CMakeFiles/hadoop.dir/all' > > [exec] Current working directory > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > > [exec] make: Fatal error: Command failed for target `all' > > [exec] Scanning dependencies of target hadoop > > [exec] make -f CMakeFiles/hadoop.dir/build.make > CMakeFiles/hadoop.dir/build > > [exec] /usr/bin/cmake -E cmake_progress_report > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFiles > 1 > > [exec] [ 2%] Building C object > CMakeFiles/hadoop.dir/main/native/src/exception.c.o > > [exec] /usr/bin/gcc -Dhadoop_EXPORTS -g -Wall -O2 -D_REENTRANT > -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native/javah > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/src > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/native > -I/usr/jdk/instances/jdk1.7.0/include > -I/usr/jdk/instances/jdk1.7.0/include/solaris -I/usr/local/include > -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/util > -o CMakeFiles/hadoop.dir/main/native/src/exception.c.o -c > /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/exception.c > > [exec] *** Error code 1 > > [exec] *** Error code 1 > > [exec] *** Error code 1 > > > > Thanks, > > Suman. > > *From:* Ted Yu [mailto:yuzhihong@gmail.com] > *Sent:* Monday, January 12, 2015 6:24 PM > *To:* user@hadoop.apache.org > *Subject:* Re: Build error for a patch > > > > Which branch are you using? > > > > Can you pastebin the error? > > > > Cheers > > > On Jan 12, 2015, at 6:18 PM, Suman Somasundar > wrote: > > Hi all, > > > > When I test a patch file of mine which I want to submit, with > dev-support/test-patch.sh, I get a build failure message with error in > native code which I have not modified. What is the cause of this? > > > > Thanks, > Suman. > > --001a11c1c134487b15050c7fad9c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The compilation error came from this line:
=C2=A0 = if ((errnum < 0) || (errnum >=3D sys_nerr)) {

Looks like C compiler isn't setup properly.

<= div>Normally you can attach to JIRA and QA bot would verify your patch.

Cheers

On Mon, Jan 12, 2015 at 6:30 PM, Suman Somasundar <suman.somasundar@oracle.com> wrote:

I am using trunk.=

= =C2=A0

Here is the error in the patchJavacWarnings.txt

=C2=A0=

= =C2=A0

main:

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- The C compiler identification = is GNU

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- The CXX compiler identification= is GNU

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Check for working C compiler: = /usr/bin/gcc

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Check for working C compi= ler: /usr/bin/gcc -- works

<= span style=3D"color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Detecting C= compiler ABI info

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Detecting C compile= r ABI info - done

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Check for working CX= X compiler: /usr/bin/g++

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Check for wor= king CXX compiler: /usr/bin/g++ -- works

=C2=A0=C2=A0=C2=A0=C2=A0 [exec= ] -- Detecting CXX compiler ABI info

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- D= etecting CXX compiler ABI info - done

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- = Found JNI: /usr/jdk/instances/jdk1.7.0/jre/lib/sparc/libjawt.so

=C2=A0=C2= =A0=C2=A0=C2=A0 [exec] -- Found ZLIB: /usr/lib/libz.so.1 (found version &qu= ot;1.2.3")

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Looking for BZ2_bzCom= pressInit in /usr/lib/libbz2.so.1

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Look= ing for BZ2_bzCompressInit in /usr/lib/libbz2.so.1 - found

=C2=A0=C2=A0= =C2=A0=C2=A0 [exec] -- Looking for sync_file_range

=

=C2=A0=C2=A0=C2=A0=C2= =A0 [exec] -- Looking for sync_file_range - not found<= /p>

=C2=A0=C2=A0=C2=A0= =C2=A0 [exec] -- Looking for posix_fadvise

=C2=A0=C2=A0=C2=A0=C2=A0 [exec= ] -- Looking for posix_fadvise - found

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] --= Looking for dlopen in dl

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] CUSTOM_OPENSSL_= PREFIX =3D

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Looking for dlopen in dl - = found

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Performing Test HAS_NEW_ENOUGH_O= PENSSL

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] The OpenSSL library installed at /= lib/libcrypto.so is too old.=C2=A0 You need a version at least new enough t= o have EVP_aes_256_ctr.

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] Cannot find a usa= ble OpenSSL library.=C2=A0 OPENSSL_LIBRARY=3D/lib/libcrypto.so, OPENSSL_INC= LUDE_DIR=3D/usr/include, CUSTOM_OPENSSL_LIB=3D, CUSTOM_OPENSSL_PREFIX=3D, C= USTOM_OPENSSL_INCLUDE=3D

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Performing Te= st HAS_NEW_ENOUGH_OPENSSL - Failed

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Con= figuring done

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] CMake Warning:

=C2=A0=C2= =A0=C2=A0=C2=A0 [exec]=C2=A0=C2=A0 Manually-specified variables were not us= ed by the project:

=C2=A0=C2=A0=C2=A0=C2=A0 [exec]

=C2=A0=C2=A0=C2=A0= =C2=A0 [exec]=C2=A0=C2=A0=C2=A0=C2=A0 EXTRA_LIBHADOOP_RPATH

=C2=A0=C2=A0= =C2=A0=C2=A0 [exec]=C2=A0=C2=A0=C2=A0=C2=A0 REQUIRE_BZIP2

=C2=A0=C2=A0=C2= =A0=C2=A0 [exec]=C2=A0=C2=A0=C2=A0=C2=A0 REQUIRE_SNAPPY

=C2=A0=C2=A0=C2= =A0=C2=A0 [exec]

=C2=A0=C2=A0=C2=A0=C2=A0 [exec]

=

=C2=A0=C2=A0=C2=A0=C2= =A0 [exec] -- Generating done

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] -- Build fi= les have been written to: /export/home/hadoop/hadoop-comitter/hadoop-git/ha= doop-common-project/hadoop-common/target/native

=C2=A0=C2=A0=C2=A0=C2=A0 = [exec] /usr/bin/cmake -H/export/home/hadoop/hadoop-comitter/hadoop-git/hado= op-common-project/hadoop-common/src -B/export/home/hadoop/hadoop-comitter/h= adoop-git/hadoop-common-project/hadoop-common/target/native --check-build-s= ystem CMakeFiles/Makefile.cmake 0

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] /usr/bi= n/cmake -E cmake_progress_start /export/home/hadoop/hadoop-comitter/hadoop-= git/hadoop-common-project/hadoop-common/target/native/CMakeFiles /export/ho= me/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/ta= rget/native/CMakeFiles/progress.marks

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] mak= e -f CMakeFiles/Makefile2 all

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] make -f CMa= keFiles/hadoop.dir/build.make CMakeFiles/hadoop.dir/depend

=C2=A0=C2=A0= =C2=A0=C2=A0 [exec] cd /export/home/hadoop/hadoop-comitter/hadoop-git/hadoo= p-common-project/hadoop-common/target/native && /usr/bin/cmake -E c= make_depends "Unix Makefiles" /export/home/hadoop/hadoop-comitter= /hadoop-git/hadoop-common-project/hadoop-common/src /export/home/hadoop/had= oop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src /export/hom= e/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/tar= get/native /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-pro= ject/hadoop-common/target/native /export/home/hadoop/hadoop-comitter/hadoop= -git/hadoop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.di= r/DependInfo.cmake --color=3D

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] Dependee &q= uot;/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/ha= doop-common/target/native/CMakeFiles/hadoop.dir/DependInfo.cmake" is n= ewer than depender "/export/home/hadoop/hadoop-comitter/hadoop-git/had= oop-common-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/depend= .internal".

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] Dependee "/export/h= ome/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/t= arget/native/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than= depender "/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-commo= n-project/hadoop-common/target/native/CMakeFiles/hadoop.dir/depend.internal= ".

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] /export/home/hadoop/hadoop-comitt= er/hadoop-git/hadoop-common-project/hadoop-common/src/main/native/src/excep= tion.c: In function 'terror':

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] /ex= port/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-co= mmon/src/main/native/src/exception.c:113:34: error: 'sys_nerr' unde= clared (first use in this function)

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] /expo= rt/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-comm= on/src/main/native/src/exception.c:113:34: note: each undeclared identifier= is reported only once for each function it appears in=

=C2=A0=C2=A0=C2=A0= =C2=A0 [exec] /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-= project/hadoop-common/src/main/native/src/exception.c:116:10: error: 's= ys_errlist' undeclared (first use in this function)

=C2=A0=C2=A0=C2= =A0=C2=A0 [exec] /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-comm= on-project/hadoop-common/src/main/native/src/exception.c:117:1: warning: co= ntrol reaches end of non-void function

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] ma= ke: Fatal error: Command failed for target `CMakeFiles/hadoop.dir/main/nati= ve/src/exception.c.o'

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] Current working= directory /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-pro= ject/hadoop-common/target/native

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] make: Fa= tal error: Command failed for target `CMakeFiles/hadoop.dir/all'=

=C2= =A0=C2=A0=C2=A0=C2=A0 [exec] Current working directory /export/home/hadoop/= hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/nativ= e

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] make: Fatal error: Command failed for t= arget `all'

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] Scanning dependencies of= target hadoop

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] make -f CMakeFiles/hadoo= p.dir/build.make CMakeFiles/hadoop.dir/build

=C2=A0=C2=A0=C2=A0=C2=A0 [ex= ec] /usr/bin/cmake -E cmake_progress_report /export/home/hadoop/hadoop-comi= tter/hadoop-git/hadoop-common-project/hadoop-common/target/native/CMakeFile= s 1

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] [=C2=A0 2%] Building C object CMakeFi= les/hadoop.dir/main/native/src/exception.c.o

=C2=A0=C2=A0=C2=A0=C2=A0 [ex= ec] /usr/bin/gcc=C2=A0 -Dhadoop_EXPORTS -g -Wall -O2 -D_REENTRANT -D_GNU_SO= URCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -fPIC -I/export/home/hado= op/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/target/na= tive/javah -I/export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-p= roject/hadoop-common/src/main/native/src -I/export/home/hadoop/hadoop-comit= ter/hadoop-git/hadoop-common-project/hadoop-common/src -I/export/home/hadoo= p/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/src -I= /export/home/hadoop/hadoop-comitter/hadoop-git/hadoop-common-project/hadoop= -common/target/native -I/usr/jdk/instances/jdk1.7.0/include -I/usr/jdk/inst= ances/jdk1.7.0/include/solaris -I/usr/local/include -I/export/home/hadoop/h= adoop-comitter/hadoop-git/hadoop-common-project/hadoop-common/src/main/nati= ve/src/org/apache/hadoop/util -o CMakeFiles/hadoop.dir/main/native/src/exce= ption.c.o=C2=A0=C2=A0 -c /export/home/hadoop/hadoop-comitter/hadoop-git/had= oop-common-project/hadoop-common/src/main/native/src/exception.c<= /u>

=C2=A0= =C2=A0=C2=A0=C2=A0 [exec] *** Error code 1

=C2=A0=C2=A0=C2=A0=C2=A0 [exec= ] *** Error code 1

=C2=A0=C2=A0=C2=A0=C2=A0 [exec] *** Error code 1

= =C2=A0

Thanks,

Suman.

From: Ted Yu [mailto:yuzhihong@gmail.com] =
Sent: Monday, January 12, 2015 6:24 PM
To: user@hadoop.apache.org=
Subject: Re: Build error for a patch

=C2=A0=

Which branch are you using?

=C2=A0

Can you pastebin the error?

=

=C2=A0

Cheers

=


On Jan 12, 2= 015, at 6:18 PM, Suman Somasundar <suman.somasundar@oracle.com> wrote:

Hi all,

=C2=A0

When I test a patch file= of mine which I want to submit, with dev-support/test-patch.sh, I get a bu= ild failure message with error in native code which I have not modified. Wh= at is the cause of this?

=C2=A0<= /u>

Thanks,
Suman.


--001a11c1c134487b15050c7fad9c--