From owner-freebsd-java@FreeBSD.ORG Mon May 14 01:07:36 2012 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 0C844106564A for ; Mon, 14 May 2012 01:07:36 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from mel-relay01.ispone.net.au (mel-relay01.ispone.net.au [124.254.72.68]) by mx1.freebsd.org (Postfix) with ESMTP id ACDE68FC08 for ; Mon, 14 May 2012 01:07:35 +0000 (UTC) Received: from lists.fdrive.com.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by mel-relay01.ispone.net.au (Postfix) with ESMTP id 820BF6A419 for ; Mon, 14 May 2012 10:59:50 +1000 (EST) Received: from mail.fdrive.com.au (zimbra.vv.fda [192.168.50.251]) by lists.fdrive.com.au (Postfix) with ESMTP id 5D6A5DAE for ; Mon, 14 May 2012 10:59:50 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.fdrive.com.au (Postfix) with ESMTP id 56C0FE53DA for ; Mon, 14 May 2012 10:59:50 +1000 (EST) X-Virus-Scanned: amavisd-new at fdrive.com.au Received: from mail.fdrive.com.au ([127.0.0.1]) by localhost (mail.fdrive.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TI5fgI4c-XaN for ; Mon, 14 May 2012 10:59:49 +1000 (EST) Received: from PetersBigBox (unknown [192.168.50.199]) by mail.fdrive.com.au (Postfix) with ESMTPS id 2DE6FE5179 for ; Mon, 14 May 2012 10:59:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by PetersBigBox (Postfix) with ESMTP id CC8321920557 for ; Mon, 14 May 2012 10:59:48 +1000 (EST) Date: Mon, 14 May 2012 10:59:48 +1000 (EST) From: Peter Ross X-X-Sender: petros@PetersBigBox To: freebsd-java@freebsd.org Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: java/openjdk6 build fails 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: Mon, 14 May 2012 01:07:36 -0000 Hi all, I am trying to build java/openjdk6 (as depency of a Apache Open Office 3.4 build, editors/openoffice-3). It stalled on Friday because it could not find a file (openjdk-6-src-b25-01_may_2012.tar.gz if I am not mistaken) but a new patch (I just did a portsnap this morning) seemed to fix it. However, now it stops with gmake[6]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' gmake[6]: *** No rule to make target `/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', needed by `../generated/adfiles/bsd_x86_64.ad'. Stop. The FreeBSD-9 was build recently: FreeBSD finance 9.0-STABLE FreeBSD 9.0-STABLE #5: Sun Apr 1 21:07:30 EST 2012 root@DellT410one.vv.fda:/usr/obj/usr/src/sys/GENERIC amd64 and I haven't done any tweaking on base and port systems or compile options. I am happy to provide any information if needed. Please CC me, I am not on the freebsd-java list. Thank you Peter From owner-freebsd-java@FreeBSD.ORG Mon May 14 07:56:15 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D6F9106566C for ; Mon, 14 May 2012 07:56:15 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 13C988FC16 for ; Mon, 14 May 2012 07:56:14 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1STptk-0006oZ-B3; Mon, 14 May 2012 09:40:52 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1STptk-0003oG-Nk; Mon, 14 May 2012 09:40:52 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-java@freebsd.org, "Peter Ross" References: Date: Mon, 14 May 2012 09:40:50 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.64 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.0 X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=disabled version=3.2.5 X-Scan-Signature: dfea3049d3b923820beb462d65569822 Cc: Subject: Re: java/openjdk6 build fails 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: Mon, 14 May 2012 07:56:15 -0000 On Mon, 14 May 2012 02:59:48 +0200, Peter Ross wrote: > Hi all, > > I am trying to build java/openjdk6 (as depency of a Apache Open Office > 3.4 build, editors/openoffice-3). > > It stalled on Friday because it could not find a file > (openjdk-6-src-b25-01_may_2012.tar.gz if I am not mistaken) but a new > patch (I just did a portsnap this morning) seemed to fix it. However, > now it stops with > > gmake[6]: Entering directory > `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' > gmake[6]: *** No rule to make target > `/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', > needed by `../generated/adfiles/bsd_x86_64.ad'. Stop. > > The FreeBSD-9 was build recently: > > FreeBSD finance 9.0-STABLE FreeBSD 9.0-STABLE #5: Sun Apr 1 21:07:30 > EST 2012 root@DellT410one.vv.fda:/usr/obj/usr/src/sys/GENERIC amd64 > > and I haven't done any tweaking on base and port systems or compile > options. > > I am happy to provide any information if needed. > > Please CC me, I am not on the freebsd-java list. > > Thank you > Peter Can you try setting MAKE_JOBS_NUMBER=1 in /etc/make.conf before building? Ronald. From owner-freebsd-java@FreeBSD.ORG Mon May 14 11:07:16 2012 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 029FD10656D9 for ; Mon, 14 May 2012 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C76F78FC14 for ; Mon, 14 May 2012 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4EB7FWf053308 for ; Mon, 14 May 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4EB7F7u053306 for freebsd-java@FreeBSD.org; Mon, 14 May 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 May 2012 11:07:15 GMT Message-Id: <201205141107.q4EB7F7u053306@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org 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: Mon, 14 May 2012 11:07:16 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/166844 java openjdk7 can't open library when remote debug enabled o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java 23 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 14 23:20:58 2012 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 9B7D7106568C for ; Mon, 14 May 2012 23:20:58 +0000 (UTC) (envelope-from Peter.Ross@alumni.tu-berlin.de) Received: from mel-relay01.ispone.net.au (mel-relay01.ispone.net.au [124.254.72.68]) by mx1.freebsd.org (Postfix) with ESMTP id 478488FC16 for ; Mon, 14 May 2012 23:20:57 +0000 (UTC) Received: from lists.fdrive.com.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by mel-relay01.ispone.net.au (Postfix) with ESMTP id 589006A56F; Tue, 15 May 2012 09:20:55 +1000 (EST) Received: from mail.fdrive.com.au (zimbra.vv.fda [192.168.50.251]) by lists.fdrive.com.au (Postfix) with ESMTP id 48F3EECE; Tue, 15 May 2012 09:20:55 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.fdrive.com.au (Postfix) with ESMTP id 3414EE5446; Tue, 15 May 2012 09:20:55 +1000 (EST) X-Virus-Scanned: amavisd-new at fdrive.com.au Received: from mail.fdrive.com.au ([127.0.0.1]) by localhost (mail.fdrive.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RuhWPn6Tu2AD; Tue, 15 May 2012 09:20:54 +1000 (EST) Received: from PetersBigBox (unknown [192.168.50.199]) by mail.fdrive.com.au (Postfix) with ESMTPS id 20DD9E5445; Tue, 15 May 2012 09:20:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by PetersBigBox (Postfix) with ESMTP id 1808E1920557; Tue, 15 May 2012 09:20:52 +1000 (EST) Date: Tue, 15 May 2012 09:20:51 +1000 (EST) From: Peter Ross X-X-Sender: petros@PetersBigBox To: Ronald Klop In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: java/openjdk6 build fails 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: Mon, 14 May 2012 23:20:58 -0000 On Mon, 14 May 2012, Ronald Klop wrote: > On Mon, 14 May 2012 02:59:48 +0200, Peter Ross > wrote: > >> Hi all, >> >> I am trying to build java/openjdk6 (as depency of a Apache Open Office 3.4 >> build, editors/openoffice-3). >> >> It stalled on Friday because it could not find a file >> (openjdk-6-src-b25-01_may_2012.tar.gz if I am not mistaken) but a new patch >> (I just did a portsnap this morning) seemed to fix it. However, now it >> stops with >> >> gmake[6]: Entering directory >> `/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product' >> gmake[6]: *** No rule to make target >> `/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', needed >> by `../generated/adfiles/bsd_x86_64.ad'. Stop. >> >> The FreeBSD-9 was build recently: >> >> FreeBSD finance 9.0-STABLE FreeBSD 9.0-STABLE #5: Sun Apr 1 21:07:30 EST >> 2012 root@DellT410one.vv.fda:/usr/obj/usr/src/sys/GENERIC amd64 >> >> and I haven't done any tweaking on base and port systems or compile >> options. >> >> I am happy to provide any information if needed. >> >> Please CC me, I am not on the freebsd-java list. >> >> Thank you >> Peter > > Can you try setting MAKE_JOBS_NUMBER=1 in /etc/make.conf before building? This worked for me. Thank you Peter From owner-freebsd-java@FreeBSD.ORG Tue May 15 05:30:15 2012 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8274D106566C; Tue, 15 May 2012 05:30:15 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 54B538FC0A; Tue, 15 May 2012 05:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4F5UFrU090607; Tue, 15 May 2012 05:30:15 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4F5UFlh090601; Tue, 15 May 2012 05:30:15 GMT (envelope-from edwin) Date: Tue, 15 May 2012 05:30:15 GMT Message-Id: <201205150530.q4F5UFlh090601@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system 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: Tue, 15 May 2012 05:30:15 -0000 Synopsis: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: edwin Responsible-Changed-When: Tue May 15 05:30:14 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=167903 From owner-freebsd-java@FreeBSD.ORG Tue May 15 05:40:05 2012 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D08106564A for ; Tue, 15 May 2012 05:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5BE8FC08 for ; Tue, 15 May 2012 05:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4F5e5u8001283 for ; Tue, 15 May 2012 05:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4F5e5Jb001282; Tue, 15 May 2012 05:40:05 GMT (envelope-from gnats) Date: Tue, 15 May 2012 05:40:05 GMT Message-Id: <201205150540.q4F5e5Jb001282@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Bryan Drewery Cc: Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bryan Drewery List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 05:40:05 -0000 The following reply was made to PR ports/167903; it has been noted by GNATS. From: Bryan Drewery To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system Date: Tue, 15 May 2012 00:39:06 -0500 This is a multi-part message in MIME format. --------------060109060400070605040004 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This should be LIB_DEPENDS+=. This patch is correct. Bryan --------------060109060400070605040004 Content-Type: text/plain; charset=windows-1252; name="patch-openjdk16-compat7.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-openjdk16-compat7.txt" --- Makefile.orig 2012-05-15 00:16:27.000000000 -0500 +++ Makefile 2012-05-15 00:34:09.000000000 -0500 @@ -78,6 +78,10 @@ .include +.if ${OSVERSION} >= 800105 +LIB_DEPENDS+= z.4:${PORTSDIR}/misc/compat7x +.endif + .if defined(WITH_IPV6) CATEGORIES+= ipv6 .endif --------------060109060400070605040004-- From owner-freebsd-java@FreeBSD.ORG Tue May 15 17:48:53 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F68D106564A; Tue, 15 May 2012 17:48:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ABB848FC08; Tue, 15 May 2012 17:48:52 +0000 (UTC) Message-ID: <4FB29704.8080605@FreeBSD.org> Date: Tue, 15 May 2012 13:48:52 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Bryan Drewery References: <201205150540.q4F5e5Jb001282@freefall.freebsd.org> In-Reply-To: <201205150540.q4F5e5Jb001282@freefall.freebsd.org> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: glewis@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system 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: Tue, 15 May 2012 17:48:53 -0000 On 2012-05-15 01:40:05 -0400, Bryan Drewery wrote: > The following reply was made to PR ports/167903; it has been noted by GNATS. > > From: Bryan Drewery > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 > jail running on 9+ system > Date: Tue, 15 May 2012 00:39:06 -0500 > > This is a multi-part message in MIME format. > --------------060109060400070605040004 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > > This should be LIB_DEPENDS+=. This patch is correct. > > Bryan > > --------------060109060400070605040004 > Content-Type: text/plain; charset=windows-1252; > name="patch-openjdk16-compat7.txt" > Content-Transfer-Encoding: 7bit > Content-Disposition: attachment; > filename="patch-openjdk16-compat7.txt" > > --- Makefile.orig 2012-05-15 00:16:27.000000000 -0500 > +++ Makefile 2012-05-15 00:34:09.000000000 -0500 > @@ -78,6 +78,10 @@ > > .include > > +.if ${OSVERSION} >= 800105 > +LIB_DEPENDS+= z.4:${PORTSDIR}/misc/compat7x > +.endif > + > .if defined(WITH_IPV6) > CATEGORIES+= ipv6 > .endif I don't think this patch is acceptable because it introduces unnecessary dependency for "normal" case. In fact, the patch in 138638 was incomplete and it had to add this: --- diablo-jdk16/Makefile.orig 2012-05-15 13:19:41.000000000 -0400 +++ diablo-jdk16/Makefile 2012-05-15 13:42:23.000000000 -0400 @@ -44,7 +44,7 @@ SUB_LIST+= ARCH="${ARCH}" \ JDK_VERSION="${JDK_VERSION}" -PKG_IGNORE_DEPENDS= '^[^x|^j]' +PKG_IGNORE_DEPENDS= '^[^c|^j|^x]' INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} After this change, we have: # pkg_info -r diablo-jdk-1.6.0.07.02_19 Information for diablo-jdk-1.6.0.07.02_19: Depends on: Dependency: xproto-7.0.22 Dependency: xextproto-7.2.0 Dependency: compat7x-amd64-7.3.703000.201008_1 Dependency: javavmwrapper-2.3.5 Dependency: java-zoneinfo-2012.c Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Wed May 16 09:34:25 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B6231065673 for ; Wed, 16 May 2012 09:34:25 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id EB3148FC14 for ; Wed, 16 May 2012 09:34:24 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q4G9Y7bd003951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 16 May 2012 11:34:08 +0200 Date: Wed, 16 May 2012 11:34:07 +0200 From: Albert Shih To: Peter Ross Message-ID: <20120516093407.GA23122@pcjas.obspm.fr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FB3748F.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FB3748F.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-java@freebsd.org, Ronald Klop Subject: Re: java/openjdk6 build fails 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, 16 May 2012 09:34:25 -0000 Le 15/05/2012 ? 09:20:51+1000, Peter Ross a écrit > >> > >> FreeBSD finance 9.0-STABLE FreeBSD 9.0-STABLE #5: Sun Apr 1 21:07:30 EST > >> 2012 root@DellT410one.vv.fda:/usr/obj/usr/src/sys/GENERIC amd64 > >> > >> and I haven't done any tweaking on base and port systems or compile > >> options. > >> > >> I am happy to provide any information if needed. > >> > >> Please CC me, I am not on the freebsd-java list. > >> > >> Thank you > >> Peter > > > > Can you try setting MAKE_JOBS_NUMBER=1 in /etc/make.conf before building? > > This worked for me. This worked for me too. Thank you my uname = FreeBSD 9.0-STABLE #9: Thu May 10 15:24:31 CEST 2012 Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mer 16 mai 2012 11:33:05 CEST From owner-freebsd-java@FreeBSD.ORG Wed May 16 12:47:53 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACCEA1065677 for ; Wed, 16 May 2012 12:47:53 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 539AE8FC18 for ; Wed, 16 May 2012 12:47:53 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=Smwctv muzLeylQO/mnFQNw3pki1ZS4zuKbWdOqDJ0pxAcrkDjAI72CIOa0pi+q7R1S1WKK Te4ukO3rultK5woWJRoUURiOYKop96HHoPZMXiqF2g0AIecXRbIIc3j5fbfG5ihd GMNroO8RCwAJfFZfb2/I8P06pf9YyPuKRmxfo= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=D3XE0KAQtak1 Yf1rEdpSAUW6bwVtlgMUS7louPcxGbA=; b=pv94Uv6TNzgRMqmrsFNWkQ4qzcS2 9zoJjYL99i+9Viyjh7lkInJWlDUspqHeD8iwQ5N//SgZE0Q/NMhEoE+Zq0j+pmzQ B8Sf5u3XfU5qF16GJ8fnaTZmiE4L0cKsxdf1VQ0n0jWVnBxLeP3kQvefvAnW5Lum vLBsMWJzkJQX2sQ= Received: (qmail 99747 invoked from network); 16 May 2012 07:47:51 -0500 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 16 May 2012 07:47:51 -0500 Message-ID: <4FB3A1F5.30006@shatow.net> Date: Wed, 16 May 2012 07:47:49 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Jung-uk Kim References: <201205150540.q4F5e5Jb001282@freefall.freebsd.org> <4FB29704.8080605@FreeBSD.org> In-Reply-To: <4FB29704.8080605@FreeBSD.org> X-Enigmail-Version: 1.4.1 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: glewis@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: ports/167903: [PATCH] java/openjdk6: Fix build failure in 8.3 jail running on 9+ system 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, 16 May 2012 12:47:53 -0000 On 5/15/2012 12:48 PM, Jung-uk Kim wrote: > I don't think this patch is acceptable because it introduces unnecessary > dependency for "normal" case. The upstream bins are built on FreeBSD 7 aren't they? It would seem that the misc/compat7x dependency is real and makes sense. Do you have another idea on how to fix? > > In fact, the patch in 138638 was incomplete and it had to add this: > > --- diablo-jdk16/Makefile.orig 2012-05-15 13:19:41.000000000 -0400 > +++ diablo-jdk16/Makefile 2012-05-15 13:42:23.000000000 -0400 > @@ -44,7 +44,7 @@ > SUB_LIST+= ARCH="${ARCH}" \ > JDK_VERSION="${JDK_VERSION}" > > -PKG_IGNORE_DEPENDS= '^[^x|^j]' > +PKG_IGNORE_DEPENDS= '^[^c|^j|^x]' > > INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} > > After this change, we have: > > # pkg_info -r diablo-jdk-1.6.0.07.02_19 > Information for diablo-jdk-1.6.0.07.02_19: > > Depends on: > Dependency: xproto-7.0.22 > Dependency: xextproto-7.2.0 > Dependency: compat7x-amd64-7.3.703000.201008_1 > Dependency: javavmwrapper-2.3.5 > Dependency: java-zoneinfo-2012.c Good catch. Considering my PR/patch is only for java/openjdk16, I'll let you submit yours for java/diablo-jdk6. Regards, Bryan Drewery From owner-freebsd-java@FreeBSD.ORG Wed May 16 14:06:39 2012 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 2449F1065674 for ; Wed, 16 May 2012 14:06:39 +0000 (UTC) (envelope-from saku537@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 99C238FC19 for ; Wed, 16 May 2012 14:06:38 +0000 (UTC) Received: by eeke49 with SMTP id e49so239184eek.13 for ; Wed, 16 May 2012 07:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4C/x5cCz4g3/R/xoUeBaqWvNzL/BV7fdIEi+zZE7sjk=; b=LfltH3pXAjhwaRoSB6VS8QNEUL9LfUUNK567tDhV0kWZ6X8ucjPeGqM/+DNxPnDepS GAx7WcUoJ+0cYyYdBBpKiftWGnWXoEiJERYt8mxdk15o62jZ9wjDfMVMmNSCCWauWhb5 tP5xZQ/UkThv63R3kQmacM7wg+N7n2JiXa8kAqtMyk5K5LQ6cNJme/L5CEljKhMC85TH qGOapdZHp/8c2TF90xJUzVLx19VX0j+sU8zM2v01mYgYo5s6DKKV2j+iGJy4S42fucqO LSgfF6DY9DzacdMaSn1u1EBPaU7hHb+4UtDQRwCVtspuC/t4mHlYCR6KIXGG8RALcue0 9daw== MIME-Version: 1.0 Received: by 10.213.36.18 with SMTP id r18mr371580ebd.44.1337177191655; Wed, 16 May 2012 07:06:31 -0700 (PDT) Received: by 10.14.101.132 with HTTP; Wed, 16 May 2012 07:06:31 -0700 (PDT) Date: Wed, 16 May 2012 17:06:31 +0300 Message-ID: From: =?ISO-8859-1?Q?sami_m=E4ntysaari?= To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Java error 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, 16 May 2012 14:06:39 -0000 So i have this error it was off like 12 days and come back the file: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000008dbfe24, pid=97437, tid=0x8a0ae40 # # Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode bsd-amd64) # Problematic frame: # V [libjvm.so+0x1bfe24] # # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x0000000009a59000): JavaThread "Unknown thread" [_thread_in_vm, id=144748096, stack(0x00007fffffaff000,0x00007fffffbff000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000 Registers: RAX=0x00007fffffbfea68, RBX=0xffffffffffffffff, RCX=0x0000000000000000, RDX=0x0000000000000008 RSP=0x00007fffffbfe160, RBP=0x00007fffffbfe870, RSI=0x0000000000000000, RDI=0x0000000009a2d810 R8 =0x0000000000000008, R9 =0x0000000000000008, R10=0x0000000000000008, R11=0x00000000ffffffff R12=0x00007fffffbfe9f0, R13=0x00000000093c8930, R14=0x0000000000000002, R15=0x0000000000000007 RIP=0x0000000008dbfe24, EFL=0x003b003b00000001, ERR=0x0000000000000004 TRAPNO=0x001b00130000000c Top of Stack: (sp=0x00007fffffbfe160) 0x00007fffffbfe160: 00007fffffbfe870 0000000009180570 0x00007fffffbfe170: 0000000000000006 ffffffffffffffff 0x00007fffffbfe180: 00000008ffffffff 00000000093c8930 0x00007fffffbfe190: 0000000000000000 0000000000000002 0x00007fffffbfe1a0: fffffff800000003 00000000093c8930 0x00007fffffbfe1b0: 0000000000000000 0000000000000002 0x00007fffffbfe1c0: 0000000000000006 00007fffffbfe7d0 0x00007fffffbfe1d0: 00007fffffbfe7b0 00007fffffbfe790 0x00007fffffbfe1e0: 00007fffffbfe830 00007fffffbfe810 0x00007fffffbfe1f0: 00007fffffbfe7f0 0000000000000000 0x00007fffffbfe200: 000000000a09e360 0000000000000006 0x00007fffffbfe210: 0000000000000001 0000000009a2d810 0x00007fffffbfe220: 0000000000000000 0000000009a2d810 0x00007fffffbfe230: 0000000000000000 0000000009a2d810 0x00007fffffbfe240: 0000000000000000 0000000009177d76 0x00007fffffbfe250: 0000000000000000 0000000000000000 0x00007fffffbfe260: 0000000000000000 0000000000000000 0x00007fffffbfe270: 0000000000000004 ffffffffffffffff 0x00007fffffbfe280: 00000060ffffffff 00000000093c8930 0x00007fffffbfe290: 0000000000000006 ffffffffffffffff 0x00007fffffbfe2a0: 00000008ffffffff 00000000093c8930 0x00007fffffbfe2b0: 0000000000000000 0000000000000002 0x00007fffffbfe2c0: fffffff800000003 00000000093c8930 0x00007fffffbfe2d0: 0000000000000000 00000000093c8930 0x00007fffffbfe2e0: 0000000000000000 0000000009177d76 0x00007fffffbfe2f0: 0000000000000000 0000000000000088 0x00007fffffbfe300: 0000000000000000 ffffffffffffffff 0x00007fffffbfe310: 0000000000000004 ffffffffffffffff 0x00007fffffbfe320: 00000048ffffffff 00000000093c8930 0x00007fffffbfe330: 0000000000000000 0000000009a2d810 0x00007fffffbfe340: 00007fffffbfe370 0000000008dc21f2 0x00007fffffbfe350: 0000000000000000 00007fffffbfe398 Instructions: (pc=0x0000000008dbfe24) 0x0000000008dbfe14: c9 c3 66 66 66 90 66 66 90 66 66 90 55 48 89 f1 0x0000000008dbfe24: 8b 36 48 89 e5 85 f6 78 38 48 8b 57 08 48 8b 47 Stack: [0x00007fffffaff000,0x00007fffffbff000], sp=0x00007fffffbfe160, free space=1020k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x1bfe24] V [libjvm.so+0x589acb] V [libjvm.so+0x57588b] V [libjvm.so+0x58a43f] V [libjvm.so+0x30ef9c] V [libjvm.so+0x5d7f10] V [libjvm.so+0x356eb4] C [java+0xba78] JavaMain+0x1d98 C [java+0x9dc0] JavaMain+0xe0 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: =>0x0000000009a59000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=144748096, stack(0x00007fffffaff000,0x00007fffffbff000)] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 66816K, used 1145K [0x000000003cf20000, 0x00000000419b0000, 0x0000000052470000) eden space 57280K, 2% used [0x000000003cf20000,0x000000003d03e678,0x0000000040710000) from space 9536K, 0% used [0x0000000041060000,0x0000000041060000,0x00000000419b0000) to space 9536K, 0% used [0x0000000040710000,0x0000000040710000,0x0000000041060000) PSOldGen total 152704K, used 0K [0x0000000012470000, 0x000000001b990000, 0x000000003cf20000) object space 152704K, 0% used [0x0000000012470000,0x0000000012470000,0x000000001b990000) PSPermGen total 21248K, used 682K [0x000000000d070000, 0x000000000e530000, 0x0000000012470000) object space 21248K, 3% used [0x000000000d070000,0x000000000d11ab68,0x000000000e530000) Dynamic libraries: 0x0000000000400000 /usr/local/diablo-jdk1.6.0/bin/java 0x0000000008657000 /lib/libthr.so.3 0x0000000008770000 /lib/libc.so.7 0x0000000008c00000 /usr/local/diablo-jdk1.6.0/jre/lib/amd64/server/libjvm.so 0x00000000094a4000 /usr/lib/libstdc++.so.6 0x00000000096b4000 /lib/libm.so.5 0x00000000097d4000 /lib/libgcc_s.so.1 0x00000000098e2000 /usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so 0x0000000009c00000 /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libverify.so 0x0000000009d11000 /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so 0x0000000009e45000 /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so 0x0000000009f4e000 /lib/libz.so.4 0x0000000008511000 /libexec/ld-elf.so.1 VM Arguments: java_command: Tekkit.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.6.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home5/samip/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/amd64/server:/usr/local/diablo-jdk1.6.0/jre/lib/amd64:/usr/local/diablo-jdk1.6.0/jre/../lib/amd64 SHELL=/bin/tcsh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=unknown Signal Handlers: SIGSEGV: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x617aa0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x4e17a0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0xfffefeff, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x4e3fa0], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #2: Thu Jan 26 01:33:17 UTC 2012 spaj@hypeshell.com:/usr/src/sys/amd64/compile/jajo amd64 rlimit: STACK 20480k, CORE 10240k, NPROC 20, NOFILE 5000 CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 10 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht Memory: 4k page, physical 14657340k(3664335k free) vm_info: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23) for bsd-amd64 JRE (1.6.0_07-b02), built on May 12 2008 20:56:50 by "truk" with gcc 4.2.1 20070719 [FreeBSD] time: Wed May 16 15:57:51 2012 elapsed time: 0 seconds From owner-freebsd-java@FreeBSD.ORG Fri May 18 07:22:39 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21D6C1065670; Fri, 18 May 2012 07:22:39 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id D83C98FC18; Fri, 18 May 2012 07:22:38 +0000 (UTC) Received: from [90.146.7.130] (helo=[192.168.10.21]) by lilzmailso02.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SVHWw-0000Xh-Sc; Fri, 18 May 2012 09:23:19 +0200 From: Horst Leitenmueller Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 18 May 2012 09:22:31 +0200 Message-Id: <907F19BE-DB86-42A7-A153-60830A5CD5CC@liwest.at> To: glewis@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.4 (-) Cc: java@freebsd.org, freebsd-ports@freebsd.org Subject: Procfs in Jail on fresh install of openjdk6 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: Fri, 18 May 2012 07:22:39 -0000 hi Greg,=20 i have a question regarding the hint that procfs must be enabled on = openjdk6 if this is already mounted before installation of openjdk6 the build = fails with: gmake[2]: Entering directory = `/s/portbuild/usr/ports/java/openjdk6/work/langtools/make' JAVA_HOME=3D/usr/local/diablo-jdk1.6.0 = ANT_OPTS=3D-Djava.io.tmpdir=3D'/s/portbuild/usr/ports/java/openjdk6/work/b= uild/bsd-amd64/langtools/build/ant-tmp' = /s/portbuild/usr/ports/java/openjdk6/work/apache-ant-1.8.2/bin/ant = -Djdk.version=3D1.6.0_30 -Dfull.version=3D'1.6.0_30-b24' = -Drelease=3D1.6.0_30 -Dbuild.number=3Db24 -Djavac.target=3D5 = -Dboot.java.home=3D/usr/local/diablo-jdk1.6.0 = -Dbuild.dir=3D/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/la= ngtools/build = -Ddist.dir=3D/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/lan= gtools/dist build Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[2]: *** [build] Error 2 gmake[2]: Leaving directory = `/s/portbuild/usr/ports/java/openjdk6/work/langtools/make' gmake[1]: *** [langtools-build] Error 2 gmake[1]: Leaving directory `/s/portbuild/usr/ports/java/openjdk6/work' gmake: *** [build_product_image] Error 2 *** Error code 1 Stop in /usr/ports/java/openjdk6. *** Error code 1 diablo-jdk1.6 is installed (with the openjdk port) but you can't call = java --version (on commandline) for example can you please explain if this is a feature or a bug; and when the = procfs must be enabled ? if i disable the procfs build is running through (java --version for = diablo running normal, and also openjdk),=20 afterwards enabling does not change functionality of java, it works = without problems... br horst=20= From owner-freebsd-java@FreeBSD.ORG Sat May 19 08:06:22 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92521106567A; Sat, 19 May 2012 08:06:22 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 51BD58FC0C; Sat, 19 May 2012 08:06:22 +0000 (UTC) Received: from roxette.lamaiziere.net (104.169.100.84.rev.sfr.net [84.100.169.104]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 7C987FAA2D08; Sat, 19 May 2012 10:06:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by roxette.lamaiziere.net (Postfix) with ESMTP id EDF0FD00B; Sat, 19 May 2012 10:06:20 +0200 (CEST) Date: Sat, 19 May 2012 10:06:20 +0200 From: Patrick Lamaiziere To: Horst Leitenmueller Message-ID: <20120519100620.4f7660b7@davenulle.org> In-Reply-To: <907F19BE-DB86-42A7-A153-60830A5CD5CC@liwest.at> References: <907F19BE-DB86-42A7-A153-60830A5CD5CC@liwest.at> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: java@freebsd.org, glewis@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: Procfs in Jail on fresh install of openjdk6 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: Sat, 19 May 2012 08:06:22 -0000 Le Fri, 18 May 2012 09:22:31 +0200, Horst Leitenmueller a écrit : Hello > i have a question regarding the hint that procfs must be enabled on > openjdk6 > > if this is already mounted before installation of openjdk6 the build > fails with: > build Error: could not find libjava.so Error: could not find Java 2 Not sure if this is related but java uses /proc/curproc/file to retrieve the path of its libraries. This failed when a nullfs mount is used. I was hited by this: http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/157234 Regards. From owner-freebsd-java@FreeBSD.ORG Sat May 19 14:05:43 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CBA01065673; Sat, 19 May 2012 14:05:43 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id CFE6D8FC0A; Sat, 19 May 2012 14:05:42 +0000 (UTC) Received: from [90.146.7.130] (helo=[192.168.10.21]) by lilzmailso02.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SVkIZ-0001tD-Ox; Sat, 19 May 2012 16:06:24 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Horst Leitenmueller In-Reply-To: <20120519100620.4f7660b7@davenulle.org> Date: Sat, 19 May 2012 16:05:35 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4A19DF58-AAA0-4D59-8FD1-B87BA7311FCD@liwest.at> References: <907F19BE-DB86-42A7-A153-60830A5CD5CC@liwest.at> <20120519100620.4f7660b7@davenulle.org> To: Patrick Lamaiziere X-Mailer: Apple Mail (2.1084) X-Spam-Score: -1.4 (-) Cc: java@freebsd.org, glewis@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: Procfs in Jail on fresh install of openjdk6 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: Sat, 19 May 2012 14:05:43 -0000 Hi Thanks; but i'm not shure if this is the problem, for me just not clear why then the procfs must be enabled ? this is the hint in build of openjdk6 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D i enabled it for jails jail_jboss6_fdescfs_enable=3D"YES" # mount fdescfs in the = jail jail_jboss6_procfs_enable=3D"YES" # mount procfs in jail and it will be mounted as this devfs 1.0K 1.0K = 0B 100% /usr/jails/jboss6/dev fdescfs 1.0K 1.0K = 0B 100% /usr/jails/jboss6/dev/fd procfs 4.0K 4.0K = 0B 100% /usr/jails/jboss6/proc =3D> not nullfs ? or do i understand something wrong ? br horst On 19.05.2012, at 10:06, Patrick Lamaiziere wrote: > Le Fri, 18 May 2012 09:22:31 +0200, > Horst Leitenmueller a =E9crit : >=20 > Hello >=20 >> i have a question regarding the hint that procfs must be enabled on >> openjdk6 >>=20 >> if this is already mounted before installation of openjdk6 the build >> fails with: >=20 >> build Error: could not find libjava.so Error: could not find Java 2 >=20 > Not sure if this is related but java uses /proc/curproc/file to = retrieve > the path of its libraries. This failed when a nullfs mount is used. >=20 > I was hited by this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Ddocs/157234 >=20 > Regards.