From owner-freebsd-java@FreeBSD.ORG Sun Mar 7 10:03:34 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E16B916A4D2 for ; Sun, 7 Mar 2004 10:03:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCF1A43D2F for ; Sun, 7 Mar 2004 10:03:34 -0800 (PST) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (fenner@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i27I3Ybv073184 for ; Sun, 7 Mar 2004 10:03:34 -0800 (PST) (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i27I3Yvq073183; Sun, 7 Mar 2004 10:03:34 -0800 (PST) (envelope-from fenner+portsurvey) Date: Sun, 7 Mar 2004 10:03:34 -0800 (PST) Message-Id: <200403071803.i27I3Yvq073183@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: java@freebsd.org Subject: FreeBSD ports: 1 unfetchable distfiles: java/eclipse-langpack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ports@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 18:03:35 -0000 Dear java@freebsd.org, You are listed as the FreeBSD port maintainer for 1 port whose distfiles [or main web pages] are not fetchable from their MASTER_SITES. Could you please visit http://people.freebsd.org/~fenner/portsurvey/java@freebsd.org.html and correct the problems listed there? The individual port with a problem is java/eclipse-langpack. Note that the main port web page, as listed in the WWW: line of the pkg-descr, is checked just as though it was a port distfile. This is an unfortunate side effect of the architecture of the distfile survey reporting tool, but if you see a distfile being reported as not fetchable that's not actually a distfile, see if it's from the pkg-descr. If you have already corrected the problems and submitted a PR, please accept my thanks and apologies for the delay in getting the fixes into the tree. This reminder is created automatically and does not (yet) have a way to know if a PR fixing the problem has been submitted. Please do *NOT* send your response to me directly; I do not always have time to commit your fix; please instead submit a PR via 'send-pr' so it doesn't get lost. Problems are usually of two types: 1. The software package has been upgraded and the version in the port has been removed. The best solution to this problem is to upgrade the port to the most current version of the software package. If you are a FreeBSD committer, then you can just upgrade the port directly. If not, you should create the updated port on your own machine, test it (and maybe even run "portlint" on it), and then use "send-pr" to submit a "diff -uNr old-port updated-port". If you added or deleted any files, please make an explicit note of it. 2. The mirror site being used no longer contains the software package in question, or no longer exists. Solutions include: a) If there are other mirror sites, just remove the bad site from the list. (Make sure that what appears to be a bad site isn't actually a problem of type 1, upgrade) b) If the README or other support files in the software documentation mention where to get the software package, use one of those sites. c) Use ftpsearch (http://ftpsearch.ntnu.no/ftpsearch) or other search engines to find another place to get the original DISTFILES. Make sure that you don't pick a FreeBSD distfiles mirror -- if you can't find any other places where the file exists, it can be a LOCAL_PORT or you can simply comment out the MASTER_SITES= line, with a comment explaining why. Once you have a solution, use "send-pr" to submit a "diff -u" of the Makefile. Note that this isn't an urgent issue, as people who try to build the port now will just fall back to the FreeBSD distfiles mirror. Please just put it on your list to do and get to it when you have time. These messages will continue to arrive twice a month until the fix is committed, as a reminder. Thanks, Bill "distfiles" Fenner. From owner-freebsd-java@FreeBSD.ORG Sun Mar 7 13:06:52 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC8016A4F7 for ; Sun, 7 Mar 2004 13:06:50 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79ACA43D1F for ; Sun, 7 Mar 2004 13:06:50 -0800 (PST) (envelope-from bfoz@terrandev.com) Received: from terrandev.com (c-24-6-52-207.client.comcast.net[24.6.52.207]) by comcast.net (rwcrmhc11) with ESMTP id <20040307210650013002h7d7e> (Authid: bfoz); Sun, 7 Mar 2004 21:06:50 +0000 Message-ID: <404B8EE8.7000504@terrandev.com> Date: Sun, 07 Mar 2004 13:06:48 -0800 From: Brandon Fosdick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040222 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: jdk14 build error on 4.9-STABLE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 21:06:53 -0000 Using ports and source cvsup'd this morning I'm getting an error while doing a make install clean in /usr/ports/java/jdk14. Error message is copied below. Any ideas? Thanks. 13:03 bfoz@~>uname -a FreeBSD poseidon 4.9-STABLE FreeBSD 4.9-STABLE #18: Sun Mar 7 12:55:35 PST 2004 bfoz@poseidon:/usr/obj/usr/src/sys/POSEIDON i386 13:04 bfoz@/usr/ports/java/jdk14#make install clean cd ../generated; /usr/local/linux-sun-jdk1.4.2/bin/java -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /usr/tmp/usr/ports/java/jdk14/work/hotspot/build/bsd/platform_i486 includeDB -firstFile functionAtStart.cpp -lastFile functionAtEnd.cpp Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps gmake[2]: *** [../generated/includeDB.current] Error 1 gmake[2]: Leaving directory `/usr/tmp/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/tmp/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' gmake: *** [product] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. -- Brandon Fosdick http://www.terranspace.org From owner-freebsd-java@FreeBSD.ORG Sun Mar 7 22:45:24 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E68FE16A4CE for ; Sun, 7 Mar 2004 22:45:24 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B506C43D1D for ; Sun, 7 Mar 2004 22:45:24 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.204] (helo=mgr4.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1B0EVv-0005xA-02; Sun, 07 Mar 2004 23:45:23 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 4.30) id 1B0EVt-00005x-Sl; Sun, 07 Mar 2004 23:45:22 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i286jK5G039369; Sun, 7 Mar 2004 23:45:20 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i286jJKS039368; Sun, 7 Mar 2004 23:45:19 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 7 Mar 2004 23:45:18 -0700 From: Greg Lewis To: regis rampnoux Message-ID: <20040308064518.GA39288@misty.eyesbeyond.com> References: <20040306214247.GA3389@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr4.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Mon Jan 26 13:00:24 MST 2004) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: java/63818: build but not with compiler specified X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 06:45:25 -0000 On Sat, Mar 06, 2004 at 11:23:51PM +0100, regis rampnoux wrote: > > On 06-Mar-2004 Jonathan Chen wrote: > > > Eh? Mozilla Firefox (previously Firebird) compiles fine under -STABLE > > using the default system compiler under ports. What sort of problems > > are you getting? > > The problem is not with firefox (or firebird, I have not yet updated because a > site was not working with it). > But another software which don't compile under gcc 2.95 et needed 3.x ... I > used of course gcc 3.33 to compile GTK2 libs and other libs. (I don't remember > which was the software). > > Is jdk14 compatible with gcc 3.x? Yes, it certainly is. That is what is used on 5.x to compile it. It just doesn't currently support overriding the system compiler. You're welcome to submit patches to do so though :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Mar 7 22:50:31 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8FF416A4FB for ; Sun, 7 Mar 2004 22:50:31 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0BC043D48 for ; Sun, 7 Mar 2004 22:50:13 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from [198.60.22.208] (helo=mgr8.xmission.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1B0EaY-0002Zg-02; Sun, 07 Mar 2004 23:50:10 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr8.xmission.com with esmtp (Exim 4.30) id 1B0EaY-0000F8-Q9; Sun, 07 Mar 2004 23:50:10 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i286o85G039589; Sun, 7 Mar 2004 23:50:09 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.10/8.12.10/Submit) id i286o8dO039588; Sun, 7 Mar 2004 23:50:08 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 7 Mar 2004 23:50:07 -0700 From: Greg Lewis To: cvetelin andreev Message-ID: <20040308065007.GB39288@misty.eyesbeyond.com> References: <512921839.1078599737418.JavaMail.nobody@app2.ni.bg> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <512921839.1078599737418.JavaMail.nobody@app2.ni.bg> User-Agent: Mutt/1.4.2.1i Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mgr8.xmission.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-SA-Exim-Mail-From: glewis@eyesbeyond.com X-SA-Exim-Version: 3.1 (built Mon Jan 26 13:00:24 MST 2004) X-SA-Exim-Scanned: Yes cc: freebsd-java@freebsd.org Subject: Re: jdk14 and FreeBSD 4.8 problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 06:50:32 -0000 On Sat, Mar 06, 2004 at 09:02:17PM +0200, cvetelin andreev wrote: > Hi all, i have the following problem with building jdk1.4.2 on FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sat Aug 2 18:21:59 EEST 2003 root@flowerlin:/usr/src/sys/compile/CORE i386 > > On #make install clean, the followin errors occures: > Sanity check passed. > (cd ./../build/bsd-i586/hotspot-i586/tmp; \ > gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \ > HOTSPOT_BUILD_VERSION=1.4.2-p6-root_06_mar_2004_20_56 GAMMADIR=/usr/por > ts/java/jdk14/work/hotspot ; ) > gmake[1]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/ > hotspot-i586/tmp' > (cd bsd_i486_compiler2/product; gmake) > gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/ > hotspot-i586/tmp/bsd_i486_compiler2/product' > gmake[3]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/ > hotspot-i586/tmp/bsd_i486_compiler2/product' > Making adlc > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp:212: undefined > reference to `__builtin_vec_new' > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp:244: undefined > reference to `__builtin_vec_delete' > ../generated/adfiles/output_c.o: In function `pipeline_res_stages_initializer(__ > sFILE *, PipelineForm *, NameList &, PipeClassForm *)': > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0x7d6): > undefined reference to `__builtin_vec_new' > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0x95e): > undefined reference to `__builtin_vec_new' > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0xa82): > undefined reference to `__builtin_vec_delete' > /usr/ports/java/jdk14/work/hotspot/src/share/vm/adlc/output_c.cpp(.text+0xa97): > undefined reference to `__builtin_vec_delete' > ../generated/adfiles/output_c.o: In function `pipeline_res_cycles_initializer(__ > collect2: ld returned 1 exit status > gmake[3]: *** [../generated/adfiles/adlc] Error 1 > gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h > otspot-i586/tmp/bsd_i486_compiler2/product' > gmake[2]: *** [ad_stuff] Error 2 > gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h > otspot-i586/tmp/bsd_i486_compiler2/product' > gmake[1]: *** [product] Error 2 > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h > otspot-i586/tmp' > gmake: *** [product] Error 2 > *** Error code 2 > Stop in /usr/ports/java/jdk14. > > Here is some information about my system: > > ~% gcc -v > gcc version 3.4.0 20040218 (prerelease) [FreeBSD] Noone has tried compiling the JDK with gcc 3.4. You're pretty much on your own with this, given that is hasn't even been released yet. Try just using the system compiler. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 02:46:09 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EC8416A4CE; Mon, 8 Mar 2004 02:46:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 330EF43D3F; Mon, 8 Mar 2004 02:46:09 -0800 (PST) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) i28Ak9bv005148; Mon, 8 Mar 2004 02:46:09 -0800 (PST) (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i28Ak9br005144; Mon, 8 Mar 2004 02:46:09 -0800 (PST) (envelope-from linimon) Date: Mon, 8 Mar 2004 02:46:09 -0800 (PST) From: Mark Linimon Message-Id: <200403081046.i28Ak9br005144@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/63909: ports/java/eclipse-langpack: use MASTER_SITE_ECLIPSE for the distfile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 10:46:09 -0000 Synopsis: ports/java/eclipse-langpack: use MASTER_SITE_ECLIPSE for the distfile Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 8 02:45:41 PST 2004 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=63909 From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 02:55:21 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19A2816A4CE; Mon, 8 Mar 2004 02:55:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AEC43D39; Mon, 8 Mar 2004 02:55:20 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from freefall.freebsd.org (nork@localhost [127.0.0.1]) i28AtKbv007435; Mon, 8 Mar 2004 02:55:20 -0800 (PST) (envelope-from nork@freefall.freebsd.org) Received: (from nork@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i28AtKpi007431; Mon, 8 Mar 2004 02:55:20 -0800 (PST) (envelope-from nork) Date: Mon, 8 Mar 2004 02:55:20 -0800 (PST) From: Norikatsu Shigemura Message-Id: <200403081055.i28AtKpi007431@freefall.freebsd.org> To: sa2c@sa2c.net, nork@FreeBSD.org, java@FreeBSD.org Subject: Re: ports/63909: ports/java/eclipse-langpack: use MASTER_SITE_ECLIPSE for the distfile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 10:55:21 -0000 Synopsis: ports/java/eclipse-langpack: use MASTER_SITE_ECLIPSE for the distfile State-Changed-From-To: open->closed State-Changed-By: nork State-Changed-When: Mon Mar 8 02:54:15 PST 2004 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=63909 From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 03:00:11 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EA2216A4CE for ; Mon, 8 Mar 2004 03:00:11 -0800 (PST) Received: from svbcf02.win.tue.nl (svbcf02.win.tue.nl [131.155.71.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A883143D48 for ; Mon, 8 Mar 2004 03:00:10 -0800 (PST) (envelope-from mriem@win.tue.nl) Received: from SENSEI (dyn236.win.tue.nl [131.155.70.150]) by svbcf02.win.tue.nl (Postfix) with ESMTP id 4BE978C19 for ; Mon, 8 Mar 2004 12:00:09 +0100 (MET) From: "Manfred Riem" To: Date: Mon, 8 Mar 2004 12:00:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcQE/IVdPULRWUGXRDqqvmv6wik7mw== Message-Id: <20040308110009.4BE978C19@svbcf02.win.tue.nl> Subject: Suggestion: NetBeans development build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 11:00:11 -0000 Hi there, Can we do a port for the NetBeans development builds as well? Regards, Manfred Riem mriem@win.tue.nl http://www.riaca.win.tue.nl/ From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 05:50:26 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9158716A4D0 for ; Mon, 8 Mar 2004 05:50:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6675843D5D for ; Mon, 8 Mar 2004 05:50:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i28Do7bv056994 for ; Mon, 8 Mar 2004 05:50:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i28Do7GE056993; Mon, 8 Mar 2004 05:50:07 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 8 Mar 2004 05:50:07 -0800 (PST) Resent-Message-Id: <200403081350.i28Do7GE056993@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Herve Quiroz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5F6B16A4CE for ; Mon, 8 Mar 2004 05:41:13 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3051543D31 for ; Mon, 8 Mar 2004 05:41:13 -0800 (PST) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i28DfBgw017390 for ; Mon, 8 Mar 2004 14:41:11 +0100 (CET) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: (from rv@localhost)i28DfANJ017389; Mon, 8 Mar 2004 14:41:10 +0100 (CET) (envelope-from rv) Message-Id: <200403081341.i28DfANJ017389@arabica.esil.univ-mrs.fr> Date: Mon, 8 Mar 2004 14:41:10 +0100 (CET) From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/63928: Update port: java/jakarta-commons-logging [PATCH] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 13:50:27 -0000 >Number: 63928 >Category: java >Synopsis: Update port: java/jakarta-commons-logging [PATCH] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 08 05:50:06 PST 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Fri Feb 27 11:36:17 CET 2004 root@arabica.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ASSIMILATED i386 >Description: Changes: - Now using PORTDOCS macro for automated PLIST build (should fix the deinstall issue) - Now using OPTIONS macro for dependency setting: - WITH_LOG4J: Enable Jakarta Log4j log factory (default: on) - WITH_LOGKIT: Enable Avalon LogKit log factory (default: off) - WITH_JDK14LOG: Enable JDK 1.4 log factory (default: off) - Changed Ant target 'dist' to 'compile' (to produce only JAR when NOPORTDOCS is set) - Now using Ant target 'javadoc' (see above) - Fixed an issue with shared JARs not in classpath (by setting ANT_INCLUDE_SHARED_JARS=YES) NOTE: The OPTIONS macro will not ensure that optional components will not be built (they will be if the right dependency is already installed) but rather that dependencies are correctly set. NOTE2: I was thinking of using a PKGNAMESUFFIX according to optional dependencies. Here are my two cents on the subject: - '-minimal' when everything in turned off - '-all' when everything inturned on - a minus-separated list of optional comonents (eg: '-log4j-logkit' or '-jdk14') otherwise NOTE3: I think we should really do something for the ANT_INCLUDE_SHARED_JARS issue. Maybe defining ANT macros in bsd.java.mk 2.0 would be fine. A PR is on the way: http://www.freebsd.org/cgi/query-pr.cgi?pr=59997 >How-To-Repeat: >Fix: diff -ur jakarta-commons-logging.original/Makefile jakarta-commons-logging/Makefile --- jakarta-commons-logging.original/Makefile Mon Mar 8 01:51:36 2004 +++ jakarta-commons-logging/Makefile Mon Mar 8 03:14:16 2004 @@ -15,18 +15,36 @@ MAINTAINER= znerd@FreeBSD.org COMMENT= Generic logging wrapper library -BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \ - ${LOCALBASE}/share/java/classes/log4j.jar:${PORTSDIR}/java/jakarta-log4j +BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant -USE_JAVA= 1.2+ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src +OPTIONS= LOG4J "Enable Jakarta Log4j log factory" on \ + LOGKIT "Enable Avalon LogKit log factory" off \ + JDK14LOG "Enable JDK 1.4 log factory" off + +.include + +.if defined(WITH_JDK14LOG) +USE_JAVA= 1.4+ +.else +USE_JAVA= 1.2+ +.endif + +.if defined(WITH_LOG4J) +BUILD_DEPENDS+= ${LOCALBASE}/share/java/classes/log4j.jar:${PORTSDIR}/java/jakarta-log4j +.endif + +.if defined(WITH_LOGKIT) +BUILD_DEPENDS+= ${LOCALBASE}/share/java/classes/logkit.jar:${PORTSDIR}/java/avalon-logkit +.endif + PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} ANT?= ${LOCALBASE}/bin/ant -.if defined(NOPORTDOCS) -ANT_TARGET= dist -.else -ANT_TARGET= dist +ANT_TARGET= compile +.if !defined(NOPORTDOCS) +ANT_TARGET= javadoc +PORTDOCS= * .endif JAVASHAREDIR= ${PREFIX}/share/java JARDIR= ${JAVASHAREDIR}/classes @@ -37,11 +55,11 @@ @${CP} ${PORTSDIR}/java/jakarta-commons-beanutils/files/LICENSE ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/ do-build: - @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} + @cd ${WRKSRC} && ${SETENV} ANT_INCLUDE_SHARED_JARS=YES ${ANT} ${ANT_TARGET} do-install: @${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..." - @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE} + @${CP} ${WRKSRC}/target/${JARFILE} ${JARDIR}/${DESTJARFILE} @${ECHO} " [ DONE ]" .if !defined(NOPORTDOCS) @@ -51,4 +69,4 @@ @${ECHO} " [ DONE ]" .endif -.include +.include diff -ur jakarta-commons-logging.original/pkg-plist jakarta-commons-logging/pkg-plist --- jakarta-commons-logging.original/pkg-plist Mon Mar 8 01:51:36 2004 +++ jakarta-commons-logging/pkg-plist Mon Mar 8 03:11:34 2004 @@ -1,37 +1 @@ -share/doc/commons-logging/org/apache/commons/logging/impl/SimpleLog.html -share/doc/commons-logging/org/apache/commons/logging/impl/package-tree.html -share/doc/commons-logging/org/apache/commons/logging/impl/package-frame.html -share/doc/commons-logging/org/apache/commons/logging/impl/Jdk14Logger.html -share/doc/commons-logging/org/apache/commons/logging/impl/Log4JCategoryLog.html -share/doc/commons-logging/org/apache/commons/logging/impl/Log4jFactory.html -share/doc/commons-logging/org/apache/commons/logging/impl/Log4JLogger.html -share/doc/commons-logging/org/apache/commons/logging/impl/LogFactoryImpl.html -share/doc/commons-logging/org/apache/commons/logging/impl/LogKitLogger.html -share/doc/commons-logging/org/apache/commons/logging/impl/NoOpLog.html -share/doc/commons-logging/org/apache/commons/logging/impl/package-summary.html -share/doc/commons-logging/org/apache/commons/logging/package-tree.html -share/doc/commons-logging/org/apache/commons/logging/package-frame.html -share/doc/commons-logging/org/apache/commons/logging/Log.html -share/doc/commons-logging/org/apache/commons/logging/LogFactory.html -share/doc/commons-logging/org/apache/commons/logging/LogSource.html -share/doc/commons-logging/org/apache/commons/logging/package-summary.html -share/doc/commons-logging/org/apache/commons/logging/LogConfigurationException.html -share/doc/commons-logging/serialized-form.html -share/doc/commons-logging/packages.html -share/doc/commons-logging/package-list -share/doc/commons-logging/overview-tree.html -share/doc/commons-logging/overview-summary.html -share/doc/commons-logging/overview-frame.html -share/doc/commons-logging/index.html -share/doc/commons-logging/index-all.html -share/doc/commons-logging/help-doc.html -share/doc/commons-logging/deprecated-list.html -share/doc/commons-logging/stylesheet.css -share/doc/commons-logging/allclasses-frame.html share/java/classes/commons-logging.jar -@dirrm share/doc/commons-logging/org/apache/commons/logging/impl -@dirrm share/doc/commons-logging/org/apache/commons/logging -@dirrm share/doc/commons-logging/org/apache/commons -@dirrm share/doc/commons-logging/org/apache -@dirrm share/doc/commons-logging/org -@dirrm share/doc/commons-logging >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 07:34:21 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B269816A4CE for ; Mon, 8 Mar 2004 07:34:21 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3334E43D1F for ; Mon, 8 Mar 2004 07:34:20 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i28FYJgw037867 for ; Mon, 8 Mar 2004 16:34:19 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.12.10/8.12.10/Submit) id i28FYI84037861 for freebsd-java@FreeBSD.ORG; Mon, 8 Mar 2004 16:34:18 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 8 Mar 2004 16:34:18 +0100 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: RFC: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 15:34:21 -0000 Hi all, After a full week spent at installing ports and coding, I thought of something I would like to discuss: the potential use of a Java specific PKGNAMEPREFIX for Java ports. Please note that I am not asking for any actual action on the subject. That's just a casual "request for comments". In fact, each time I port a Java application or library I am faced with the same dilemna : 'java/myport' or 'devel/myport'? So I felt like "publishing" my random thoughts on the subject to have an idea of other people's opinion. Feedback is obviously welcome. I realized that many languages have their ports build and install with a language specific PKGNAMEPREFIX, for example py23-BitTorrent, p5-Mail-SpamAssassin, ruby18-bdb1... On the other hand, Java seems to have a particular status as it has its own directory in the ports tree (there's no 'perl' nor 'python' directory for example). Furthermore, there seems to be no common (nor official) scheme regarding the location of Java ports in the ports tree: e.g. 'xmlenc'[1] and 'jdom'[2] are both related to XML processing but the former is in 'textproc' whereas the later is in 'java'. Both approaches have enough advantages to stand up against each other. What I have found so far (but I am pretty sure there are plenty of other reasons): - Every Java port in 'java' directory: "because this way you may quickly find a Java libray", or "because most Java libraries would end up in 'devel' anyway"... - Every Java port in the right category directory: "because it is the right way for ANY port", or "because some Java ports use native code (read C code), or the contrary". AFAIK, there is no 'java' directory in pkgsrc[3] (NetBSD). JDKs are in 'lang' and any other Java package is located in a directory related to its category. Within Gentoo[4], there is no 'java' neither. But one category is suffixed with '-java': 'dev-java'. So I was wondering why we (the Java porters) have so much freedom in the way we are locating our ports. Is there any "historical" reason or so? Then I wondered if there were a way to have everybody agree on the subject. So here are my two eurocents on the subject: What if we used the same as any other language? A language specific PKGNAMEPREFIX and Java ports located in directories related to their category? This way, we have (almost) the best of both worlds. One may quickly find all java ports (make search name='java-') whereas ports are abiding to common category/directory rules. An an example, let's have a look at one of the ports I maintain, trove4j (GNU Trove: High performance collections for Java). The port is currently located in 'java/trove4j' and installs the package 'trove4j-1.0.2_1'. As it is a development library, using the forecited port/package naming convention, the port would end up in 'devel/java-trove4j' and would install package 'java-trove4j-1.0.2_1'. Still the port's name (as of ${PORTNAME}) would stay the same: 'trove4j'. Now let's extend our naming convention to support java versioning within package names just like it is the case with Python ports. Indeed, we could use different values for the variable we will now call JAVA_PKGNAMEPREFIX, according to the version of Java the port is built/run with. Let's consider I have JDK 1.4.2 installed and that bsd.java.mk registers it as the JDK dependency of the trove4j port at build time (Advertising: please support the bsd.java.mk-2.0 effort[5]). My port (still located at the place, namely 'devel/java-trove4j') would now install package 'java14-trove4j'. Amongst the good points when using such a naming convention for java ports: - It becomes easy to list Java ports: 'cd /usr/ports && make seach name=java-' - It becomes easy to find out java packages: 'pkg_info -cqx java-' - Java ports may be located in the ports tree the same (right) way as any other port (that is using representative category directories) without invalidating the first property above. - It becomes clearly apparent which JDK was used to build which port. In some cases, some tasks are performed at build time that are relative to the version of Java that is used. For instance, let's consider the jakarta-commons-logging port[6]. When built with JDK 1.4, jakarta-commons-logging compiles support for JDK 1.4 Logging API. Having 'java14-' or 'java13-' as a package name prefix would allow users to determine precisely which logging APIs the package supports. No need for PKGNAMESUFFIX anymore. Now the downside: - What if I installed a port using JDK 1.3 then installed a new JDK (1.4 for instance) and enforced the removal of JDK 1.3 (regardless of packages requiring it to run)?. A quick 'pkgdb -F' would allow me to replace JDK 1.3 with JDK 1.4 everywhere this is needed. Hence my forecited port will end up registered with JDK 1.4 as a dependency but with a prefix that is still 'java13-'. IMHO, that is not really a problem. If one decides to force the deinstall of a package on which depend other packages, he goes against the common rules and thus does it at his own risk. There are probably many other negative or positive points with such a naming convention. I you think about one and want to discuss it, you are welcome. At the end this message you will find a quick survey of ports already using PKGNAMEPREFIX and ports that have 'java-' directly is their name (PORTNAME). Herve [1] xmlenc FreeBSD port http://www.freshports.org/textproc/xmlenc/ [2] dom4j FreeBSD port http://www.freshports.org/java/dom4j/ [3] The NetBSD pkgsrc package database ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/lang/README.html [4] The Gentoo package database http://packages.gentoo.org/categories/ [5] bsd.java.mk-2.0 effort http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html [6] jakarta-commons-logging FreeBSD port http://www.freshports.org/java/jakarta-commons-logging/ Ports using PKGNAMEPREFIX (java-): - databases/java-sqlrelay - java/java-checkstyle - java/java-getopt - net/java-beepcore Ports named with a 'java-' prefix but not using PKGNAMEPREFIX: - comms/java-commapi - comms/java-commapi-freebsd - java/java-cup - java/java-tutorial From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 07:48:51 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9FF516A4CE for ; Mon, 8 Mar 2004 07:48:51 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08EC243D1D for ; Mon, 8 Mar 2004 07:48:51 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i28Fmhbr013960; Mon, 8 Mar 2004 17:48:43 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i28FmgNW070627; Mon, 8 Mar 2004 17:48:43 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <404C95DA.6050606@noc.ntua.gr> Date: Mon, 08 Mar 2004 17:48:42 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040218 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Herve Quiroz References: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> In-Reply-To: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version 0.67-1, clamav-milter version 0.67a cc: freebsd-java@freebsd.org Subject: Re: RFC: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 15:48:51 -0000 Herve Quiroz wrote: > Now the downside: > > - What if I installed a port using JDK 1.3 then installed a new JDK (1.4 for > instance) and enforced the removal of JDK 1.3 (regardless of packages > requiring it to run)?. A quick 'pkgdb -F' would allow me to replace JDK 1.3 > with JDK 1.4 everywhere this is needed. Hence my forecited port will end up > registered with JDK 1.4 as a dependency but with a prefix that is still > 'java13-'. IMHO, that is not really a problem. If one decides to force the > deinstall of a package on which depend other packages, he goes against the > common rules and thus does it at his own risk. > > There are probably many other negative or positive points with such a naming > convention. I you think about one and want to discuss it, you are welcome. Many users nowadays use portupgrade to update their ports, myself included. Isn't this proposed scheme going to require that portupgrade be taught about how to properly update java ports (change the ports name and stuff)? Just some food for thought. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 08:27:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C6F516A4CE for ; Mon, 8 Mar 2004 08:27:40 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id D391843D41 for ; Mon, 8 Mar 2004 08:27:39 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i28GRcgw031106 for ; Mon, 8 Mar 2004 17:27:38 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.12.10/8.12.10/Submit) id i28GRc8U031076 for freebsd-java@freebsd.org; Mon, 8 Mar 2004 17:27:38 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 8 Mar 2004 17:27:38 +0100 From: Herve Quiroz To: freebsd-java@freebsd.org Message-ID: <20040308162738.GA39617@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@freebsd.org References: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> <404C95DA.6050606@noc.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <404C95DA.6050606@noc.ntua.gr> User-Agent: Mutt/1.4.2.1i Subject: Re: RFC: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 16:27:40 -0000 On Mon, Mar 08, 2004 at 05:48:42PM +0200, Panagiotis Astithas wrote: > Many users nowadays use portupgrade to update their ports, myself > included. Isn't this proposed scheme going to require that portupgrade > be taught about how to properly update java ports (change the ports name > and stuff)? > > Just some food for thought. Well I agree that's the main problem. There is only a problem when you change your JDK for another Java version (e.g. 1.3 -> 1.4). Anyway, it is the same as for the recent Ruby/portupgrade issue we had (switching from Ruby 1.6 to Ruby 1.8). Renaming the package is not the best solution IMHO. Let's consider again jakarta-commons-logging. If I rename my package to java14-jakarta-commons-logging, users may think it is compiled with JDK 1.4 logging API support, which is not actually the case. So, the way I see it, a better practice would be: $ pkgdb -Fa [everything depending on JDK 1.3 will now depend on JDK 1.4] $ portupgrade -fr java/jdk14 -x java/jdk14 [everything depending on java/jdk14 will get rebuilt] But that's maybe too heavy when only one or two ports are concerned. In such a case, I would recommend the following (excuse any wrong command here, as we are talking about something that does not exit, and thus I can't really test before posting): $ pkg_info -xqo java13- >/tmp/ports.toberebuilt [list all concerned ports. '-o' lists the "origin" port of the package] $ pkgdb -Fa [everything depending on JDK 1.3 will now depend on JDK 1.4] $ portupgrade -f `cat /tmp/ports.toberebuilt` [rebuild concerned ports] I don't know much about the implementation of pkgdb but maybe those steps could be enforced by the Fix (-F) command as you suggest in your message. BTW, pkgdb is part of the base system so this would not only affect portupgrade users. Thanks for your comments. Herve From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 11:01:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B800C16A4E9 for ; Mon, 8 Mar 2004 11:01:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B163643D2D for ; Mon, 8 Mar 2004 11:01:40 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i28J1ebv072721 for ; Mon, 8 Mar 2004 11:01:40 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i28J1ebg072714 for freebsd-java@freebsd.org; Mon, 8 Mar 2004 11:01:40 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Mar 2004 11:01:40 -0800 (PST) Message-Id: <200403081901.i28J1ebg072714@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 19:01:40 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/01/15] java/61407 java jdk14 port aborts making html32dtd o [2004/01/17] java/61506 java OpenOffice 1.1.0-1 port fails to build on 2 problems total. Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install o [2003/09/24] java/57192 java linux-ibm-java1.4 freeze o [2004/02/10] java/62647 java jdk14 port problem, linux module o [2004/02/14] java/62837 java linux-sun-jdk14 executables hang with COM o [2004/02/28] java/63511 java bsd.java.mk 2.0: testers needed o [2004/03/05] java/63818 java build but not with compiler specified o [2004/03/08] java/63928 java Update port: java/jakarta-commons-logging 10 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 11:02:01 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69E8916A4CF for ; Mon, 8 Mar 2004 11:02:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D57843D2D for ; Mon, 8 Mar 2004 11:02:01 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i28J21bv073130 for ; Mon, 8 Mar 2004 11:02:01 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i28J20Wo073118 for java@freebsd.org; Mon, 8 Mar 2004 11:02:00 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Mar 2004 11:02:00 -0800 (PST) Message-Id: <200403081902.i28J20Wo073118@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 19:02:01 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2003/09/16] java/56928 java jce-aba port should install to $JAVA_HOME 1 problem total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 12:37:25 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A62E816A4CE for ; Mon, 8 Mar 2004 12:37:25 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8863143D2D for ; Mon, 8 Mar 2004 12:37:24 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i28KbNgw053450 for ; Mon, 8 Mar 2004 21:37:23 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.12.10/8.12.10/Submit) id i28KbMPq053449 for freebsd-java@FreeBSD.ORG; Mon, 8 Mar 2004 21:37:22 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 8 Mar 2004 21:37:22 +0100 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20040308203722.GA47029@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: OT: Maven X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 20:37:25 -0000 Hi all, I am trying to mavenize one of my projects and I was wondering why Maven keeps trying to download dom4j other JARs (that are not even in my project dependencies list) while it has them already present in ${MAVEN_HOME}/lib... Is there some variable I did not correctly set? BTW, I was considering to test Centipede to see if it could fit better with my needs. What do you think of this tool compared to Maven? The big bad point of Centipede is that there's no port of it under FreeBSD ;) But this could quickly change if I get to use it anyway. Herve From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 14:53:29 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24F3E16A4EC for ; Mon, 8 Mar 2004 14:53:29 -0800 (PST) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9012643D1F for ; Mon, 8 Mar 2004 14:53:23 -0800 (PST) (envelope-from peter.schuller@infidyne.com) Received: from thunderbolt.scode.org ([213.113.222.228] [213.113.222.228]) by mxfep02.bredband.com with ESMTP <20040308225311.EMOF16649.mxfep02.bredband.com@thunderbolt.scode.org>; Mon, 8 Mar 2004 23:53:11 +0100 Received: from localhost (localhost [127.0.0.1]) by thunderbolt.scode.org (Postfix) with ESMTP id: 31:05 +0100 (CET) From: Peter Schuller To: Panagiotis Astithas Date: Mon, 8 Mar 2004 22:31:04 +0100 User-Agent: KMail/1.6 References: <200403050500.33751.peter.schuller@infidyne.com> <200403051539.13397.peter.schuller@infidyne.com> <40489A2F.3090401@noc.ntua.gr> In-Reply-To: <40489A2F.3090401@noc.ntua.gr> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403082231.05020.peter.schuller@infidyne.com> cc: java@freebsd.org cc: Ronald Klop Subject: Re: Native Java plugin on FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 22:53:29 -0000 > > (I need to set -Djava.net.preferIPv4Stack=true) > > If you build the latest jdk14 port (1.4.2p6_3) you won't get IPv6 > support by default. Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 18:31:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B28DF16A4CE for ; Mon, 8 Mar 2004 18:31:40 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE1D43D49 for ; Mon, 8 Mar 2004 18:31:40 -0800 (PST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from localhost.no.no.cox.net ([68.14.60.78]) by lakemtao03.cox.netESMTP <20040309023140.YQTT29592.lakemtao03.cox.net@localhost.no.no.cox.net> for ; Mon, 8 Mar 2004 21:31:40 -0500 Received: from ip68-14-60-78.no.no.cox.net (localhost [127.0.0.1]) i292VaWe089198 for ; Mon, 8 Mar 2004 20:31:36 -0600 (CST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost)i292VV8N089197 for freebsd-java@freebsd.org; Mon, 8 Mar 2004 20:31:31 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 08 Mar 2004 20:31:31 -0600 (CST) From: Conrad Sabatier To: freebsd-java@freebsd.org Subject: jdk14 plugin problem fixed -- thanks! X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 02:31:40 -0000 Just wanted to provide a little feedback. The latest revision to the jdk14 port does indeed seem to have fixed the problem with the plugin. I just tried it on the Yahoo! chess site (which used to cause it to crash consistently). No problems whatsoever. Thanks for the great work, guys! -- Conrad Sabatier - "In Unix veritas" From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 18:50:49 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6942F16A4CE for ; Mon, 8 Mar 2004 18:50:49 -0800 (PST) Received: from lakemtao04.cox.net (lakemtao04.cox.net [68.1.17.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id E324043D45 for ; Mon, 8 Mar 2004 18:50:48 -0800 (PST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from localhost.no.no.cox.net ([68.14.60.78]) by lakemtao04.cox.netESMTP <20040309025047.BBTD10652.lakemtao04.cox.net@localhost.no.no.cox.net>; Mon, 8 Mar 2004 21:50:47 -0500 Received: from ip68-14-60-78.no.no.cox.net (localhost [127.0.0.1]) i292omhS089406; Mon, 8 Mar 2004 20:50:48 -0600 (CST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost)i292oggh089405; Mon, 8 Mar 2004 20:50:42 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200403051539.13397.peter.schuller@infidyne.com> Date: Mon, 08 Mar 2004 20:50:42 -0600 (CST) From: Conrad Sabatier To: Peter Schuller cc: java@freebsd.org cc: Ronald Klop Subject: Re: Native Java plugin on FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 02:50:49 -0000 On 05-Mar-2004 Peter Schuller wrote: > Hello, > >> Do you have URL's to the applets? So we can test/reproduce. > > Any and all applets are suitable test cases since no applets work :) > Inlcuding the one at http://java.sun.com/openstudio/applets/clock.html you > asked about. Works fine here with firefox, using the latest jdk-1.4.2p6_4 (just finished installing a little while ago). I did have problems with the plugin in earlier jdk-1.4.x port revisions. No special voodoo needed, either; it just works. :-) -- Conrad Sabatier - "In Unix veritas" From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 19:11:24 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5812C16A4CE for ; Mon, 8 Mar 2004 19:11:24 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99D6843D48 for ; Mon, 8 Mar 2004 19:11:23 -0800 (PST) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (unknown [211.96.21.195]) by gddsn.org.cn (Postfix) with ESMTP id 4C9D938CB93 for ; Tue, 9 Mar 2004 11:11:21 +0800 (CST) Message-ID: <404D35D3.7050504@gddsn.org.cn> Date: Tue, 09 Mar 2004 11:11:15 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.6) Gecko/20040304 X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Subject: java crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 03:11:24 -0000 test the demo's applets , the java crash at libXt?? %appletviewer example1.html An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=0x34D9F7BD Function=XtWidgetToApplicationContext+0x1D Library=/usr/X11R6/lib/libXt.so.6 Current Java thread: at sun.awt.motif.MToolkit.loadSystemColors(Native Method) at java.awt.SystemColor.updateSystemColors(SystemColor.java:417) at java.awt.SystemColor.(SystemColor.java:409) at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:212) - locked <0x2c4f3c68> (a sun.awt.X11GraphicsConfig) at sun.awt.X11SurfaceData.getSurfaceType(X11SurfaceData.java:374) at sun.awt.X11GraphicsConfig.getSurfaceType(X11GraphicsConfig.java:116) - locked <0x2c4f3c68> (a sun.awt.X11GraphicsConfig) at sun.awt.X11SurfaceData.createData(X11SurfaceData.java:292) at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:196) at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:228) at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:90) at sun.awt.motif.MFramePeer.(MFramePeer.java:58) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:209) at java.awt.Frame.addNotify(Frame.java:472) - locked <0x2c9f7c98> (a java.awt.Component$AWTTreeLock) at java.awt.Window.pack(Window.java:436) at sun.applet.AppletViewer.(AppletViewer.java:180) at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:82) at sun.applet.AppletViewer.parse(AppletViewer.java:1122) at sun.applet.AppletViewer.parse(AppletViewer.java:1056) at sun.applet.Main.run(Main.java:138) at sun.applet.Main.main(Main.java:80) Dynamic libraries: 0x8048000 appletviewer 0x2807f000 /usr/lib/libpthread.so.1 0x280a2000 /usr/X11R6/lib/libX11.so.6 0x2816a000 /lib/libc.so.5 0x28236000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x28650000 /usr/lib/libstdc++.so.4 0x28702000 /lib/libm.so.2 0x2871a000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x28728000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x2873d000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x2875c000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x34ae4000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so 0x34d35000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so 0x34d80000 /usr/X11R6/lib/libXp.so.6 0x34d88000 /usr/X11R6/lib/libXt.so.6 0x34dd9000 /usr/X11R6/lib/libXext.so.6 0x34de8000 /usr/X11R6/lib/libXtst.so.6 0x34dee000 /usr/X11R6/lib/libXmu.so.6 0x34e04000 /usr/X11R6/lib/libSM.so.6 0x34e0d000 /usr/X11R6/lib/libICE.so.6 0x34e24000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so 0x34ef8000 /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 0x34efe000 /usr/X11R6/lib/libXcursor.so.1 0x34f07000 /usr/X11R6/lib/libXrender.so.1 0x34f28000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 0x34f46000 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 576K, used 239K [0x2c4f0000, 0x2c590000, 0x2c9d0000) eden space 512K, 37% used [0x2c4f0000, 0x2c520438, 0x2c570000) from space 64K, 72% used [0x2c580000, 0x2c58b8f0, 0x2c590000) to space 64K, 0% used [0x2c570000, 0x2c570000, 0x2c580000) tenured generation total 1408K, used 427K [0x2c9d0000, 0x2cb30000, 0x304f0000) the space 1408K, 30% used [0x2c9d0000, 0x2ca3af80, 0x2ca3b000, 0x2cb30000) compacting perm gen total 4096K, used 3008K [0x304f0000, 0x308f0000, 0x344f0000) the space 4096K, 73% used [0x304f0000, 0x307e00b8, 0x307e0200, 0x308f0000) Local Time = Tue Mar 9 11:08:50 2004 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-wsk_08_mar_2004_11_25 mixed mode) # # An error report file has been saved as /tmp/hs_err_pid4401.log. # Please refer to the file for further information. # Abort From owner-freebsd-java@FreeBSD.ORG Mon Mar 8 20:18:35 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD3EE16A4CE for ; Mon, 8 Mar 2004 20:18:35 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A7443D46 for ; Mon, 8 Mar 2004 20:18:35 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw.kgt.co.jp [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 0526810F76; Tue, 9 Mar 2004 13:18:34 +0900 (JST) Received: from kgt.co.jp (kubotaj4 [192.168.1.7]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id D628947711; Tue, 9 Mar 2004 13:18:33 +0900 (JST) Received: from localhost [192.168.15.206] by kgt.co.jp with ESMTP (SMTPD32-8.04) id A59C1F6A00A8; Tue, 09 Mar 2004 13:18:36 +0900 Date: Tue, 09 Mar 2004 13:18:29 +0900 (JST) Message-Id: <20040309.131829.89923037.haro@kgt.co.jp> To: wsk@gddsn.org.cn From: haro@kgt.co.jp In-Reply-To: <404D35D3.7050504@gddsn.org.cn> References: <404D35D3.7050504@gddsn.org.cn> X-Mailer: Mew version 3.3rc1 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: java crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 04:18:35 -0000 From: wsk Date: Tue, 09 Mar 2004 11:11:15 +0800 ::test the demo's applets , the java crash at libXt?? ::%appletviewer example1.html :: ::An unexpected exception has been detected in native code outside the VM. ::Unexpected Signal : 10 occurred at PC=0x34D9F7BD ::Function=XtWidgetToApplicationContext+0x1D ::Library=/usr/X11R6/lib/libXt.so.6 Hi, What's your setting for malloc.conf? Try setting /etc/malloc.conf or MALLOC_OPTIONS to 'aj', to see if it makes any differences. See malloc(3) for more info on malloc.conf. =----------------------------------------------------------------------- _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Kubota Graphics Technology Inc. /|\ |_| |_|_| 2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 03:53:52 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C79FF16A4CE for ; Tue, 9 Mar 2004 03:53:52 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FEC43D3F for ; Tue, 9 Mar 2004 03:53:52 -0800 (PST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from localhost.no.no.cox.net ([68.14.60.78]) by lakemtao03.cox.netESMTP <20040309115351.CHXP29592.lakemtao03.cox.net@localhost.no.no.cox.net> for ; Tue, 9 Mar 2004 06:53:51 -0500 Received: from ip68-14-60-78.no.no.cox.net (localhost [127.0.0.1]) i29Brpk8085034 for ; Tue, 9 Mar 2004 05:53:51 -0600 (CST) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost)i29BrkYM085033 for freebsd-java@freebsd.org; Tue, 9 Mar 2004 05:53:46 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 09 Mar 2004 05:53:46 -0600 (CST) From: Conrad Sabatier To: freebsd-java@freebsd.org Subject: Uh-oh...runaway jdk-1.4.2p6_4 plugin X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 11:53:52 -0000 Woke up this morning and noticed the machine was pretty sluggish on the interactivity front. A quick check of running processes revealed that java_vm was still running, and was using about 40% of my CPU. Looks like it didn't die after I had visited (and exited) the Yahoo games site last night. Any way to prevent this sort of behavior, or is it a problem that the ports team needs to address? -- Conrad Sabatier - "In Unix veritas" From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 04:47:19 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6666E16A4CE for ; Tue, 9 Mar 2004 04:47:19 -0800 (PST) Received: from svbcf02.win.tue.nl (svbcf02.win.tue.nl [131.155.71.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EEE643D53 for ; Tue, 9 Mar 2004 04:47:18 -0800 (PST) (envelope-from mriem@win.tue.nl) Received: from SENSEI (dyn236.win.tue.nl [131.155.70.150]) by svbcf02.win.tue.nl (Postfix) with ESMTP id 459A28C2D; Tue, 9 Mar 2004 13:47:17 +0100 (MET) From: "Manfred Riem" To: Date: Tue, 9 Mar 2004 13:47:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0046_01C405DD.091CA500" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MS-TNEF-Correlator: 0000000062F7A5D5067FE6418CC0EAB97AB4ECFF442C3600 Thread-Index: AcQFItHL43Er5qjGRNWD7ztJd0GxCQAsKlng In-Reply-To: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: 'Herve Quiroz' Subject: RE: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 12:47:19 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0046_01C405DD.091CA500 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi Herve, I would argue for the same thing as for ruby, perl and so on. Makes it easier for people to understand the port concept. So that would mean to gradually shift out the java directory. On the other hand I think stating for which JDK it is compiled is going a bit too far from my perspective. I think one should assume to always compile it with the latest stable release, and otherwise state it in a message a make time that it requires a specific version, thus making it an install issue. I am willing to help out anyway I can ;) My EUR.02, Manfred Riem mriem@win.tue.nl http://www.riaca.win.tue.nl/ ------=_NextPart_000_0046_01C405DD.091CA500-- From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 05:16:29 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B6BA16A4CE for ; Tue, 9 Mar 2004 05:16:29 -0800 (PST) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 4F7A643D45 for ; Tue, 9 Mar 2004 05:16:28 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 85198 invoked from network); 9 Mar 2004 13:16:27 -0000 Received: from 217-162-135-163.dclient.hispeed.ch (HELO ?10.2.2.3?) (217.162.135.163) by 0 with SMTP; 9 Mar 2004 13:16:27 -0000 Date: Tue, 9 Mar 2004 14:19:47 +0100 From: Gabriel Ambuehl Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <1226113013.20040309141947@buz.ch> To: "Manfred Riem" In-Reply-To: References: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: 'Herve Quiroz' cc: freebsd-java@FreeBSD.ORG Subject: Re[2]: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel_ambuehl@buz.ch List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 13:16:29 -0000 Hello Manfred, Tuesday, March 9, 2004, 1:47:17 PM, you wrote: > Hi Herve, > I would argue for the same thing as for ruby, perl and so on. > Makes it easier for people to understand the port concept. > So that would mean to gradually shift out the java directory. I think it's not so bad to have Java ports in the java directory considering what PITA it is to build Java (even on a fast machine, it takes forever and that's only the tip of the ice berg). This way people might be more aware of the fact that they'll need to go through the linux emu hoops to get it working... I mean the scripting languages are built quickly on any reasonably current hardware. Best regards, Gabriel From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 17:59:03 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9F4516A4CE for ; Tue, 9 Mar 2004 17:59:03 -0800 (PST) Received: from dataz.local (thsndi012082.adsl.ppp.infoweb.ne.jp [218.226.89.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0511C43D54 for ; Tue, 9 Mar 2004 17:59:03 -0800 (PST) (envelope-from hasebe@acm.org) Received: from VAIO-QR (vaio-qr.local [192.168.100.3]) by dataz.local (8.12.11/8.12.11) with SMTP id i2A1w69F000694; Wed, 10 Mar 2004 10:58:08 +0900 (JST) (envelope-from hasebe@acm.org) Message-Id: <200403100158.i2A1w69F000694@dataz.local> Date: Wed, 10 Mar 2004 10:58:56 +0900 From: Satoshi Hasebe To: java@freebsd.org Organization: Niigata Univ. In-Reply-To: <404D35D3.7050504@gddsn.org.cn> References: <404D35D3.7050504@gddsn.org.cn> X-Mailer: Datula version 1.51.09 for Windows Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------=_1078883774.74C.758" Subject: Re: java crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 01:59:03 -0000 This is a multi-part message in MIME format. --------=_1078883774.74C.758 Content-Type: text/plain; charset=US-ASCII >test the demo's applets , the java crash at libXt?? >%appletviewer example1.html Does it happen with LANG C? I'm in a similar situation. The following code works well with LANG C, but doesn't with LANG ja_JP.eucJP. class Test { public static void main(String[] args) { JFrame jf = new JFrame(); jf.setSize(100, 100); jf.setVisible(true); } } --------=_1078883774.74C.758 Content-Type: application/octet-stream; name="hs_err_pid645.log" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hs_err_pid645.log" CkFuIHVuZXhwZWN0ZWQgZXhjZXB0aW9uIGhhcyBiZWVuIGRldGVjdGVkIGlu IG5hdGl2ZSBjb2RlIG91dHNpZGUgdGhlIFZNLgpVbmV4cGVjdGVkIFNpZ25h bCA6IDEwIG9jY3VycmVkIGF0IFBDPTB4MzQ3RkE2NzIKRnVuY3Rpb249WHRX aWRnZXRUb0FwcGxpY2F0aW9uQ29udGV4dCsweDFBCkxpYnJhcnk9L3Vzci9Y MTFSNi9saWIvbGliWHQuc28uNgoKQ3VycmVudCBKYXZhIHRocmVhZDoKCWF0 IHN1bi5hd3QubW90aWYuTVRvb2xraXQubG9hZFN5c3RlbUNvbG9ycyhOYXRp dmUgTWV0aG9kKQoJYXQgamF2YS5hd3QuU3lzdGVtQ29sb3IudXBkYXRlU3lz dGVtQ29sb3JzKFN5c3RlbUNvbG9yLmphdmE6NDE3KQoJYXQgamF2YS5hd3Qu U3lzdGVtQ29sb3IuPGNsaW5pdD4oU3lzdGVtQ29sb3IuamF2YTo0MDkpCglh dCBzdW4uYXd0Lm1vdGlmLk1Db21wb25lbnRQZWVyLnBTZXRCYWNrZ3JvdW5k KE5hdGl2ZSBNZXRob2QpCglhdCBzdW4uYXd0Lm1vdGlmLk1QYW5lbFBlZXIu c2V0QmFja2dyb3VuZChNUGFuZWxQZWVyLmphdmE6NjkpCglhdCBzdW4uYXd0 Lm1vdGlmLk1Db21wb25lbnRQZWVyLmluaXRpYWxpemUoTUNvbXBvbmVudFBl ZXIuamF2YToxODIpCglhdCBzdW4uYXd0Lm1vdGlmLk1Db21wb25lbnRQZWVy LmluaXQoTUNvbXBvbmVudFBlZXIuamF2YToyMjgpCglhdCBzdW4uYXd0Lm1v dGlmLk1XaW5kb3dQZWVyLmluaXQoTVdpbmRvd1BlZXIuamF2YTo5MCkKCWF0 IHN1bi5hd3QubW90aWYuTUZyYW1lUGVlci48aW5pdD4oTUZyYW1lUGVlci5q YXZhOjU4KQoJYXQgc3VuLmF3dC5tb3RpZi5NVG9vbGtpdC5jcmVhdGVGcmFt ZShNVG9vbGtpdC5qYXZhOjIwOSkKCWF0IGphdmEuYXd0LkZyYW1lLmFkZE5v dGlmeShGcmFtZS5qYXZhOjQ3MikKCS0gbG9ja2VkIDwweDJjOTM4NjAwPiAo YSBqYXZhLmF3dC5Db21wb25lbnQkQVdUVHJlZUxvY2spCglhdCBqYXZhLmF3 dC5XaW5kb3cuc2hvdyhXaW5kb3cuamF2YTo0NTkpCglhdCBqYXZhLmF3dC5D b21wb25lbnQuc2hvdyhDb21wb25lbnQuamF2YToxMTMzKQoJYXQgamF2YS5h d3QuQ29tcG9uZW50LnNldFZpc2libGUoQ29tcG9uZW50LmphdmE6MTA4OCkK CWF0IFRlc3QubWFpbihUZXN0LmphdmE6NykKCkR5bmFtaWMgbGlicmFyaWVz OgoweDgwNDgwMDAgCWphdmEKMHgyODA3ZjAwMCAJL3Vzci9saWIvbGlicHRo cmVhZC5zby4xCjB4MjgwYTIwMDAgCS9saWIvbGliYy5zby41CjB4MjgxNmUw MDAgCS91c3IvbG9jYWwvamRrMS40LjIvanJlL2xpYi9pMzg2L2NsaWVudC9s aWJqdm0uc28KMHgyODU4ODAwMCAJL3Vzci9saWIvbGlic3RkYysrLnNvLjQK MHgyODYzYTAwMCAJL2xpYi9saWJtLnNvLjIKMHgyODY1MjAwMCAJL3Vzci9s b2NhbC9qZGsxLjQuMi9qcmUvbGliL2kzODYvbmF0aXZlX3RocmVhZHMvbGli aHBpLnNvCjB4Mjg2NjAwMDAgCS91c3IvbG9jYWwvamRrMS40LjIvanJlL2xp Yi9pMzg2L2xpYnZlcmlmeS5zbwoweDI4Njc1MDAwIAkvdXNyL2xvY2FsL2pk azEuNC4yL2pyZS9saWIvaTM4Ni9saWJqYXZhLnNvCjB4Mjg2OTQwMDAgCS91 c3IvbG9jYWwvamRrMS40LjIvanJlL2xpYi9pMzg2L2xpYnppcC5zbwoweDM0 NTQxMDAwIAkvdXNyL2xvY2FsL2pkazEuNC4yL2pyZS9saWIvaTM4Ni9saWJh d3Quc28KMHgzNDc5MjAwMCAJL3Vzci9sb2NhbC9qZGsxLjQuMi9qcmUvbGli L2kzODYvbGlibWxpYl9pbWFnZS5zbwoweDM0N2RkMDAwIAkvdXNyL1gxMVI2 L2xpYi9saWJYcC5zby42CjB4MzQ3ZTUwMDAgCS91c3IvWDExUjYvbGliL2xp Ylh0LnNvLjYKMHgzNDgyZDAwMCAJL3Vzci9YMTFSNi9saWIvbGliWGV4dC5z by42CjB4MmM0MmEwMDAgCS91c3IvWDExUjYvbGliL2xpYlh0c3Quc28uNgow eDM0ODNhMDAwIAkvdXNyL1gxMVI2L2xpYi9saWJYbXUuc28uNgoweDM0ODRl MDAwIAkvdXNyL1gxMVI2L2xpYi9saWJYMTEuc28uNgoweDM0OTA4MDAwIAkv dXNyL1gxMVI2L2xpYi9saWJTTS5zby42CjB4MzQ5MTAwMDAgCS91c3IvWDEx UjYvbGliL2xpYklDRS5zby42CjB4MzQ5MjUwMDAgCS91c3IvbG9jYWwvamRr MS40LjIvanJlL2xpYi9pMzg2L2xpYmZvbnRtYW5hZ2VyLnNvCjB4MzQ5Zjkw MDAgCS91c3IvWDExUjYvbGliL1gxMS9sb2NhbGUvbGliL2NvbW1vbi94bG9j YWxlLnNvLjIKMHgzNDlmYjAwMCAJL3Vzci9YMTFSNi9saWIvWDExL2xvY2Fs ZS9saWIvY29tbW9uL3hsaWJpMThuLnNvLjIKMHgzNGEwMTAwMCAJL3Vzci9Y MTFSNi9saWIvbGliWGN1cnNvci5zby4xCjB4MzRhMDkwMDAgCS91c3IvWDEx UjYvbGliL2xpYlhyZW5kZXIuc28uMQoweDM0YTEwMDAwIAkvdXNyL1gxMVI2 L2xpYi9YMTEvbG9jYWxlL2xpYi9jb21tb24veGltY3Auc28uMgoweDM0YTJi MDAwIAkvdXNyL1gxMVI2L2xpYi9YMTEvbG9jYWxlL2xpYi9jb21tb24veG9t R2VuZXJpYy5zby4yCjB4MjgwNGUwMDAgCS9saWJleGVjL2xkLWVsZi5zby4x CgpIZWFwIGF0IFZNIEFib3J0OgpIZWFwCiBkZWYgbmV3IGdlbmVyYXRpb24g ICB0b3RhbCA1NzZLLCB1c2VkIDQ0NksgWzB4MmM0MzAwMDAsIDB4MmM0ZDAw MDAsIDB4MmM5MTAwMDApCiAgZWRlbiBzcGFjZSA1MTJLLCAgNzQlIHVzZWQg WzB4MmM0MzAwMDAsIDB4MmM0OGY4NjAsIDB4MmM0YjAwMDApCiAgZnJvbSBz cGFjZSA2NEssICA5OSUgdXNlZCBbMHgyYzRiMDAwMCwgMHgyYzRiZmZmOCwg MHgyYzRjMDAwMCkKICB0byAgIHNwYWNlIDY0SywgICAwJSB1c2VkIFsweDJj NGMwMDAwLCAweDJjNGMwMDAwLCAweDJjNGQwMDAwKQogdGVudXJlZCBnZW5l cmF0aW9uICAgdG90YWwgMTQwOEssIHVzZWQgMjc2SyBbMHgyYzkxMDAwMCwg MHgyY2E3MDAwMCwgMHgzMDQzMDAwMCkKICAgdGhlIHNwYWNlIDE0MDhLLCAg MTklIHVzZWQgWzB4MmM5MTAwMDAsIDB4MmM5NTUzODAsIDB4MmM5NTU0MDAs IDB4MmNhNzAwMDApCiBjb21wYWN0aW5nIHBlcm0gZ2VuICB0b3RhbCA0MDk2 SywgdXNlZCAyNzg2SyBbMHgzMDQzMDAwMCwgMHgzMDgzMDAwMCwgMHgzNDQz MDAwMCkKICAgdGhlIHNwYWNlIDQwOTZLLCAgNjglIHVzZWQgWzB4MzA0MzAw MDAsIDB4MzA2ZTg4NDAsIDB4MzA2ZThhMDAsIDB4MzA4MzAwMDApCgpMb2Nh bCBUaW1lID0gV2VkIE1hciAxMCAxMDo0MjowMSAyMDA0CkVsYXBzZWQgVGlt ZSA9IDIKIwojIFRoZSBleGNlcHRpb24gYWJvdmUgd2FzIGRldGVjdGVkIGlu IG5hdGl2ZSBjb2RlIG91dHNpZGUgdGhlIFZNCiMKIyBKYXZhIFZNOiBKYXZh IEhvdFNwb3QoVE0pIENsaWVudCBWTSAoMS40LjItcDYtaGFzZWJlXzA5X21h cl8yMDA0XzEzXzU2IG1peGVkIG1vZGUpCiMK --------=_1078883774.74C.758-- From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 19:20:00 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AD8216A4CE for ; Tue, 9 Mar 2004 19:20:00 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98C6143D3F for ; Tue, 9 Mar 2004 19:19:59 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw.kgt.co.jp [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id B9A8C1027B; Wed, 10 Mar 2004 12:19:58 +0900 (JST) Received: from kgt.co.jp (kubotaj4 [192.168.1.7]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 9928B47711; Wed, 10 Mar 2004 12:19:58 +0900 (JST) Received: from localhost [192.168.15.205] by kgt.co.jp with ESMTP (SMTPD32-8.04) id A965E5A00EA; Wed, 10 Mar 2004 12:20:05 +0900 Date: Wed, 10 Mar 2004 12:20:02 +0900 (JST) Message-Id: <20040310.122002.74756775.haro@kgt.co.jp> To: hasebe@acm.org From: Munehiro Matsuda In-Reply-To: <200403100158.i2A1w69F000694@dataz.local> References: <404D35D3.7050504@gddsn.org.cn> <200403100158.i2A1w69F000694@dataz.local> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: java crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 03:20:00 -0000 From: Satoshi Hasebe Date: Wed, 10 Mar 2004 10:58:56 +0900 ::>test the demo's applets , the java crash at libXt?? ::>%appletviewer example1.html :: ::Does it happen with LANG C? ::I'm in a similar situation. ::The following code works well with LANG C, but doesn't with LANG ja_JP.eucJP. Hi, Using LANG=C should fix your. There are few ways to work around this problem. 1) Set /etc/malloc.conf or MALLOC_OPTIONS to 'aj', as I posted yesterday. 2) Set LANG to "C". 3) Unset XMODIFIERS environment variable before starting application. 4) Disable XIM support. See my (almost a year) old posting about root cause of this problem: http://docs.freebsd.org/cgi/mid.cgi?20030313.110535.74756888.haro # I think this should be in FAQ. ;-) Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Internet Solution Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0767 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp From owner-freebsd-java@FreeBSD.ORG Tue Mar 9 19:50:23 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7425316A4CE for ; Tue, 9 Mar 2004 19:50:23 -0800 (PST) Received: from dataz.local (thsndi012082.adsl.ppp.infoweb.ne.jp [218.226.89.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id B136943D2F for ; Tue, 9 Mar 2004 19:50:22 -0800 (PST) (envelope-from hasebe@acm.org) Received: from VAIO-QR (vaio-qr.local [192.168.100.3]) by dataz.local (8.12.11/8.12.11) with SMTP id i2A3nUmE007314 for ; Wed, 10 Mar 2004 12:49:32 +0900 (JST) (envelope-from hasebe@acm.org) Message-Id: <200403100349.i2A3nUmE007314@dataz.local> Date: Wed, 10 Mar 2004 12:50:20 +0900 From: Satoshi Hasebe To: java@freebsd.org Organization: Niigata Univ. In-Reply-To: <20040310.122002.74756775.haro@kgt.co.jp> References: <404D35D3.7050504@gddsn.org.cn> <200403100158.i2A1w69F000694@dataz.local> <20040310.122002.74756775.haro@kgt.co.jp> X-Mailer: Datula version 1.51.09 for Windows Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: java crashed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 03:50:23 -0000 Munehiro Matsuda wrote: >There are few ways to work around this problem. >1) Set /etc/malloc.conf or MALLOC_OPTIONS to 'aj', as I posted yesterday. >2) Set LANG to "C". >3) Unset XMODIFIERS environment variable before starting application. >4) Disable XIM support. > >See my (almost a year) old posting about root cause of this problem: > http://docs.freebsd.org/cgi/mid.cgi?20030313.110535.74756888.haro I could understand the open-motif problem, and could avoid it by setting MALLOC_OPTIONS. Thanks. Seems like I have missed your post. -- S. Hasebe http://telecom0.eng.niigata-u.ac.jp/~hasebe/en/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 01:24:56 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3768D16A4DC for ; Fri, 12 Mar 2004 01:24:56 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD1B143D3F for ; Fri, 12 Mar 2004 01:24:55 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (ee43aea30a0a46fb7150bfeaa60b272f@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i2C9Osjd012490 for ; Fri, 12 Mar 2004 03:24:55 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DC53E535DC; Fri, 12 Mar 2004 01:24:53 -0800 (PST) Date: Fri, 12 Mar 2004 01:24:53 -0800 From: Kris Kennaway To: java@FreeBSD.org Message-ID: <20040312092453.GK38482@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xsn3knLL3qrmRbVI" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: jai-imageio-1.0 unfetchable X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 09:24:56 -0000 --Xsn3knLL3qrmRbVI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline http://bento.freebsd.org/errorlogs/i386-4-latest/jai-imageio-1.0.log Can you please investigate and/or report to the developers? Kris --Xsn3knLL3qrmRbVI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAUYHkWry0BWjoQKURAsOEAKCp5VYMF/E+F6rCrrH8l1SO0l/EIgCbBuJr DlgCD/JOGJGqShpjiczcpxU= =EbpF -----END PGP SIGNATURE----- --Xsn3knLL3qrmRbVI-- From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 09:30:04 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6569716A4CE for ; Fri, 12 Mar 2004 09:30:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FE0443D48 for ; Fri, 12 Mar 2004 09:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2CHU4bv065040 for ; Fri, 12 Mar 2004 09:30:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2CHU4e8065038; Fri, 12 Mar 2004 09:30:04 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 12 Mar 2004 09:30:04 -0800 (PST) Resent-Message-Id: <200403121730.i2CHU4e8065038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Herve Quiroz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3D1916A4CE for ; Fri, 12 Mar 2004 09:26:34 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25FF943D39 for ; Fri, 12 Mar 2004 09:26:34 -0800 (PST) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i2CHQWGQ006095 for ; Fri, 12 Mar 2004 18:26:32 +0100 (CET) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: (from rv@localhost)i2CHQVSA006094; Fri, 12 Mar 2004 18:26:31 +0100 (CET) (envelope-from rv) Message-Id: <200403121726.i2CHQVSA006094@arabica.esil.univ-mrs.fr> Date: Fri, 12 Mar 2004 18:26:31 +0100 (CET) From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/64171: Update port: java/jakarta-commons-collections [PATCH] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 17:30:04 -0000 >Number: 64171 >Category: java >Synopsis: Update port: java/jakarta-commons-collections [PATCH] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Mar 12 09:30:03 PST 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Fri Feb 27 11:36:17 CET 2004 root@arabica.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ASSIMILATED i386 >Description: - Update to version 3.0 - Now using PORTDOCS macro for automated PLIST build (should fix the deinstall issue) - Now using MASTER_SITE_APACHE_JAKARTA - Now installs various additional docs: e.g. DEVELOPERS-GUIDE.html - Now using JAVAJARDIR instead of JAVASHAREDIR/classes >How-To-Repeat: >Fix: diff -ur jakarta-commons-collections.original/Makefile jakarta-commons-collections/Makefile --- jakarta-commons-collections.original/Makefile Fri Mar 12 17:33:19 2004 +++ jakarta-commons-collections/Makefile Fri Mar 12 18:23:06 2004 @@ -6,9 +6,10 @@ # PORTNAME= commons-collections -PORTVERSION= 2.1 +PORTVERSION= 3.0 CATEGORIES= java -MASTER_SITES= http://jakarta.apache.org/builds/jakarta-commons/release/${PORTNAME}/v${PORTVERSION}/ +MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} +MASTER_SITE_SUBDIR= commons/collections/source/ PKGNAMEPREFIX= jakarta- DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -18,30 +19,32 @@ BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant USE_JAVA= 1.2+ +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} ANT?= ${LOCALBASE}/bin/ant -.if defined(NOPORTDOCS) -ANT_TARGET= dist-jar -.else -ANT_TARGET= dist-jar doc-javadoc +ANT_TARGET= jar +.if !defined(NOPORTDOCS) +ANT_TARGET+= javadoc +OTHERDOCS= DEVELOPERS-GUIDE.html LICENSE.txt PROPOSAL.html README.txt RELEASE-NOTES.html STATUS.html +PORTDOCS= apidocs ${OTHERDOCS} .endif -JAVASHAREDIR= ${PREFIX}/share/java -JARDIR= ${JAVASHAREDIR}/classes -JARFILE= ${PORTNAME}.jar +JARFILE= ${PORTNAME}-${PORTVERSION}.jar do-build: @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} do-install: - @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}..." - @${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/ + @${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." + @${CP} ${WRKSRC}/build/${JARFILE} ${JAVAJARDIR}/ @${ECHO} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${DOCSDIR} - @${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR} + @${CP} -r ${WRKSRC}/build/docs/apidocs ${DOCSDIR} +.for file in ${OTHERDOCS} + @${CP} ${WRKSRC}/${file} ${DOCSDIR} +.endfor @${ECHO} " [ DONE ]" .endif diff -ur jakarta-commons-collections.original/distinfo jakarta-commons-collections/distinfo --- jakarta-commons-collections.original/distinfo Fri Mar 12 17:33:19 2004 +++ jakarta-commons-collections/distinfo Fri Mar 12 17:33:57 2004 @@ -1 +1 @@ -MD5 (commons-collections-2.1-src.tar.gz) = ee30c02b1b57693f72cd86c899b925d9 +MD5 (commons-collections-3.0-src.tar.gz) = 94d08b038526781e9f757048bb68cbae diff -ur jakarta-commons-collections.original/pkg-plist jakarta-commons-collections/pkg-plist --- jakarta-commons-collections.original/pkg-plist Fri Mar 12 17:33:19 2004 +++ jakarta-commons-collections/pkg-plist Fri Mar 12 17:53:00 2004 @@ -1,85 +1 @@ -share/doc/commons-collections/org/apache/commons/collections/iterators/UniqueFilterIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/package-frame.html -share/doc/commons-collections/org/apache/commons/collections/iterators/ArrayIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/CollatingIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/EnumerationIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/FilterIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/FilterListIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/IteratorChain.html -share/doc/commons-collections/org/apache/commons/collections/iterators/IteratorEnumeration.html -share/doc/commons-collections/org/apache/commons/collections/iterators/ListIteratorWrapper.html -share/doc/commons-collections/org/apache/commons/collections/iterators/ProxyIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/ProxyListIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/SingletonIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/SingletonListIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/TransformIterator.html -share/doc/commons-collections/org/apache/commons/collections/iterators/package-summary.html -share/doc/commons-collections/org/apache/commons/collections/comparators/ComparatorChain.html -share/doc/commons-collections/org/apache/commons/collections/comparators/package-frame.html -share/doc/commons-collections/org/apache/commons/collections/comparators/ComparableComparator.html -share/doc/commons-collections/org/apache/commons/collections/comparators/package-summary.html -share/doc/commons-collections/org/apache/commons/collections/comparators/NullComparator.html -share/doc/commons-collections/org/apache/commons/collections/comparators/ReverseComparator.html -share/doc/commons-collections/org/apache/commons/collections/comparators/TransformingComparator.html -share/doc/commons-collections/org/apache/commons/collections/Bag.html -share/doc/commons-collections/org/apache/commons/collections/Buffer.html -share/doc/commons-collections/org/apache/commons/collections/Closure.html -share/doc/commons-collections/org/apache/commons/collections/Factory.html -share/doc/commons-collections/org/apache/commons/collections/MultiMap.html -share/doc/commons-collections/org/apache/commons/collections/Predicate.html -share/doc/commons-collections/org/apache/commons/collections/PriorityQueue.html -share/doc/commons-collections/org/apache/commons/collections/SortedBag.html -share/doc/commons-collections/org/apache/commons/collections/Transformer.html -share/doc/commons-collections/org/apache/commons/collections/ArrayStack.html -share/doc/commons-collections/org/apache/commons/collections/BagUtils.html -share/doc/commons-collections/org/apache/commons/collections/BeanMap.html -share/doc/commons-collections/org/apache/commons/collections/BeanMap.MyMapEntry.html -share/doc/commons-collections/org/apache/commons/collections/BinaryHeap.html -share/doc/commons-collections/org/apache/commons/collections/BoundedFifoBuffer.html -share/doc/commons-collections/org/apache/commons/collections/BufferUtils.html -share/doc/commons-collections/org/apache/commons/collections/CollectionUtils.html -share/doc/commons-collections/org/apache/commons/collections/ComparatorUtils.html -share/doc/commons-collections/org/apache/commons/collections/CursorableLinkedList.html -share/doc/commons-collections/org/apache/commons/collections/CursorableLinkedList.Cursor.html -share/doc/commons-collections/org/apache/commons/collections/DefaultMapBag.html -share/doc/commons-collections/org/apache/commons/collections/DefaultMapEntry.html -share/doc/commons-collections/org/apache/commons/collections/DoubleOrderedMap.html -share/doc/commons-collections/org/apache/commons/collections/ExtendedProperties.html -share/doc/commons-collections/org/apache/commons/collections/FastArrayList.html -share/doc/commons-collections/org/apache/commons/collections/FastHashMap.html -share/doc/commons-collections/org/apache/commons/collections/FastTreeMap.html -share/doc/commons-collections/org/apache/commons/collections/HashBag.html -share/doc/commons-collections/org/apache/commons/collections/IteratorUtils.html -share/doc/commons-collections/org/apache/commons/collections/ListUtils.html -share/doc/commons-collections/org/apache/commons/collections/LRUMap.html -share/doc/commons-collections/org/apache/commons/collections/MapUtils.html -share/doc/commons-collections/org/apache/commons/collections/MultiHashMap.html -share/doc/commons-collections/org/apache/commons/collections/ProxyMap.html -share/doc/commons-collections/org/apache/commons/collections/ReferenceMap.html -share/doc/commons-collections/org/apache/commons/collections/SequencedHashMap.html -share/doc/commons-collections/org/apache/commons/collections/SetUtils.html -share/doc/commons-collections/org/apache/commons/collections/StaticBucketMap.html -share/doc/commons-collections/org/apache/commons/collections/SynchronizedPriorityQueue.html -share/doc/commons-collections/org/apache/commons/collections/TreeBag.html -share/doc/commons-collections/org/apache/commons/collections/UnboundedFifoBuffer.html -share/doc/commons-collections/org/apache/commons/collections/BufferOverflowException.html -share/doc/commons-collections/org/apache/commons/collections/package-summary.html -share/doc/commons-collections/org/apache/commons/collections/BufferUnderflowException.html -share/doc/commons-collections/org/apache/commons/collections/package-frame.html -share/doc/commons-collections/serialized-form.html -share/doc/commons-collections/packages.html -share/doc/commons-collections/package-list -share/doc/commons-collections/overview-summary.html -share/doc/commons-collections/overview-frame.html -share/doc/commons-collections/index.html -share/doc/commons-collections/index-all.html -share/doc/commons-collections/stylesheet.css -share/doc/commons-collections/allclasses-frame.html -share/java/classes/commons-collections.jar -@dirrm share/doc/commons-collections/org/apache/commons/collections/iterators -@dirrm share/doc/commons-collections/org/apache/commons/collections/comparators -@dirrm share/doc/commons-collections/org/apache/commons/collections -@dirrm share/doc/commons-collections/org/apache/commons -@dirrm share/doc/commons-collections/org/apache -@dirrm share/doc/commons-collections/org -@dirrm share/doc/commons-collections +share/java/classes/commons-collections-3.0.jar >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 09:57:42 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1BA816A4D2 for ; Fri, 12 Mar 2004 09:57:41 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB6243D41 for ; Fri, 12 Mar 2004 09:57:41 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i2CHvdGQ006224; Fri, 12 Mar 2004 18:57:39 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i2CHvcBY006223; Fri, 12 Mar 2004 18:57:38 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Fri, 12 Mar 2004 18:57:38 +0100 From: Herve Quiroz To: Gabriel Ambuehl Message-ID: <20040312175738.GA6099@arabica.esil.univ-mrs.fr> Mail-Followup-To: Gabriel Ambuehl , Manfred Riem , freebsd-java@FreeBSD.ORG References: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> <1226113013.20040309141947@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1226113013.20040309141947@buz.ch> User-Agent: Mutt/1.4.2.1i cc: Manfred Riem cc: freebsd-java@FreeBSD.ORG Subject: Re: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 17:57:42 -0000 Hi Gabriel, On Tue, Mar 09, 2004 at 02:19:47PM +0100, Gabriel Ambuehl wrote: > I think it's not so bad to have Java ports in the java directory > considering what PITA it is to build Java (even on a fast machine, it > takes forever and that's only the tip of the ice berg). This way people might > be more aware of the fact that they'll need to go through the linux emu > hoops to get it working... I mean the scripting languages are built > quickly on any reasonably current hardware. I'm not sure I understand your point of view here... are you speaking of JDK ports or all Java ports? I didn't state anything regarding JDKs but if you ask me, I think if we get rid of Java ports from the 'java' directory, we could also move JDK ports towards another directory (probably 'lang' IMHO). Anyway, regarding Java ports, I agree there should be a way to quickly (and simply) identify that a port needs Java to build and/or run. And that's the main point of my original message: "How to name and where to put a Java port, still preserving FreeBSD category/directory rules but with an apparent 'java' tag?". Basically, the question may be: 'java/portname' or 'category/java-portname'? Do you suggest that the 'java-' prefix in the port directory name will not be enough? Actually I was thinking that it would produce some opposite effect when I posted my message. Indeed, if I am to install 'fop' (which name does not sound like Java, as there is no 'J' in it), a simple 'portupgrade fop' would be enough. So the use of Java is not obvious. FOP is actually a recommended tool to handle XSL-FO. So unaware users may give it a try and then get surprised with all that work and stuff needed to install it. Having to execute 'portupgrade java-fop' would make sure that users are aware of the java dependency. Still the port would be located in a directory relative to its category ('textproc' as for any text processing tool), which would be considered the "right" place for any non-Java port. As a side note, we already have a native binary distribution for JDK 1.3 and I believe that we will soon have the same for JDK 1.4, thanks to Alexey, Greg and others... So running Java won't be a PITA anymore. Thanks for your feedback. Herve From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 10:40:48 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0505216A4CE for ; Fri, 12 Mar 2004 10:40:48 -0800 (PST) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 10E0043D2F for ; Fri, 12 Mar 2004 10:40:47 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 49656 invoked from network); 12 Mar 2004 18:40:45 -0000 Received: from 217-162-135-163.dclient.hispeed.ch (HELO ga) (217.162.135.163) by 0 with SMTP; 12 Mar 2004 18:40:45 -0000 Date: Fri, 12 Mar 2004 19:43:38 +0100 From: Gabriel Ambuehl Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <1731722915.20040312194338@buz.ch> To: Herve Quiroz In-Reply-To: <20040312175738.GA6099@arabica.esil.univ-mrs.fr> References: <20040308153418.GA33232@arabica.esil.univ-mrs.fr> <1226113013.20040309141947@buz.ch> <20040312175738.GA6099@arabica.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Manfred Riem cc: freebsd-java@FreeBSD.ORG Subject: Re[2]: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel_ambuehl@buz.ch List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 18:40:48 -0000 Hello Herve, Friday, March 12, 2004, 6:57:38 PM, you wrote: > On Tue, Mar 09, 2004 at 02:19:47PM +0100, Gabriel Ambuehl wrote: >> I think it's not so bad to have Java ports in the java directory >> considering what PITA it is to build Java (even on a fast machine, it >> takes forever and that's only the tip of the ice berg). This way people might >> be more aware of the fact that they'll need to go through the linux emu >> hoops to get it working... I mean the scripting languages are built >> quickly on any reasonably current hardware. > I'm not sure I understand your point of view here... are you speaking of JDK > ports or all Java ports? I didn't state anything regarding JDKs but if you ask > me, I think if we get rid of Java ports from the 'java' directory, we could > also move JDK ports towards another directory (probably 'lang' IMHO). Well obviously the Java ports all have the JDK as dependency ;-) And installing the JDK is a rather painful task no matter how fast your machine is. > it. Having to execute 'portupgrade java-fop' would make sure that users are > aware of the java dependency. Still the port would be located in a directory > relative to its category ('textproc' as for any text processing tool), which > would be considered the "right" place for any non-Java port. Mhh that's a good point too. Maybe one could have the ports hit the user some key during interactive builds so they understand what they are going to do to their system? And for batch builds, it would simply be ignored so that bento could still work with it. > As a side note, we already have a native binary distribution for JDK 1.3 and I > believe that we will soon have the same for JDK 1.4, thanks to Alexey, Greg and > others... So running Java won't be a PITA anymore. Well from what I remember, Diablo binary doesn't run on current (maybe it does now, didn't last time I tried it). But sure, I'll love to see JDK 1.4 binaries (especially as it would shut up those "Java on BSD is evil" morons ;-). And even with diablo, you still have that stupid X dependency which is arguably not something that should live on headless servers. But I get your point about getting rid of ports/java/ (especially bad as some tools aren't even in there but in the category they belong, I know I had to search for ant more than just once ;-). Best regards, Gabriel From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 11:25:55 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD00016A4CE for ; Fri, 12 Mar 2004 11:25:55 -0800 (PST) Received: from svbcf02.win.tue.nl (svbcf02.win.tue.nl [131.155.71.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA47243D46 for ; Fri, 12 Mar 2004 11:25:54 -0800 (PST) (envelope-from mriem@win.tue.nl) Received: from SENSEI (v019.vpn.tue.nl [131.155.212.19]) by svbcf02.win.tue.nl (Postfix) with ESMTP id B6EAC8C04; Fri, 12 Mar 2004 20:25:52 +0100 (MET) From: "Manfred Riem" To: , "'Herve Quiroz'" Date: Fri, 12 Mar 2004 20:25:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <1731722915.20040312194338@buz.ch> Thread-Index: AcQIYYnN4+OPVDbiRl63Slwqkuba+QABOr4A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20040312192552.B6EAC8C04@svbcf02.win.tue.nl> cc: freebsd-java@FreeBSD.ORG Subject: RE: Re[2]: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 19:25:55 -0000 Hi Gabriel, > >> I think it's not so bad to have Java ports in the java directory > >> considering what PITA it is to build Java (even on a fast machine, it > >> takes forever and that's only the tip of the ice berg). That's why we need to help out in testing so a diablo release of 1.4 is there soon. > Well obviously the Java ports all have the JDK as dependency ;-) And > installing the JDK is a rather painful task no matter how fast your > machine is. Time consuming OK, painful not at all. > But I get your point about getting rid of ports/java/ (especially bad > as some tools aren't even in there but in the category they belong, I > know I had to search for ant more than just once ;-). So who is going to enter the PR's and take this one forward? Regards, Manfred Riem mriem@win.tue.nl http://www.riaca.win.tue.nl/ From owner-freebsd-java@FreeBSD.ORG Fri Mar 12 11:33:39 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 670DF16A4CE for ; Fri, 12 Mar 2004 11:33:39 -0800 (PST) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F54743D2F for ; Fri, 12 Mar 2004 11:33:38 -0800 (PST) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 54817 invoked from network); 12 Mar 2004 19:33:37 -0000 Received: from 217-162-135-163.dclient.hispeed.ch (HELO ga) (217.162.135.163) by 0 with SMTP; 12 Mar 2004 19:33:37 -0000 Date: Fri, 12 Mar 2004 20:36:28 +0100 From: Gabriel Ambuehl Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <1825721042.20040312203628@buz.ch> In-Reply-To: <20040312192552.B6EAC8C04@svbcf02.win.tue.nl> References: <1731722915.20040312194338@buz.ch> <20040312192552.B6EAC8C04@svbcf02.win.tue.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: 'Herve Quiroz' cc: freebsd-java@FreeBSD.ORG Subject: Re[4]: PKGNAMEPREFIX for Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Manfred Riem List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 19:33:39 -0000 Hello Manfred, Friday, March 12, 2004, 8:25:48 PM, you wrote: >> >> considering what PITA it is to build Java (even on a fast machine, it >> >> takes forever and that's only the tip of the ice berg). > That's why we need to help out in testing so a diablo release of > 1.4 is there soon. I've yet to see a crash on p6 with Jboss and a load of other stuff, so AFAICT, it IS stable. Desktop use I haven't got for it. >> Well obviously the Java ports all have the JDK as dependency ;-) And >> installing the JDK is a rather painful task no matter how fast your >> machine is. > Time consuming OK, painful not at all. Installing half of RedHat is what I consider serious pain ;-) >> But I get your point about getting rid of ports/java/ (especially bad >> as some tools aren't even in there but in the category they belong, I >> know I had to search for ant more than just once ;-). > So who is going to enter the PR's and take this one forward? > Regards, > Manfred Riem > mriem@win.tue.nl > http://www.riaca.win.tue.nl/ Best regards, Gabriel