From owner-freebsd-java@FreeBSD.ORG Wed Feb 17 15:26:08 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C33106568D for ; Wed, 17 Feb 2010 15:26:08 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 358D08FC14 for ; Wed, 17 Feb 2010 15:26:05 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA12407; Wed, 17 Feb 2010 17:26:02 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B7C0A89.3010606@icyb.net.ua> Date: Wed, 17 Feb 2010 17:26:01 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20100211) MIME-Version: 1.0 To: Maho NAKATA References: <20100217.221616.1024833258536783419.chat95@mac.com> In-Reply-To: <20100217.221616.1024833258536783419.chat95@mac.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: java/jdk16 tinderbox build was broken on recent 9-CURRENT X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 15:26:08 -0000 on 17/02/2010 15:16 Maho NAKATA said the following: > Hi > > java/jdk16 tinderbox build was broken on recent 9-CURRENT. > > ---------------- > /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe > -Damd64 -DARCH='"amd64"' -DRELEASE='"1.6.0_03-p4"' -DFULL_VERSION='"1.6.0_03-p4-root_17 > _feb_2010_12_27-b00"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_LP64=1 > -I. -I/work/a/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_threads/C > ClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export > -I../../../../src/share/javavm/include -I../../../../src/solaris/javavm/include -I../../. > ./../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../ > ../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/h > pi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -c -o /work/a/ports/ja > va/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_threads/obj64/mutex_md.o ../../ > ../../src/solaris/hpi/native_threads/src/mutex_md.c > ../../../../src/solaris/hpi/native_threads/src/interrupt_md.c:115: error: static declarati > on of 'sigignore' follows non-static declaration > /usr/include/signal.h:99: error: previous declaration of 'sigignore' was here > gmake[5]: *** [/work/a/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/hpi/native_t > hreads/obj64/interrupt_md.o] Error 1 > gmake[5]: *** Waiting for unfinished jobs.... > gmake[5]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi/native' > gmake[4]: *** [parallel_compile] Error 2 > gmake[4]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi/native' > gmake[3]: *** [all] Error 1 > gmake[3]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java/hpi' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/work/a/ports/java/jdk16/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /a/ports/java/jdk16. > ================================================================ > build of /usr/ports/java/jdk16 ended at Wed Feb 17 12:35:40 UTC 2010 > > I tried to fix http://www.freebsd.org/cgi/query-pr.cgi?pr=142843 > and I setup a 9-CURRENT/amd64 tinderbox userland dated as 2010/2/17. > java/jdk16 was broken described above. This tinderbox issue might be caused by how we get OS_RELDATE (sysctl kern.osreldate) and how tinderbox is configured. If the tinderbox is, say, a HEAD jail on a, say, 7-STABLE system, then kern.osreldate would give information for the host system/kernel, not for the jail environment. On a real system with kernel and userland in sync the port compiles without any issues. -- Andriy Gapon