From owner-freebsd-java@FreeBSD.ORG Sun Aug 7 17:49:55 2005 Return-Path: X-Original-To: java@freebsd.org 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 AB51A16A41F; Sun, 7 Aug 2005 17:49:55 +0000 (GMT) (envelope-from conrads@cox.net) Received: from eastrmmtao01.cox.net (eastrmmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCA9843D45; Sun, 7 Aug 2005 17:49:54 +0000 (GMT) (envelope-from conrads@cox.net) Received: from serene.no-ip.org ([68.11.27.151]) by eastrmmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050807174953.GEFO12912.eastrmmtao01.cox.net@serene.no-ip.org>; Sun, 7 Aug 2005 13:49:53 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.3/8.13.3) with ESMTP id j77Hno3L030556; Sun, 7 Aug 2005 12:49:51 -0500 (CDT) (envelope-from conrads@serene.no-ip.org) Received: (from conrads@localhost) by serene.no-ip.org (8.13.3/8.13.3/Submit) id j77HnjnK030555; Sun, 7 Aug 2005 12:49:45 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5-DEVEL on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200508060505.j7655frX045444@blue.virtual-estates.net> Date: Sun, 07 Aug 2005 12:49:45 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: "Mikhail T." Cc: gnome@freebsd.org, java@freebsd.org, glewis@freebsd.org, phantom@freebsd.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 07 Aug 2005 17:49:55 -0000 On 06-Aug-2005 Mikhail T. wrote: > Hello! > > Looking deep into Mozilla's LiveConnect sources (under > mozilla/sun-java/stubs/include/) I gather, jint really > wants to be intptr_t -- not a mere int as, for example, > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > Can anyone comment? Thanks! > > -mi > > P.S. Obviously, I'm trying to make things work perfectly > on amd64 :-) I think you're right about this. I've run into problems due to exactly this while trying to build a native amd64 big integer library for freenet (in Contrib/NativeBigInteger from freenet's CVS repo). The build succeeds, but crashes at runtime at exactly the point where the compiler warns about an incompatible pointer type. -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-java@FreeBSD.ORG Sun Aug 7 22:37:17 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 0A79D16A421 for ; Sun, 7 Aug 2005 22:37:17 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: from hosting.sourcit.net (mail3.eitsolutions.net [68.23.20.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F5443EFE for ; Sun, 7 Aug 2005 22:17:14 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: (qmail 20428 invoked from network); 7 Aug 2005 17:17:13 -0500 Received: from al1-24.207.169.154.charter-stl.com (HELO ?192.168.1.101?) (24.207.169.154) by sourcit.net with SMTP; 7 Aug 2005 17:17:13 -0500 From: Bryan Maynard Organization: Sofos Nikitis To: freebsd-java@freebsd.org Date: Sun, 7 Aug 2005 17:16:17 +0000 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508071716.18303.bryan.maynard@reallm.com> Subject: Tmocat .ear question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 22:37:17 -0000 Hello all! I ahve a simple question: how do I deploy an EAR in Tomcat 5.0? I read through Tapestry in action and would like to give the Virtual Library application a spin. I ran the Ant build spript and a .ear file was created. I then dropped the .ear file into my ${CATALINA_BASE}/webapps directory. This is different from my ${CATALINA_HOME}/webapps directory. Jan Grant gave me the following script: [[ #!/bin/sh CATALINA_HOME=/usr/local/jakarta-tomcat5.0 CATALINA_BASE=/home/Bryan/tomcat50 JAVA_OPTS="-Xss4m -Djava.awt.headless=true" JAVA_HOME=/usr/local/jdk1.4.2 export CATALINA_HOME CATALINA_BASE export JAVA_OPTS JAVA_HOME cd "$CATALINA_BASE" exec "$CATALINA_HOME"/bin/catalina.sh $1 ]] This is what I use to start Tomcat. Thanks in advance for your help. I've learned a lot from these lists already :-) Bryan -- Open Source: by the people, for the people. From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 11:01:57 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 046CF16A41F for ; Mon, 8 Aug 2005 11:01:57 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE37A43D45 for ; Mon, 8 Aug 2005 11:01:56 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j78B1uGY006844 for ; Mon, 8 Aug 2005 11:01:56 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j78B1tHx006838 for freebsd-java@freebsd.org; Mon, 8 Aug 2005 11:01:55 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Aug 2005 11:01:55 GMT Message-Id: <200508081101.j78B1tHx006838@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 11:01:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/05/17] java/81176 java Java Webstart does not work f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing f [2005/07/14] ports/83434 java tomcat ports give the wrong ownership to o [2005/08/01] java/84422 java Timezone Handling does not work with Free 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 4 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 14:30:02 2005 Return-Path: X-Original-To: java@freebsd.org 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 0830F16A41F for ; Mon, 8 Aug 2005 14:30:02 +0000 (GMT) (envelope-from shudo@computer.org) Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E91043D46 for ; Mon, 8 Aug 2005 14:30:01 +0000 (GMT) (envelope-from shudo@computer.org) Received: from rpsmtp1.aist.go.jp (rpsmtp1.aist.go.jp [150.29.254.30] (may be forged)) by mx1.aist.go.jp with ESMTP id j78ETxqR009626; Mon, 8 Aug 2005 23:29:59 +0900 (JST) env-from (shudo@computer.org) Received: from smtp1.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id j78ETxB5002623; Mon, 8 Aug 2005 23:29:59 +0900 (JST) env-from (shudo@computer.org) Received: by smtp1.aist.go.jp with ESMTP id j78ETvnd026097; Mon, 8 Aug 2005 23:29:58 +0900 (JST) env-from (shudo@computer.org) Date: Mon, 08 Aug 2005 23:28:13 +0900 (JST) Message-Id: <20050808.232813.102581202.shudo@aist.go.jp> To: kris@obsecurity.org, java@freebsd.org From: shudo@computer.org In-Reply-To: <20050806165042.GG20784@xor.obsecurity.org> References: <20050806165042.GG20784@xor.obsecurity.org> X-Mailer: Mew version 4.2 on XEmacs 21.4.17 (Jumbo Shrimp) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: [ports-i386@FreeBSD.org: shujit-0.7.14_2 failed on i386 5] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 14:30:02 -0000 From: Kris Kennaway > FYI; can you please investigate and/or report to the developers? If > you are already aware of this problem but do not yet have a fix, > please mark the port BROKEN in the appropriate case, so that users do > not unexpectedly encounter it. > > See http://pointyhat.freebsd.org for the full log. I've updated the software shuJIT and released a new version (0.8.0), which can be compiled with GCC 4.0 and later. Please update the port if someone still have an interest on it. > ===> Configuring for shujit-0.7.14_2 > /usr/bin/cc -O -pipe -fPIC -I/usr/local/jdk1.3.1/include-old -I/usr/local/jdk1.3.1/include-old/freebsd -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -Iobj -I/usr/local/include -fPIC -I/usr/local/jdk1.3.1/include-old -I/usr/local/jdk1.3.1/include-old/freebsd -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -Iobj -I/usr/local/include -c -o obj/compile.o compile.c > compile.c: In function `makeBlockStructure': > compile.c:1969: error: label at end of compound statement > gmake[1]: *** [obj/compile.o] Error 1 > gmake[1]: Leaving directory `/work/a/ports/java/shujit/work/shujit' > gmake: *** [optimized] Error 2 > *** Error code 2 Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 16:03:24 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C441516A41F for ; Mon, 8 Aug 2005 16:03:24 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C3443D45 for ; Mon, 8 Aug 2005 16:03:23 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j78G3MID015279; Mon, 8 Aug 2005 19:03:22 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j78G3LaV062378; Mon, 8 Aug 2005 19:03:22 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42F781D7.1050605@ebs.gr> Date: Mon, 08 Aug 2005 19:01:27 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Georg-W. Koltermann" References: <1123099922.7572.4.camel@localhost.eu.mscsoftware.com> In-Reply-To: <1123099922.7572.4.camel@localhost.eu.mscsoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: error in /usr/local/bin/eclipse wrapper script (missing export) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 16:03:24 -0000 Georg-W. Koltermann wrote: > Hi, > > I had to add an export statement to the setting of MOZILLA_FIVE_HOME and > LD_LIBRARY_PATH in order to make the embedded web browser work. > > Maybe someone with commit privs could fix it? > > -- > Regards, > Georg. > Yes, I have submitted ports/84672 to make sure it does not get lost. Thanks for finding it. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 16:15:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6A33C16A41F for ; Mon, 8 Aug 2005 16:15:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8926D43D45 for ; Mon, 8 Aug 2005 16:15:46 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j78GFiID015309; Mon, 8 Aug 2005 19:15:44 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j78GFiiT062490; Mon, 8 Aug 2005 19:15:45 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42F784BD.5020406@ebs.gr> Date: Mon, 08 Aug 2005 19:13:49 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bryan Maynard References: <200508071716.18303.bryan.maynard@reallm.com> In-Reply-To: <200508071716.18303.bryan.maynard@reallm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Tmocat .ear question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 16:15:47 -0000 Bryan Maynard wrote: > Hello all! I ahve a simple question: how do I deploy an EAR in Tomcat > 5.0? I read through Tapestry in action and would like to give the > Virtual Library application a spin. I ran the Ant build spript and > a .ear file was created. I then dropped the .ear file into my > ${CATALINA_BASE}/webapps directory. This is different from my > ${CATALINA_HOME}/webapps directory. Jan Grant gave me the following > script: > > [[ > #!/bin/sh > > CATALINA_HOME=/usr/local/jakarta-tomcat5.0 > CATALINA_BASE=/home/Bryan/tomcat50 > JAVA_OPTS="-Xss4m -Djava.awt.headless=true" > JAVA_HOME=/usr/local/jdk1.4.2 > > export CATALINA_HOME CATALINA_BASE > export JAVA_OPTS JAVA_HOME > > cd "$CATALINA_BASE" > exec "$CATALINA_HOME"/bin/catalina.sh $1 > ]] > > This is what I use to start Tomcat. > > Thanks in advance for your help. I've learned a lot from these lists > already :-) > > Bryan I don't know about this particular application, but you deploy war files on servlet containers, not ear files. Perhaps your build script has another target just for creating a war. Otherwise you could install an application server, like jboss and deploy your ear there. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 19:26:36 2005 Return-Path: X-Original-To: java@freebsd.org 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 0BE1316A41F for ; Mon, 8 Aug 2005 19:26:36 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 699CB43D46 for ; Mon, 8 Aug 2005 19:26:35 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j78JQU2j014894; Mon, 8 Aug 2005 13:26:30 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j78JQS4f014893; Mon, 8 Aug 2005 13:26:29 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 8 Aug 2005 13:26:28 -0600 From: Greg Lewis To: shudo@computer.org Message-ID: <20050808192628.GA12949@misty.eyesbeyond.com> References: <20050806165042.GG20784@xor.obsecurity.org> <20050808.232813.102581202.shudo@aist.go.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20050808.232813.102581202.shudo@aist.go.jp> User-Agent: Mutt/1.4.2.1i Cc: java@freebsd.org, kris@obsecurity.org Subject: Re: [ports-i386@FreeBSD.org: shujit-0.7.14_2 failed on i386 5] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 19:26:36 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 08, 2005 at 11:28:13PM +0900, shudo@computer.org wrote: > From: Kris Kennaway > > > FYI; can you please investigate and/or report to the developers? If > > you are already aware of this problem but do not yet have a fix, > > please mark the port BROKEN in the appropriate case, so that users do > > not unexpectedly encounter it. > > > > See http://pointyhat.freebsd.org for the full log. > > I've updated the software shuJIT and released a new version (0.8.0), > which can be compiled with GCC 4.0 and later. Please update the port > if someone still have an interest on it. Here is a patch which works for me. I haven't got a 6.0 box to test it on, but it works with both gcc34 and gcc40 set as the compiler. Kris, is it ok to commit this? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="shutjit.diff" Index: Makefile =================================================================== RCS file: /var/fcvs/ports/java/shujit/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 15 Oct 2004 18:20:43 -0000 1.43 +++ Makefile 8 Aug 2005 18:26:30 -0000 @@ -6,8 +6,7 @@ # PORTNAME= shujit -PORTVERSION= 0.7.14 -PORTREVISION= 2 +PORTVERSION= 0.8.0 CATEGORIES= java MASTER_SITES= http://www.shudo.net/jit/dist/ Index: distinfo =================================================================== RCS file: /var/fcvs/ports/java/shujit/distinfo,v retrieving revision 1.22 diff -u -r1.22 distinfo --- distinfo 31 Mar 2004 03:08:58 -0000 1.22 +++ distinfo 8 Aug 2005 18:27:02 -0000 @@ -1,2 +1,2 @@ -MD5 (shujit-0.7.14.tar.gz) = 4590faef61fe93d013b56d47794c0da8 -SIZE (shujit-0.7.14.tar.gz) = 251026 +MD5 (shujit-0.8.0.tar.gz) = 0c4babb5ec088ed0aaeaaba8f2b9d218 +SIZE (shujit-0.8.0.tar.gz) = 272497 Index: pkg-plist =================================================================== RCS file: /var/fcvs/ports/java/shujit/pkg-plist,v retrieving revision 1.3 diff -u -r1.3 pkg-plist --- pkg-plist 16 Feb 2003 08:33:22 -0000 1.3 +++ pkg-plist 8 Aug 2005 19:05:29 -0000 @@ -1,3 +1,3 @@ lib/libshujit.so -share/doc/shujit/README -@dirrm share/doc/shujit +%%DOCSDIR%%/README +@dirrm %%DOCSDIR%% Index: files/patch-ab =================================================================== RCS file: /var/fcvs/ports/java/shujit/files/patch-ab,v retrieving revision 1.5 diff -u -r1.5 patch-ab --- files/patch-ab 10 Sep 2001 15:44:31 -0000 1.5 +++ files/patch-ab 8 Aug 2005 19:19:57 -0000 @@ -10,9 +10,9 @@ -COPTFLAGS = -O2 CFLAGS_OPT = CFLAGS_DBG = -g -DDEBUG -DJCOV --NOOPTCFLAGS = -pipe -fPIC ${CFLAGS_${VARIANT}} ${CFLAGS_COMMON} ${INCDIR} +-NOOPTCFLAGS = @ac_cflags@ -pipe ${CFLAGS_${VARIANT}} ${CFLAGS_COMMON} ${INCDIR} -CFLAGS = ${COPTFLAGS} ${NOOPTCFLAGS} -+NOOPTCFLAGS = -fPIC ${CFLAGS_${VARIANT}} ${CFLAGS_COMMON} ${INCDIR} ++NOOPTCFLAGS = @ac_cflags@ ${CFLAGS_${VARIANT}} ${CFLAGS_COMMON} ${INCDIR} +CFLAGS += ${COPTFLAGS} ${NOOPTCFLAGS} LIBS = Index: files/patch-ac =================================================================== RCS file: /var/fcvs/ports/java/shujit/files/patch-ac,v retrieving revision 1.1 diff -u -r1.1 patch-ac --- files/patch-ac 25 Sep 2000 07:32:43 -0000 1.1 +++ files/patch-ac 8 Aug 2005 19:05:00 -0000 @@ -1,10 +1,12 @@ +$FreeBSD$ + --- README 2000/09/23 21:59:50 1.1 +++ README 2000/09/23 21:59:26 @@ -33,6 +33,10 @@ * Run Java applications with JIT compiler. -+Fist you should set LD_LIBRARY_PATH enviropment variable as follows: ++First you should set LD_LIBRARY_PATH environment variable as follows: + + export LD_LIBRARY_PATH=%%PREFIX%%/lib/shujit + Index: files/patch-compiler.h =================================================================== RCS file: /var/fcvs/ports/java/shujit/files/patch-compiler.h,v retrieving revision 1.5 diff -u -r1.5 patch-compiler.h --- files/patch-compiler.h 8 Jul 2003 08:48:57 -0000 1.5 +++ files/patch-compiler.h 8 Aug 2005 19:06:37 -0000 @@ -7,7 +7,7 @@ // Additional type definition --#if !(defined(_ILP32) || defined(_LP64) || defined(_SYS_INTTYPES_H_) /* for FreeBSD */) +-#if !(defined(_ILP32) || defined(_LP64) || defined(_STDINT_H) || defined(_SYS_INTTYPES_H_) /* for FreeBSD */) +#if !(defined(_ILP32) || defined(_LP64) || defined(__FreeBSD__)) # ifndef _UINT16_T # define _UINT16_T --SLDf9lqlvOQaIe6s-- From owner-freebsd-java@FreeBSD.ORG Mon Aug 8 23:08:43 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 D686216A420 for ; Mon, 8 Aug 2005 23:08:43 +0000 (GMT) (envelope-from recitation@turlington.com) Received: from ppp078.hak.centurytel.net (ppp078.hak.centurytel.net [66.112.85.157]) by mx1.FreeBSD.org (Postfix) with SMTP id B459643D48 for ; Mon, 8 Aug 2005 23:08:32 +0000 (GMT) (envelope-from recitation@turlington.com) Received: from [80.63.199.145] (port=4401 helo=[transitions]) by ppp078.hak.centurytel.net with esmtp id 12109743922roast18683 for freebsd-java@freebsd.org; Mon, 8 Aug 2005 18:08:25 -0500 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Message-Id: <123997125066.89156996@ppp078.hak.centurytel.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-java@freebsd.org From: Agatha Date: Mon, 8 Aug 2005 18:08:24 -0500 X-Mailer: threatening Subject: New and unique way to take care of medical needs at an afordable price online. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 23:08:44 -0000 36 hours: for all your needs :) http://attend.palns.net/pha/lib/ Sometimes a cigar is just a cigar. Forget injuries, never forget kindnesses. And virtue, though in rags, will keep me warm. Courage in danger is half the battle. From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 05:20:49 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 972F416A41F; Tue, 9 Aug 2005 05:20:49 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D2B43D46; Tue, 9 Aug 2005 05:20:48 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j795KStM067034; Mon, 8 Aug 2005 23:20:28 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j795KRTg066886; Mon, 8 Aug 2005 23:20:27 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 8 Aug 2005 23:20:27 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20050809052027.GA43606@misty.eyesbeyond.com> References: <200508060505.j7655frX045444@blue.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508060505.j7655frX045444@blue.virtual-estates.net> User-Agent: Mutt/1.4.2.1i Cc: gnome@FreeBSD.org, java@FreeBSD.org, glewis@FreeBSD.org, phantom@FreeBSD.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 05:20:49 -0000 On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > Looking deep into Mozilla's LiveConnect sources (under > mozilla/sun-java/stubs/include/) I gather, jint really > wants to be intptr_t -- not a mere int as, for example, > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > Can anyone comment? Thanks! I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. It hasn't gotten to the plugin build yet, but I'll be interested to see (a) if there are warnings about pointer widths and (b) if it works :). Until then, its worth noting that the Linux amd64 release from Sun (1.5.0_04) still has jint defined as int. It appears that Solaris in 64 bit mode also still has jint defined as an int. This raises some questions in terms of compatibility for us to change it to be something other than an int. -- 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 Tue Aug 9 05:53:52 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 C107A16A41F for ; Tue, 9 Aug 2005 05:53:52 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A533A43D46 for ; Tue, 9 Aug 2005 05:53:51 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: (qmail 12054 invoked from network); 9 Aug 2005 05:53:51 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Aug 2005 05:53:51 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j795rhYd080509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 9 Aug 2005 01:53:47 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (smmsp@localhost.video-collage.com [127.0.0.1]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j795rbsl014730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Aug 2005 01:53:38 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from root@localhost) by corbulon.video-collage.com (8.13.4/8.13.4/Submit) id j795rblk014729; Tue, 9 Aug 2005 01:53:37 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200508090553.j795rblk014729@corbulon.video-collage.com> To: glewis@eyesbeyond.com (Greg Lewis) Date: Tue, 9 Aug 2005 01:53:36 -0400 (EDT) In-Reply-To: <20050809052027.GA43606@misty.eyesbeyond.com> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV devel-20050525/1010/Mon Aug 8 19:39:07 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: gnome@FreeBSD.org, java@FreeBSD.org, kyle.yuan@sun.com Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 05:53:53 -0000 > On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > > Looking deep into Mozilla's LiveConnect sources (under > > mozilla/sun-java/stubs/include/) I gather, jint really > > wants to be intptr_t -- not a mere int as, for example, > > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > > > Can anyone comment? Thanks! > > I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. > It hasn't gotten to the plugin build yet, but I'll be interested to see > (a) if there are warnings about pointer widths and (b) if it works :). I'm, actually, thinking, the jint should be left alone and just the GetJavaWrapper() and its friends be changed to accept intptr_t (or some j-prefixed equivalent) instead of jint. You will not get warnings (in Java) because actual callers of GetJavaWrapper come (I think) from the LiveConnect part of the browsers, which are compiled separately. The HEAD of the spidermonkey (js) tree currently, sort of, expects GetJavaWrapper to take a jlong, when a regular long is 8 bytes (their own strange way of _not_ using intptr_t). But this means, the real GetJavaWrapper and the UnwrapJavaWrapper() need to accept a (pointer to a) truly intptr_t-wide value. Per cscope: Global definition: UnwrapJavaWrapper File Line 0 CNSAdapter_JavaPluginFactory.cpp 389 NS_IMETHODIMP CNSAdapter_JavaPluginFactory::UnwrapJavaWrapper(JNIEnv* jenv, jobject jobj, jint* obj) 1 CFactory_IJVMPlugin.cpp 42 NS_IMETHODIMP CFactory::UnwrapJavaWrapper(JNIEnv* jenv, 2 JSObject.cpp 223 JDresult UnwrapJavaWrapper(RemoteJNIEnv* env, jobject jobj, jint* obj) 3 JavaPluginFactory5.cpp 476 JavaPluginFactory5::UnwrapJavaWrapper(JNIEnv* jenv, jobject jobj, jint* obj) { and: Global definition: GetJavaWrapper File Line 0 CNSAdapter_JavaPluginFactory.cpp 367 NS_IMETHODIMP CNSAdapter_JavaPluginFactory::GetJavaWrapper(JNIEnv* jenv, jint obj, jobject *jobj) 1 CFactory_IJVMPlugin.cpp 19 NS_IMETHODIMP CFactory::GetJavaWrapper(JNIEnv* jenv, jint obj, jobject *jobj) { 2 JavaPluginFactory5.cpp 447 JavaPluginFactory5::GetJavaWrapper(JNIEnv* proxy_env, All of those "jint obj" need to change together with whatever functions these guys themselves call. For you to test it from inside a browser, you'll have to patch Firefox' js/src/liveconnect... It may be easier to just build (and test) the lang/spidermonkey -- I asked portmgr to allow me to unbreak it on amd64. > Until then, its worth noting that the Linux amd64 release from Sun > (1.5.0_04) still has jint defined as int. It appears that Solaris > in 64 bit mode also still has jint defined as an int. This raises > some questions in terms of compatibility for us to change it to be > something other than an int. It is, actually, even better. Sun's jni_md.h defineds jint as int, but jri_md.h (deploy/src/plugin/share/npapi/jri_md.h) has the following code: [...] #ifdef IS_64 /* XXX ok for alpha, but not right on all 64-bit architectures */ typedef unsigned int juint; typedef int jint; #else typedef unsigned long juint; typedef long jint; #endif [...] A bloody mess, that we need to straighten out :-( -mi From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 07:37:41 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C387516A41F for ; Tue, 9 Aug 2005 07:37:41 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B51543D45 for ; Tue, 9 Aug 2005 07:37:41 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 4D1A3A935; Tue, 9 Aug 2005 00:38:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 3B9F1A928 for ; Tue, 9 Aug 2005 00:38:35 -0700 (PDT) Date: Tue, 9 Aug 2005 00:38:35 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Message-ID: <20050809000303.D7871@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: java-1.4.2-p7 100% CPU usage (threading problem?) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 07:37:41 -0000 Environment is java-1.4.2_08-p7, built on FreeBSD 5.4-STABLE as of August 5. This is pretty easy to replicate, so I hope that helps. I don't think the Resin/Apache integration is necessary to duplicate this problem, but I'm including that information just for completeness. You can probably skip everything to do with Apache and still see the problem. Build Apache2 out of ports. Download Resin 3.0.14 here: http://www.caucho.com/download/resin-3.0.14.tar.gz tar xzvf resin-3.0.14.tar.gz cd resin-3.0.14 Configure with ./configure --with-java-home=/usr/local/jdk1.4.2 --with-apxs=/usr/local/bin/apxs Make using "make" and then make install. Set JAVA_HOME and RESIN_HOME in bin/http.sh. Also add args=-J-Djaa.net.preferIPv4Stack=true Stop/Start apache2, then start Resin using bin/httpd.sh with no parameters. You should be able to load http://localhost/caucho-status and see that Host localhost:6802 is up. Now hit ^C or ^Z in the window where you started httpd.sh. Observe that it doesn't exit, and that if your run top, you'll see java using all the CPU it can, approaching 100%. It will not exit. It will not respond to kill -3 or kill -6. A truss -p shows the process in an infinite loop making the same kse_release call repeatedly. A ktrace also shows a RET kse_release 0 following each kse_release call. I did manage to get a stack trace with gcore; here's the stack trace: #0 0x48097353 in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x4808fc05 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x48093be0 in pthread_setconcurrency () from /usr/lib/libpthread.so.1 #3 0x4808a405 in _nanosleep () from /usr/lib/libpthread.so.1 #4 0x4808a4fe in nanosleep () from /usr/lib/libpthread.so.1 #5 0x4808162b in select () from /usr/lib/libpthread.so.1 #6 0x48460e09 in os_sleep () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #7 0x48460fcd in os::sleep () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #8 0x484a9933 in WatcherThread::run () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #9 0x4845f1d7 in _start () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #10 0x48083b09 in pthread_create () from /usr/lib/libpthread.so.1 #11 0x4813f85b in _ctx_start () from /lib/libc.so.5 Looks like maybe this thread isn't shutting down cleanly? The stuck thread seems to always be this one, though it's hard to be 100% certain. Nick -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 10:46:33 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 6460A16A41F; Tue, 9 Aug 2005 10:46:33 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E4CC43D46; Tue, 9 Aug 2005 10:46:32 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from krion by voodoo.oberon.net with local (Exim 4.52 (FreeBSD)) id 1E2Rcq-0005C2-OW; Tue, 09 Aug 2005 12:46:28 +0200 Date: Tue, 9 Aug 2005 12:46:28 +0200 From: Kirill Ponomarew To: java@FreeBSD.org Message-ID: <20050809104628.GC18806@voodoo.oberon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Keywords: 579279786 Cc: hq@FreeBSD.org Subject: [ports-i386@FreeBSD.org: jai-imageio-1.0 failed on i386 6] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 10:46:33 -0000 FYI; can you please investigate and/or report to the developers? If you are already aware of this problem but do not yet have a fix, please mark the port BROKEN in the appropriate case, so that users do not unexpectedly encounter it. See http://pointyhat.freebsd.org for the full log. Thanks. ----- Forwarded message from User Ports-i386 ----- Date: Tue, 9 Aug 2005 10:44:48 GMT From: User Ports-i386 To: krion@FreeBSD.org, kris@FreeBSD.org Subject: jai-imageio-1.0 failed on i386 6 building jai-imageio-1.0 on gohan25.freebsd.org in directory /x/tmp/6/chroot/3410 maintained by: java@FreeBSD.org port directory: /usr/ports/java/jai-imageio build started at Tue Aug 9 10:44:37 UTC 2005 FETCH_DEPENDS= PATCH_DEPENDS= EXTRACT_DEPENDS= BUILD_DEPENDS= RUN_DEPENDS=acroread7-7.0.0.tbz expat-1.95.8_3.tbz fontconfig-2.2.3,1.tbz freetype2-2.1.10_1.tbz gettext-0.14.5.tbz javavmwrapper-2.0_5.tbz jdk-1.4.2p7_1.tbz libiconv-1.9.2_1.tbz linux-XFree86-libs-4.3.99.902_3.tbz linux-atk-1.2.0_3.tbz linux-expat-1.95.5_3.tbz linux-flashplugin-6.0r79_3.tbz linux-fontconfig-2.1_3.tbz linux-glib2-2.2.1_3.tbz linux-gtk2-2.2.1_5.tbz linux-jpeg-6b.15_4.tbz linux-pango-1.2.1_3.tbz linux-png-1.2.7_6.tbz linux-realplayer-10.0.5.tbz linux-tiff-3.6.1_3.tbz linux_base-8-8.0_6.tbz linuxpluginwrapper-20050613.tbz pkgconfig-0.17.2.tbz popt-1.7.tbz rpm-3.0.6_10.tbz urwfonts-1.0.tbz xorg-libraries-6.8.2.tbz add_pkg ================================================================ ======================================== => jai_imageio-1_0-lib-linux-i586.tar.gz doesn't seem to exist in /tmp/distfiles/. => Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/jai_imageio-1_0-lib-linux-i586.tar.gz: File unavailable (e.g., file not found, no access) => Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/jai_imageio-1_0-lib-linux-i586.tar.gz: File unavailable (e.g., file not found, no access) => Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/jai_imageio-1_0-lib-linux-i586.tar.gz: File unavailable (e.g., file not found, no access) => Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/jai_imageio-1_0-lib-linux-i586.tar.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /tmp/distfiles/ and try again. *** Error code 1 Stop in /a/ports/java/jai-imageio. ================================================================ build ended at Tue Aug 9 10:44:44 UTC 2005 ----- End forwarded message ----- -Kirill From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 13:56:57 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 D982D16A41F; Tue, 9 Aug 2005 13:56:57 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4737943D49; Tue, 9 Aug 2005 13:56:57 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from krion by voodoo.oberon.net with local (Exim 4.52 (FreeBSD)) id 1E2Ub7-0005rW-N9; Tue, 09 Aug 2005 15:56:53 +0200 Date: Tue, 9 Aug 2005 15:56:53 +0200 From: Kirill Ponomarew To: java@FreeBSD.org Message-ID: <20050809135653.GI18806@voodoo.oberon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Keywords: 579279786 Cc: nork@FreeBSD.org Subject: [ports-i386@FreeBSD.org: eclipse-langpack-3.0.1_1 pkg-plist errors on i386 6] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 13:56:58 -0000 FYI; can you please investigate and/or report to the developers? If you are already aware of this problem but do not yet have a fix, please mark the port BROKEN in the appropriate case, so that users do not unexpectedly encounter it. See http://pointyhat.freebsd.org for the full log. Thanks. ----- Forwarded message from User Ports-i386 ----- Date: Tue, 9 Aug 2005 12:42:22 GMT From: User Ports-i386 To: krion@FreeBSD.org, kris@FreeBSD.org Subject: eclipse-langpack-3.0.1_1 pkg-plist errors on i386 6 building eclipse-langpack-3.0.1_1 on gohan20.freebsd.org in directory /x/tmp/6/chroot/40050 maintained by: java@FreeBSD.ORG port directory: /usr/ports/java/eclipse-langpack For the full build log, see http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.2005080108/eclipse-langpack-3.0.1_1.log list of extra files and directories in / (not present before this port was installed but present after it was deinstalled) 965257 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.jdt.source_3.0.1 965258 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.jdt_3.0.1 965262 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.pde_3.0.1 965265 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.platform.source_3.0.1 965266 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.platform_3.0.1 965268 16 drwxr-xr-x 2 root wheel 512 Aug 9 12:40 usr/local/eclipse/features/org.eclipse.sdk_3.0.1 ----- End forwarded message ----- -Kirill From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 21:32:30 2005 Return-Path: X-Original-To: java@freebsd.org 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 7146B16A41F for ; Tue, 9 Aug 2005 21:32:30 +0000 (GMT) (envelope-from Mikhail.Teterin@murex.com) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A369444A1 for ; Tue, 9 Aug 2005 21:32:26 +0000 (GMT) (envelope-from Mikhail.Teterin@murex.com) Received: (qmail 17131 invoked from network); 9 Aug 2005 21:32:25 -0000 Received: from aldan.algebra.com ([216.254.65.224]) (envelope-sender ) by mail25.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Aug 2005 21:32:24 -0000 Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j79LWKkS082697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 9 Aug 2005 17:32:22 -0400 (EDT) (envelope-from Mikhail.Teterin@murex.com) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id j79LWDre022964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Aug 2005 17:32:14 -0400 (EDT) (envelope-from Mikhail.Teterin@murex.com) Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.3/8.13.3) with ESMTP id j79LW7vP001668; Tue, 9 Aug 2005 17:32:07 -0400 (EDT) (envelope-from Mikhail.Teterin@murex.com) Received: from localhost (localhost [[UNIX: localhost]]) by mteterin.us.murex.com (8.13.3/8.13.3/Submit) id j79LW5bF001667; Tue, 9 Aug 2005 17:32:05 -0400 (EDT) (envelope-from Mikhail.Teterin@murex.com) X-Authentication-Warning: mteterin.us.murex.com: mteterin set sender to Mikhail.Teterin@murex.com using -f From: Mikhail Teterin Organization: Murex North America To: Greg Lewis Date: Tue, 9 Aug 2005 17:32:04 -0400 User-Agent: KMail/1.8.1 References: <200508060505.j7655frX045444@blue.virtual-estates.net> <20050809052027.GA43606@misty.eyesbeyond.com> <20050809210751.GA88416@misty.eyesbeyond.com> In-Reply-To: <20050809210751.GA88416@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200508091732.05435.Mikhail.Teterin@murex.com> X-Virus-Scanned: ClamAV devel-20050525/1011/Tue Aug 9 05:20:28 2005 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: gnome@freebsd.org, java@freebsd.org, glewis@freebsd.org, "Mikhail T." , phantom@freebsd.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 21:32:30 -0000 > As it turns out, the plugin and javaws build is specifically disabled on > non-32 bit architectures at the moment. šProbably mostly to do with the > issues we've talked about. šI played around a bit and got it to build, but > there are numerous warnings about casting between pointers and integers > of different sizes. šNot surprisingly the resultant plugin blows up when > you try and use it. > > I think this is going to take a bit of work to get sorted out. Maybe, it -- the plugin -- should be made into a separate port of its own, depending on libjvm? -mi From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 21:35:55 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 9D6D816A442; Tue, 9 Aug 2005 21:35:54 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 615B7442BE; Tue, 9 Aug 2005 21:08:05 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j79L7qLE088436; Tue, 9 Aug 2005 15:07:52 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j79L7p7d088435; Tue, 9 Aug 2005 15:07:51 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 9 Aug 2005 15:07:51 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20050809210751.GA88416@misty.eyesbeyond.com> References: <200508060505.j7655frX045444@blue.virtual-estates.net> <20050809052027.GA43606@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050809052027.GA43606@misty.eyesbeyond.com> User-Agent: Mutt/1.4.2.1i Cc: gnome@FreeBSD.org, java@FreeBSD.org, glewis@FreeBSD.org, phantom@FreeBSD.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 21:35:55 -0000 On Mon, Aug 08, 2005 at 11:20:27PM -0600, Greg Lewis wrote: > On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > > Looking deep into Mozilla's LiveConnect sources (under > > mozilla/sun-java/stubs/include/) I gather, jint really > > wants to be intptr_t -- not a mere int as, for example, > > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > > > Can anyone comment? Thanks! > > I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. > It hasn't gotten to the plugin build yet, but I'll be interested to see > (a) if there are warnings about pointer widths and (b) if it works :). Following up my own e-mail... As it turns out, the plugin and javaws build is specifically disabled on non-32 bit architectures at the moment. Probably mostly to do with the issues we've talked about. I played around a bit and got it to build, but there are numerous warnings about casting between pointers and integers of different sizes. Not surprisingly the resultant plugin blows up when you try and use it. I think this is going to take a bit of work to get sorted out. -- 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 Wed Aug 10 02:17:46 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F373716A44E for ; Wed, 10 Aug 2005 02:17:42 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E7EA4540B for ; Wed, 10 Aug 2005 00:07:20 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 54446A92A; Tue, 9 Aug 2005 17:08:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 51A30A927 for ; Tue, 9 Aug 2005 17:08:14 -0700 (PDT) Date: Tue, 9 Aug 2005 17:08:14 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Message-ID: <20050809165609.W7871@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: additional woes with 1.4.2-p7 on 5.4: Runtime.exec()? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 02:17:46 -0000 Ran into some more problems today. If I configure Resin to use jikes as its compiler, the first time it tries to compile something, the JVM goes unresponsive and begins consuming a large amount of CPU. truss -p shows the JVM in a tight kse_release loop. Ran gcore on it, and got this for a stack trace: #0 0x48097353 in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x48098293 in __error () from /usr/lib/libpthread.so.1 #2 0x4808493a in pthread_yield () from /usr/lib/libpthread.so.1 #3 0x48083a11 in pthread_create () from /usr/lib/libpthread.so.1 #4 0x4808348d in pthread_create () from /usr/lib/libpthread.so.1 #5 0x484609fd in os::create_thread () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #6 0x484aa430 in JavaThread::JavaThread () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #7 0x483f3f68 in JVM_StartThread () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so After frame 7, there's just a load of garbage like this: #8 0x4a3d9200 in ?? () #9 0x082a7698 in ?? () #10 0xbf073be4 in ?? () #11 0x00000001 in ?? () #12 0x4c7d1b10 in ?? () #13 0xbf073bb0 in ?? () #14 0x00000000 in ?? () #15 0xbf073be4 in ?? () Which I assume is probably hotspot stuff executing? Or maybe just garbage in the stack... Eventually it comes to this: #66 0x485749c4 in __JCR_LIST__ () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so #67 0x4a3d00d7 in ?? () #68 0xbf073d00 in ?? () #69 0xbf073d48 in ?? () #70 0x4838b057 in JavaCalls::call_helper () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so Previous frame inner to this frame (corrupt stack?) Again, it looks like there's some trouble at pthread_testcancel, though that could of course be coincidental. If I have Resin use the internal compiler, then there's no problem; I suspect that the trouble may be related to making a Runtime.exec call to start jikes. Nick -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/ From owner-freebsd-java@FreeBSD.ORG Wed Aug 10 07:02:44 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 C67D316A41F; Wed, 10 Aug 2005 07:02:44 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85BA143D53; Wed, 10 Aug 2005 07:02:44 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7A72iIN069254; Wed, 10 Aug 2005 07:02:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7A72iPV069250; Wed, 10 Aug 2005 07:02:44 GMT (envelope-from linimon) Date: Wed, 10 Aug 2005 07:02:44 GMT From: Mark Linimon Message-Id: <200508100702.j7A72iPV069250@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/84672: Fix for the internal browser in java/eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 07:02:44 -0000 Synopsis: Fix for the internal browser in java/eclipse Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 10 07:02:31 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=84672 From owner-freebsd-java@FreeBSD.ORG Wed Aug 10 07:39:54 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E7C2816A41F for ; Wed, 10 Aug 2005 07:39:54 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B01143D48 for ; Wed, 10 Aug 2005 07:39:54 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 53918A929; Wed, 10 Aug 2005 00:40:48 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 52200A928 for ; Wed, 10 Aug 2005 00:40:48 -0700 (PDT) Date: Wed, 10 Aug 2005 00:40:48 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org In-Reply-To: <20050809165609.W7871@turing.morons.org> Message-ID: <20050810003632.F7871@turing.morons.org> References: <20050809165609.W7871@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: additional woes with 1.4.2-p7 on 5.4: Runtime.exec()? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 07:39:55 -0000 Follow-up to this and the other pthread_test_cancel problem I posted earlier... Both problems are corrected by mapping libpthread to libc_r using /etc/libmap.conf, so pretty sure it's a threading-related bug and probably not specific to the JVM. (It seems like the JVM is great at tickling subtle threading bugs.) Of course the downside is that now I'm using libc_r when I'd rather be using libpthread :-/ Nick On Tue, 9 Aug 2005, Nick Johnson wrote: > Ran into some more problems today. If I configure Resin to use jikes as its > compiler, the first time it tries to compile something, the JVM goes > unresponsive and begins consuming a large amount of CPU. truss -p shows the > JVM in a tight kse_release loop. -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/ From owner-freebsd-java@FreeBSD.ORG Wed Aug 10 11:15:20 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6404616A41F for ; Wed, 10 Aug 2005 11:15:20 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85A9643D46 for ; Wed, 10 Aug 2005 11:15:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j7ABFGID022216; Wed, 10 Aug 2005 14:15:16 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j7ABFERv091460; Wed, 10 Aug 2005 14:15:15 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.10.5]); Wed, 10 Aug 2005 14:15:11 +0300 Message-ID: <42F9E1BF.3010903@ebs.gr> Date: Wed, 10 Aug 2005 14:15:11 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nick Johnson References: <20050809165609.W7871@turing.morons.org> <20050810003632.F7871@turing.morons.org> In-Reply-To: <20050810003632.F7871@turing.morons.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: additional woes with 1.4.2-p7 on 5.4: Runtime.exec()? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 11:15:20 -0000 Nick Johnson wrote: > Follow-up to this and the other pthread_test_cancel problem I posted > earlier... > > Both problems are corrected by mapping libpthread to libc_r using > /etc/libmap.conf, so pretty sure it's a threading-related bug and > probably not specific to the JVM. (It seems like the JVM is great at > tickling subtle threading bugs.) > > Of course the downside is that now I'm using libc_r when I'd rather be > using libpthread :-/ > > Nick Have you considered posting this to freebsd-threads? You may get more attention there. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Aug 10 17:11:04 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.ORG 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 1307016A41F for ; Wed, 10 Aug 2005 17:11:04 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8060743D46 for ; Wed, 10 Aug 2005 17:11:02 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j7AHAker078350; Wed, 10 Aug 2005 19:10:46 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j7AHAcvN078349; Wed, 10 Aug 2005 19:10:38 +0200 (CEST) (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: Wed, 10 Aug 2005 19:10:38 +0200 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20050810171038.GA78209@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG, liukang@bjut.edu.cn, jan grant , SimpleRezo Team , Anton Yudin Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: SimpleRezo Team , jan grant , liukang@bjut.edu.cn, Anton Yudin Subject: [PATCH] New rcNG Tomcat startup script X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 17:11:04 -0000 Hi all, I have been working on the Tomcat ports lately and I have come up with the attached patch. It is based on a prior work from Ari Suutari [1] and I think it implements all the requested features. Just install the port and have a look at the header in ${PREFIX}/etc/rc.d/jakarta-tomcat55.sh. This solution is quite flexible as it uses javavmwrapper and allows to set various requirements on the JVM in rc.conf. It handles the same settings that those that were used with the prior rc script and tomcatctl program (e.g. STDOUT_LOG) as well as the ones in the original catalina.sh (e.g. CATALINA_HOME, CATALINA_BASE, CATALINA_TMPDIR). It starts fine and shutdowns fine as well, with no latency, and will run as the user of your choice (will use ${USER} from the port by default, which means 'www'). Last but not least, it supports additional JVM settings (e.g. to increase max heap as there seem to be quite a demand on this one). I also fixed some permissions issue with STDOUT_LOG and STDERR_LOG (they were both 755 when they should have been 664). Now there are lots of permission issues to fix, mostly regarding to Jan Grant's PR [2]. This will be taken care of in the next step. For now I would like volunteers to test and review the patch. I would also be glad if the submitters of the many Tomcat-related PRs and the maintainer itself could give some comments as well. Herve [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/38018 [2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/83434 Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat55/Makefile,v retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 25 Jul 2005 16:10:34 -0000 1.26 +++ Makefile 10 Aug 2005 16:32:27 -0000 @@ -19,6 +19,8 @@ JAVA_VERSION= 1.4+ NO_BUILD= YES +USE_RC_SUBR= yes + .if !defined(NOPORTDOCS) MAN1= ${CONTROL_SCRIPT_NAME}.1 .endif @@ -49,7 +51,6 @@ PID_FILE= /var/run/${APP_SHORTNAME}.pid REPLACE_FILES= ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.c \ ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.1 \ - ${PORTSDIR}/www/jakarta-tomcat4/files/startup.sh \ ${WRKSRC}/conf/server.xml JAR_FILE= bin/bootstrap.jar WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work @@ -58,6 +59,13 @@ CONF_EXT= sample PLIST_SUB+= CONF_EXT=${CONF_EXT} +SUB_FILES= tomcat.sh +SUB_LIST= TOMCAT_VERSION=${MAJOR_VER:S/.//} \ + TOMCAT_HOME=${APP_HOME} \ + USER=${USER} \ + STDOUT_LOG=${STDOUT_LOG} \ + STDERR_LOG=${STDERR_LOG} + .include .if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.4" @@ -149,14 +157,10 @@ -e "/%%JAR_ARGS%%/s//\"start\",/g" \ ${WRKDIR}/daemonctl.c > ${WRKDIR}/daemonctl_.c @cd ${WRKDIR} && ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c - @${CP} ${WRKDIR}/${CONTROL_SCRIPT_NAME} ${CONTROL_SCRIPT} - @${CHOWN} ${USER}:${GROUP} ${CONTROL_SCRIPT} - @${CHMOD} 6754 ${CONTROL_SCRIPT} @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing startup script..." - @${CP} ${WRKDIR}/startup.sh ${STARTUP_SCRIPT} - @${CHMOD} 0544 ${STARTUP_SCRIPT} + @${INSTALL_SCRIPT} ${WRKDIR}/tomcat.sh ${PREFIX}/etc/rc.d/jakarta-tomcat${MAJOR_VER:S/.//}.sh @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @@ -166,8 +170,8 @@ .endif @${ECHO_MSG} -n ">> Creating log files..." - @${INSTALL} /dev/null ${STDOUT_LOG} - @${INSTALL} /dev/null ${STDERR_LOG} + @${INSTALL} -m 664 -o ${USER} -g ${GROUP} /dev/null ${STDOUT_LOG} + @${INSTALL} -m 664 -o ${USER} -g ${GROUP} /dev/null ${STDERR_LOG} @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Creating symlink to tools.jar..." Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat55/pkg-plist,v retrieving revision 1.16 diff -u -r1.16 pkg-plist --- pkg-plist 25 Jul 2005 16:10:34 -0000 1.16 +++ pkg-plist 10 Aug 2005 16:32:28 -0000 @@ -20,7 +20,7 @@ @unexec if cmp -s %D/%%T%%/conf/workers2.properties %D/%%T%%/conf/workers2.properties.%%CONF_EXT%%; then rm -f %D/%%T%%/conf/workers2.properties; else echo If permanently deleting this package, %D/%%T%%/conf/workers2.properties must be removed manually; fi @unexec if cmp -s %D/%%T%%/conf/workers2.properties.minimal %D/%%T%%/conf/workers2.properties.minimal.%%CONF_EXT%%; then rm -f %D/%%T%%/conf/workers2.properties.minimal; else echo If permanently deleting this package, %D/%%T%%/conf/workers2.properties.minimal must be removed manually; fi bin/tomcat55ctl -etc/rc.d/020.jakarta-tomcat55.sh +etc/rc.d/jakarta-tomcat55.sh %%T%%/LICENSE %%T%%/NOTICE %%T%%/RELEASE-NOTES Index: files/tomcat.sh.in =================================================================== RCS file: files/tomcat.sh.in diff -N files/tomcat.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/tomcat.sh.in 10 Aug 2005 16:32:28 -0000 @@ -0,0 +1,114 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: jakarta-tomcat%%TOMCAT_VERSION%% +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: FreeBSD shutdown + +# +# Configuration settings for jakarta-tomcat%%TOMCAT_VERSION%% in /etc/rc.conf: +# +# jakarta_tomcat%%TOMCAT_VERSION%%_enable (bool): +# Set to "NO" by default. +# Set it to "YES" to enable jakarta-tomcat%%TOMCAT_VERSION%% +# +# jakarta_tomcat%%TOMCAT_VERSION%%_flags (str): +# Set to "" by default. +# Extra flags passed to start command +# +# jakarta_tomcat%%TOMCAT_VERSION%%_catalina_home (str) +# Set to "%%TOMCAT_HOME%%" by default. +# Set the CATALINA_HOME variable for the Tomcat process +# +# jakarta_tomcat%%TOMCAT_VERSION%%_catalina_base (str) +# Set to "%%TOMCAT_HOME%%" by default. +# Set the CATALINA_BASE variable for the Tomcat process +# +# jakarta_tomcat%%TOMCAT_VERSION%%_catalina_tmpdir (str) +# Set to "%%TOMCAT_HOME%%/temp" by default. +# Set the CATALINA_TMPDIR variable for the Tomcat process +# +# jakarta_tomcat%%TOMCAT_VERSION%%_stdout_log (str) +# Set to "%%STDOUT_LOG%%" by default. +# Set the location for the Tomcat process log (standard output) +# +# jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log (str) +# Set to "%%STDERR_LOG%%" by default. +# Set the location for the Tomcat process log (error output) +# +# jakarta_tomcat%%TOMCAT_VERSION%%_java_home (str): +# jakarta_tomcat%%TOMCAT_VERSION%%_java_vendor (str): +# jakarta_tomcat%%TOMCAT_VERSION%%_java_version (str): +# jakarta_tomcat%%TOMCAT_VERSION%%_java_os (str): +# Specify the requirements of the Java VM to use. See javavm(1). +# +# jakarta_tomcat%%TOMCAT_VERSION%%_classpath (str): +# Set to "" by default. +# Addtional classes to add to the CLASSPATH +# +# jakarta_tomcat%%TOMCAT_VERSION%%_java_opts (str): +# Set to "" by default. +# Java VM args to use. +# + +jakarta_tomcat%%TOMCAT_VERSION%%_enable="${jakarta_tomcat%%TOMCAT_VERSION%%_enable:-"NO"}" +jakarta_tomcat%%TOMCAT_VERSION%%_java_version="${jakarta_tomcat%%TOMCAT_VERSION%%_java_version:-"%%JAVA_VERSION%%"}" +jakarta_tomcat%%TOMCAT_VERSION%%_user="${jakarta_tomcat%%TOMCAT_VERSION%%_user:-"%%USER%%"}" +jakarta_tomcat%%TOMCAT_VERSION%%_catalina_home="${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_home:-"%%TOMCAT_HOME%%"}" +jakarta_tomcat%%TOMCAT_VERSION%%_catalina_base="${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_base:-"%%TOMCAT_HOME%%"}" +jakarta_tomcat%%TOMCAT_VERSION%%_catalina_tmpdir="${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_tmpdir:-"%%TOMCAT_HOME%%/temp"}" +jakarta_tomcat%%TOMCAT_VERSION%%_stdout_log="${jakarta_tomcat%%TOMCAT_VERSION%%_stdout_log:-"%%STDOUT_LOG%%"}" +jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log="${jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log:-"%%STDERR_LOG%%"}" + +. %%RC_SUBR%% + +name="jakarta_tomcat%%TOMCAT_VERSION%%" +rcvar=`set_rcvar` + +if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" ] ; then + export JAVA_HOME="${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" +fi + +if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_version}" ] ; then + export JAVA_VERSION="${jakarta_tomcat%%TOMCAT_VERSION%%_java_version}" +fi + +if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_vendor}" ] ; then + export JAVA_VENDOR="${jakarta_tomcat%%TOMCAT_VERSION%%_java_vendor}" +fi + +if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_os}" ] ; then + export JAVA_OS="${jakarta_tomcat%%TOMCAT_VERSION%%_java_os}" +fi + +java_command="%%LOCALBASE%%/bin/java \ + ${jakarta_tomcat%%TOMCAT_VERSION%%_java_opts} \ + -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS \ + -classpath %%TOMCAT_HOME%%/bin/bootstrap.jar:%%TOMCAT_HOME%%/bin/commons-logging-api.jar:${jakarta_tomcat%%TOMCAT_VERSION%%_classpath} \ + -Dcatalina.base=${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_base} \ + -Dcatalina.home=${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_home} \ + -Djava.io.tmpdir=${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_tmpdir} \ + org.apache.catalina.startup.Bootstrap" + +log_args=">> ${jakarta_tomcat%%TOMCAT_VERSION%%_stdout_log} \ + 2>> ${jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log} " + +procname="java" +required_files="${jakarta_tomcat%%TOMCAT_VERSION%%_catalina_home}/conf/server.xml" + +command="/usr/sbin/daemon" +flags="${command} ${java_command} start ${jakarta_tomcat%%TOMCAT_VERSION%%_flags} ${log_args}" + +stop_cmd="jakarta_tomcat%%TOMCAT_VERSION%%_stop" + +jakarta_tomcat%%TOMCAT_VERSION%%_stop() { + echo "Stopping ${name}." + ${java_command} stop + wait_for_pids +} + +load_rc_config "${name}" +run_rc_command "$1" From owner-freebsd-java@FreeBSD.ORG Thu Aug 11 04:05:41 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 84EAF16A41F; Thu, 11 Aug 2005 04:05:41 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B44443D46; Thu, 11 Aug 2005 04:05:40 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7B45evf026599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Aug 2005 00:05:40 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7B45e6P010506; Thu, 11 Aug 2005 00:05:40 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4E255512BD; Thu, 11 Aug 2005 00:05:39 -0400 (EDT) Date: Thu, 11 Aug 2005 00:05:39 -0400 From: Kris Kennaway To: java@FreeBSD.org Message-ID: <20050811040538.GA84929@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: nork@FreeBSD.org Subject: [ports-i386@FreeBSD.org: eclipse-viPlugin-1.12.1 failed on i386 5] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 04:05:41 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FYI; can you please investigate and/or report to the developers? If you are already aware of this problem but do not yet have a fix, please mark the port BROKEN in the appropriate case, so that users do not unexpectedly encounter it. See http://pointyhat.freebsd.org for the full log. Thanks, Kris ----- Forwarded message from User Ports-i386 ----- X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.org X-Original-To: kris@FreeBSD.org Delivered-To: kris@FreeBSD.org Date: Thu, 11 Aug 2005 03:53:52 GMT From: User Ports-i386 To: krion@FreeBSD.org, kris@FreeBSD.org Subject: eclipse-viPlugin-1.12.1 failed on i386 5 X-UIDL: 5)*#!do5!!OJ#!!,pV!! X-Bogosity: Ham, tests=3Dbogofilter, spamicity=3D0.000000, version=3D0.94.14 building eclipse-viPlugin-1.12.1 on gohan36.freebsd.org in directory /x/tmp/5/chroot/1414 maintained by: java@freebsd.org port directory: /usr/ports/java/eclipse-viplugin build started at Thu Aug 11 03:53:42 UTC 2005 FETCH_DEPENDS=3D PATCH_DEPENDS=3D EXTRACT_DEPENDS=3Dunzip-5.52_1.tbz BUILD_DEPENDS=3D RUN_DEPENDS=3DORBit2-2.12.2.tbz atk-1.9.1.tbz bitstream-vera-1.10_1.tbz cai= ro-0.4.0.tbz cdparanoia-3.9.8_7.tbz docbook-sk-4.1.2_3.tbz docbook-xml-4.2_= 1.tbz docbook-xsl-1.68.1.tbz eclipse-3.1.tbz esound-0.2.36.tbz expat-1.95.8= _3.tbz fam-2.6.9_6.tbz fontconfig-2.2.3,1.tbz freetype2-2.1.10_1.tbz gconf2= -2.10.1.tbz gettext-0.14.5.tbz glib-2.6.6.tbz gnome-icon-theme-2.10.1_1.tbz= gnomehier-2.0_7.tbz gnomekeyring-0.4.3_1.tbz gnomemimedata-2.4.2.tbz gnome= vfs2-2.10.1.tbz gtk-2.6.9.tbz hicolor-icon-theme-0.5.tbz howl-1.0.0.tbz int= ltool-0.34.1.tbz javavmwrapper-2.0_5.tbz jdk-1.4.2p7_1.tbz jpeg-6b_3.tbz li= bIDL-0.8.6.tbz libXft-2.1.7.tbz libart_lgpl2-2.3.17.tbz libaudiofile-0.2.6.= tbz libbonobo-2.10.0.tbz libbonoboui-2.10.0.tbz libglade2-2.5.1_2.tbz libgn= ome-2.10.1.tbz libgnomecanvas-2.10.2_1.tbz libgnomeui-2.10.1_1.tbz libiconv= -1.9.2_1.tbz libpixman-0.1.6.tbz libxml2-2.6.20.tbz libxslt-1.1.14.tbz linc= -1.0.3_3.tbz p5-XML-Parser-2.34_1.tbz pango-1.8.2.tbz perl-5.8.7.tbz pkgcon= fig-0.17.2.tbz pn g-1.2.8_2.tbz popt-1.7.tbz python-2.4.1_3.tbz samba-libsmbclient-3.0.14a_2= .tbz scrollkeeper-0.3.14_1,1.tbz sdocbook-xml-4.1.2.5_2.tbz shared-mime-inf= o-0.16_1.tbz startup-notification-0.8_1.tbz tiff-3.7.3.tbz urwfonts-1.0.tbz= xmlcatmgr-2.2.tbz xorg-fonts-encodings-6.8.2.tbz xorg-fonts-truetype-6.8.2= .tbz xorg-libraries-6.8.2.tbz add_pkg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D> viPlugin_1.12.1_E30_trial.zip doesn't seem to exist in /tmp/distfiles/= eclipse. =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/eclipse/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/eclipse/viP= lugin_1.12.1_E30_trial.zip: File unavailable (e.g., file not found, no acce= ss) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distf= iles/eclipse/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/eclipse/viPlugin_1= .12.1_E30_trial.zip: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from http://www.satokar.com/viplugin/files/. fetch: http://www.satokar.com/viplugin/files/viPlugin_1.12.1_E30_trial.zip:= Not Found =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/eclipse/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/eclipse/viP= lugin_1.12.1_E30_trial.zip: File unavailable (e.g., file not found, no acce= ss) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distf= iles/eclipse/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/eclipse/viPlugin_1= .12.1_E30_trial.zip: File unavailable (e.g., file not found, no access) =3D> Couldn't fetch it - please try to retrieve this =3D> port manually into /tmp/distfiles/eclipse and try again. *** Error code 1 Stop in /a/ports/java/eclipse-viplugin. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build ended at Thu Aug 11 03:53:49 UTC 2005 ----- End forwarded message ----- --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC+s6SWry0BWjoQKURAsoGAKDfRtq1lpTk3h4+op8zUR7q9mNo9QCeL7nH mXr/XndeyNk0Qwzbn9bV9DU= =8tAQ -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 11 22:18:55 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 01BF416A44C for ; Thu, 11 Aug 2005 22:18:55 +0000 (GMT) (envelope-from myloveforyou@loveable.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C8A43D46 for ; Thu, 11 Aug 2005 22:18:54 +0000 (GMT) (envelope-from myloveforyou@loveable.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 613FA18001BF for ; Thu, 11 Aug 2005 22:18:54 +0000 (GMT) X-OB-Received: from unknown (205.158.62.81) by wfilter.us4.outblaze.com; 11 Aug 2005 22:18:54 -0000 Received: by ws1-2.us4.outblaze.com (Postfix, from userid 1001) id 5914F1F50B1; Thu, 11 Aug 2005 22:18:54 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain MIME-Version: 1.0 Received: from [80.231.5.236] by ws1-2.us4.outblaze.com with http for myloveforyou@loveable.com; Thu, 11 Aug 2005 17:18:54 -0500 From: "Lukman Jaji" To: freebsd-java@freebsd.org Date: Thu, 11 Aug 2005 17:18:54 -0500 X-Originating-Ip: 80.231.5.236 X-Originating-Server: ws1-2.us4.outblaze.com Message-Id: <20050811221854.5914F1F50B1@ws1-2.us4.outblaze.com> Subject: Barcode help X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 22:18:56 -0000 Hi all, I am sorry i have not been so active for almost a yr now. I need u guys = to help me with a little info on barcodes. I have an inventory management software and i need to incorporate a barcod= e printing capanilities on it. Can i get a code snippet to do this,,,,any o= f the barcodes types of Code 39, Code 128B, etc. Also is there a special ba= rcode printer or the barcode scanner would recognise codes printer from a H= P printer or laser printer. any help would be appreciated... Jaji --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm From owner-freebsd-java@FreeBSD.ORG Fri Aug 12 08:17:04 2005 Return-Path: X-Original-To: java@freebsd.org 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 4971A16A41F; Fri, 12 Aug 2005 08:17:04 +0000 (GMT) (envelope-from micke@ebbmar.com) Received: from av8-2-sn3.vrr.skanova.net (av8-2-sn3.vrr.skanova.net [81.228.9.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E99643D45; Fri, 12 Aug 2005 08:17:03 +0000 (GMT) (envelope-from micke@ebbmar.com) Received: by av8-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 001FF38088; Fri, 12 Aug 2005 10:17:01 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av8-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 9BD9137E8B; Fri, 12 Aug 2005 10:17:01 +0200 (CEST) Received: from ebbmar.com (h42n3fls305o1052.telia.com [81.226.144.42]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 3AB9837E44; Fri, 12 Aug 2005 10:17:00 +0200 (CEST) Received: from ebbmar.com (localhost [127.0.0.1]) by ebbmar.com (8.13.4/8.12.9) with ESMTP id j7C8HBkQ077808; Fri, 12 Aug 2005 10:17:12 +0200 (CEST) (envelope-from micke@ebbmar.com) Received: (from micke@localhost) by ebbmar.com (8.13.4/8.12.9/Submit) id j7C8HB4m077807; Fri, 12 Aug 2005 10:17:11 +0200 (CEST) Date: Fri, 12 Aug 2005 10:17:11 +0200 From: Micael Ebbmar To: lioux@freebsd.org Message-ID: <20050812081710.GB44862@grendel> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailer: Mutt http://www.mutt.org/ X-Uptime: 11 days X-URL: http://www.ebbmar.com/ X-PGP-Key: http://public.ebbmar.com/pubkey.asc X-Location: Europe, Sweden, Trollhattan Cc: java@freebsd.org Subject: Azureus does not compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 08:17:04 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I have been using Azureus 2.2.06 (latest port) on FreeBSD 6.0 CURRENT for quite a while, but last update of Eclipse 3.1 made Azureus break. I have tried a complete reinstall of Eclipse and Azureus, but the build fails. See attached file for info. I deinstalled both ports, then tried to build first Eclipse and then Azuerus. Eclipse built went without a hitch, but when building Azureus, it complains about some packages it can not find. I am not very skilled at Java, so hopefully it's a very trivial problem which can be solved without too much effort. Any hints appriciated! TIA, Mike -- Micael Ebbmar micke@ebbmar.com| /~\ The ASCII | System Technician at http://www.ebbmar.com | \ / Ribbon Campaign | Trollhattan University | X Against HTML | Sweden | / \ Email! | --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="azuerus_build_fail.log" Script started on Thu Aug 11 21:19:15 2005 ===> Building for azureus-2.2.0.2_6 Buildfile: build.xml init: compile: [javac] Compiling 1485 source files to /usr/ports/net/azureus/work/build [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/AbstractIView.java:7: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/IView.java:7: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/AbstractIView.java:21: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.ui.swt.views.AbstractIView [javac] public void initialize(Composite composite){ [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/AbstractIView.java:28: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.ui.swt.views.AbstractIView [javac] public Composite getComposite(){ return null; } [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/IView.java:21: cannot find symbol [javac] symbol : class Composite [javac] location: interface org.gudy.azureus2.ui.swt.views.IView [javac] public void initialize(Composite composite); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/views/IView.java:28: cannot find symbol [javac] symbol : class Composite [javac] location: interface org.gudy.azureus2.ui.swt.views.IView [javac] public Composite getComposite(); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/SWTManager.java:17: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/SWTManager.java:18: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Image; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/SWTManager.java:37: cannot find symbol [javac] symbol : class Display [javac] location: interface org.gudy.azureus2.plugins.ui.SWT.SWTManager [javac] public Display getDisplay(); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/SWTManager.java:46: cannot find symbol [javac] symbol : class Image [javac] location: interface org.gudy.azureus2.plugins.ui.SWT.SWTManager [javac] public GraphicSWT createGraphic(Image img); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/GraphicSWT.java:27: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Image; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/GraphicSWT.java:38: cannot find symbol [javac] symbol : class Image [javac] location: interface org.gudy.azureus2.plugins.ui.SWT.GraphicSWT [javac] public Image getImage(); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/SWT/GraphicSWT.java:46: cannot find symbol [javac] symbol : class Image [javac] location: interface org.gudy.azureus2.plugins.ui.SWT.GraphicSWT [javac] public boolean setImage(Image img); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:28: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.SWT; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:29: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:30: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridData; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:31: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridLayout; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:32: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:33: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Button; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:34: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Event; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:35: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Listener; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/config/ConfigSectionSWT.java:24: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:371: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.core3.internat.update.UpdateLanguagePlugin.ConfigSectionUpdateLang [javac] public Composite configSectionCreate(final Composite parent) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/core3/internat/update/UpdateLanguagePlugin.java:371: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.core3.internat.update.UpdateLanguagePlugin.ConfigSectionUpdateLang [javac] public Composite configSectionCreate(final Composite parent) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/config/ConfigSectionSWT.java:39: cannot find symbol [javac] symbol : class Composite [javac] location: interface org.gudy.azureus2.plugins.ui.config.ConfigSectionSWT [javac] public Composite configSectionCreate(Composite parent); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/plugins/ui/config/ConfigSectionSWT.java:39: cannot find symbol [javac] symbol : class Composite [javac] location: interface org.gudy.azureus2.plugins.ui.config.ConfigSectionSWT [javac] public Composite configSectionCreate(Composite parent); [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/download/DownloadManagerImpl.java:33: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/GraphicSWTImpl.java:27: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Image; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/GraphicSWTImpl.java:34: cannot find symbol [javac] symbol : class Image [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.GraphicSWTImpl [javac] Image img; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/GraphicSWTImpl.java:36: cannot find symbol [javac] symbol : class Image [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.GraphicSWTImpl [javac] public GraphicSWTImpl(Image newImage) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/GraphicSWTImpl.java:40: cannot find symbol [javac] symbol : class Image [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.GraphicSWTImpl [javac] public Image getImage() { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/GraphicSWTImpl.java:44: cannot find symbol [javac] symbol : class Image [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.GraphicSWTImpl [javac] public boolean setImage(Image newImage) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/SWTManagerImpl.java:19: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Image; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/SWTManagerImpl.java:20: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/SWTManagerImpl.java:51: cannot find symbol [javac] symbol : class Display [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.SWTManagerImpl [javac] public Display getDisplay() { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/SWT/SWTManagerImpl.java:55: cannot find symbol [javac] symbol : class Image [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.SWT.SWTManagerImpl [javac] public GraphicSWT createGraphic(Image img) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:32: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.*; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:33: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Control; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:34: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:35: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:36: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.*; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:237: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.model.BasicPluginConfigModelImpl [javac] Composite parent ) [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/model/BasicPluginConfigModelImpl.java:235: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.model.BasicPluginConfigModelImpl [javac] public Composite [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:26: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.SWT; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:27: package org.eclipse.swt.custom does not exist [javac] import org.eclipse.swt.custom.StyledText; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:28: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridData; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:29: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridLayout; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:30: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:31: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:32: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:33: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.ProgressBar; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:52: cannot find symbol [javac] symbol : class Display [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] Display display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:53: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] Composite panel; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:54: cannot find symbol [javac] symbol : class ProgressBar [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] ProgressBar progress; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:29: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:30: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:31: package org.eclipse.swt.events does not exist [javac] import org.eclipse.swt.events.MouseListener; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:32: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Color; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:33: package org.eclipse.swt.graphics does not exist [javac] import org.eclipse.swt.graphics.Cursor; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:34: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridData; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedWidget.java:29: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Widget; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:57: cannot find symbol [javac] symbol : class StyledText [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] StyledText log; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:68: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] public Composite getComposite() { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/pluginsimpl/local/ui/view/BasicPluginViewImpl.java:72: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.pluginsimpl.local.ui.view.BasicPluginViewImpl [javac] public void initialize(Composite composite) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:40: cannot find symbol [javac] symbol : class Label [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] protected Label label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:46: cannot find symbol [javac] symbol : class Composite [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] Composite composite, [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:62: cannot find symbol [javac] symbol : class GridData [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] GridData gd ) [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:100: cannot find symbol [javac] symbol : class MouseListener [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] public void addMouseListener(MouseListener listener) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:104: cannot find symbol [javac] symbol : class Color [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] public void setForeground(Color color) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedLabel.java:108: cannot find symbol [javac] symbol : class Cursor [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedLabel [javac] public void setCursor(Cursor cursor) { [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedWidget.java:34: cannot find symbol [javac] symbol : class Widget [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedWidget [javac] protected Widget widget; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedWidget.java:39: cannot find symbol [javac] symbol : class Widget [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedWidget [javac] Widget _widget ) [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/components/BufferedWidget.java:44: cannot find symbol [javac] symbol : class Widget [javac] location: class org.gudy.azureus2.ui.swt.components.BufferedWidget [javac] public Widget [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/Alerts.java:27: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.SWT; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/Alerts.java:28: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:23: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.SWT; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:24: package org.eclipse.swt.custom does not exist [javac] import org.eclipse.swt.custom.StyledText; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:25: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.FormAttachment; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:26: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.FormData; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:27: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.FormLayout; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:28: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:29: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Button; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:30: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:31: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Event; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:32: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Listener; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:33: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Shell; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:53: cannot find symbol [javac] symbol : class Display [javac] location: class org.gudy.azureus2.ui.swt.BlockedIpsWindow [javac] Display display, [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/BlockedIpsWindow.java:199: cannot find symbol [javac] symbol : class Shell [javac] location: class org.gudy.azureus2.ui.swt.BlockedIpsWindow [javac] Shell mainWindow) [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:7: package org.eclipse.swt does not exist [javac] import org.eclipse.swt.SWT; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:8: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridData; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:9: package org.eclipse.swt.layout does not exist [javac] import org.eclipse.swt.layout.GridLayout; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:10: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Button; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:11: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Composite; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:12: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Display; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:13: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Event; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:14: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Label; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:15: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Listener; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:16: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Shell; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:17: package org.eclipse.swt.widgets does not exist [javac] import org.eclipse.swt.widgets.Text; [javac] ^ [javac] /usr/ports/net/azureus/work/org/gudy/azureus2/ui/swt/CategoryAdderWindow.java:30: cannot find symbol [javac] symbol : class Display [javac] location: class org.gudy.azureus2.ui.swt.CategoryAdderWindow [javac] public CategoryAdderWindow(final Display display) { [javac] ^ [javac] Note: * uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 100 errors BUILD FAILED /usr/ports/net/azureus/work/build.xml:22: Compile failed; see the compiler error output for details. Total time: 1 minute 5 seconds *** Error code 1 Stop in /usr/ports/net/azureus. Script done on Thu Aug 11 21:20:30 2005 --+QahgC5+KEYLbs62-- From owner-freebsd-java@FreeBSD.ORG Fri Aug 12 11:48:20 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7CEE116A41F for ; Fri, 12 Aug 2005 11:48:20 +0000 (GMT) (envelope-from aturetta@bestunion.it) Received: from ms007msg.fastweb.it (ms007msg.fastweb.it [213.140.2.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7895D43D45 for ; Fri, 12 Aug 2005 11:48:19 +0000 (GMT) (envelope-from aturetta@bestunion.it) Received: from mail.bestunion.it (81.208.52.77) by ms007msg.fastweb.it (7.2.060.2) id 42F230590005C664 for freebsd-java@freebsd.org; Fri, 12 Aug 2005 13:48:18 +0200 Received: from [192.168.42.11] (81-174-12-226.f5.ngi.it [81.174.12.226]) (authenticated bits=0) by mail.bestunion.it (8.13.4/8.13.4) with ESMTP id j7CBkfH1002858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Aug 2005 13:46:48 +0200 (CEST) (envelope-from aturetta@bestunion.it) Message-ID: <42FC8C1D.6080805@bestunion.it> Date: Fri, 12 Aug 2005 13:46:37 +0200 From: Angelo Turetta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 X-Accept-Language: it, en-us, en MIME-Version: 1.0 To: Lukman Jaji References: <20050811221854.5914F1F50B1@ws1-2.us4.outblaze.com> In-Reply-To: <20050811221854.5914F1F50B1@ws1-2.us4.outblaze.com> Content-Type: multipart/mixed; boundary="------------030308060208080902070709" X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mail.bestunion.it X-Virus-Status: Clean X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL, BAYES_50, J_CHICKENPOX_54 autolearn=no version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.bestunion.it X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: Barcode help X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 11:48:20 -0000 This is a multi-part message in MIME format. --------------030308060208080902070709 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lukman Jaji wrote: > Hi all, > > I am sorry i have not been so active for almost a yr now. I need u guys to help me with a little info on barcodes. > I have an inventory management software and i need to incorporate a barcode printing capanilities on it. Can i get a code snippet to do this,,,,any of the barcodes types of Code 39, Code 128B, etc. Here is a small sample using the library iText to produce PDF files containing barcodes. It's a small quick&dirt program I did when I had to help my wife printing some sheets full of barcode labels (she owns a retail shop) Just unzip in an empty dir, and put itext-1.2.1.jar in the same directory (if you get a different version, edit build.xml at line 114 accordingly), then 'ant test' should produce a PDF file. Barcode printers are generally wired via RS232 or USB: you can use them from a Java program in FreeBSD, but I think you need to find (or write yourself) a library implementing the specific protocol of your printer. Angelo. --------------030308060208080902070709-- From owner-freebsd-java@FreeBSD.ORG Sat Aug 13 17:18:36 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 4457D16A41F; Sat, 13 Aug 2005 17:18:36 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D564943D45; Sat, 13 Aug 2005 17:18:35 +0000 (GMT) (envelope-from krion@voodoo.oberon.net) Received: from krion by voodoo.oberon.net with local (Exim 4.52 (FreeBSD)) id 1E3zeQ-0000qr-Qc; Sat, 13 Aug 2005 19:18:30 +0200 Date: Sat, 13 Aug 2005 19:18:30 +0200 From: Kirill Ponomarew To: java@FreeBSD.org Message-ID: <20050813171830.GG737@voodoo.oberon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-NCC-Regid: de.oberon X-NIC-HDL: KP869-RIPE Keywords: 579279786 Cc: nork@FreeBSD.org Subject: [ports-i386@FreeBSD.org: eclipse-viPlugin-1.12.1 failed on i386 6] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 17:18:36 -0000 FYI; can you please investigate and/or report to the developers? If you are already aware of this problem but do not yet have a fix, please mark the port BROKEN in the appropriate case, so that users do not unexpectedly encounter it. See http://pointyhat.freebsd.org for the full log. Thanks. ----- Forwarded message from User Ports-i386 ----- Date: Sat, 13 Aug 2005 17:17:46 GMT =46rom: User Ports-i386 To: krion@FreeBSD.org, kris@FreeBSD.org Subject: eclipse-viPlugin-1.12.1 failed on i386 6 building eclipse-viPlugin-1.12.1 on gohan16.freebsd.org in directory /x/tmp/6/chroot/30383 maintained by: java@freebsd.org port directory: /usr/ports/java/eclipse-viplugin build started at Sat Aug 13 17:17:39 UTC 2005 FETCH_DEPENDS=3D PATCH_DEPENDS=3D EXTRACT_DEPENDS=3Dunzip-5.52_1.tbz BUILD_DEPENDS=3D RUN_DEPENDS=3DORBit2-2.12.2.tbz atk-1.9.1.tbz bitstream-vera-1.10_1.tbz cai= ro-0.4.0.tbz cdparanoia-3.9.8_7.tbz docbook-sk-4.1.2_3.tbz docbook-xml-4.2_= 1.tbz docbook-xsl-1.68.1.tbz eclipse-3.1.tbz esound-0.2.36.tbz expat-1.95.8= _3.tbz fam-2.6.9_6.tbz fontconfig-2.2.3,1.tbz freetype2-2.1.10_1.tbz gconf2= -2.10.1.tbz gettext-0.14.5.tbz glib-2.6.6.tbz gnome-icon-theme-2.10.1_1.tbz= gnomehier-2.0_7.tbz gnomekeyring-0.4.3_1.tbz gnomemimedata-2.4.2.tbz gnome= vfs2-2.10.1.tbz gtk-2.6.9.tbz hicolor-icon-theme-0.5.tbz howl-1.0.0.tbz int= ltool-0.34.1.tbz javavmwrapper-2.0_5.tbz jdk-1.4.2p7_1.tbz jpeg-6b_3.tbz li= bIDL-0.8.6.tbz libXft-2.1.7.tbz libart_lgpl2-2.3.17.tbz libaudiofile-0.2.6.= tbz libbonobo-2.10.0.tbz libbonoboui-2.10.0.tbz libglade2-2.5.1_2.tbz libgn= ome-2.10.1.tbz libgnomecanvas-2.10.2_1.tbz libgnomeui-2.10.1_1.tbz libiconv= -1.9.2_1.tbz libpixman-0.1.6.tbz libxml2-2.6.20.tbz libxslt-1.1.14.tbz linc= -1.0.3_3.tbz p5-XML-Parser-2.34_1.tbz pango-1.8.2.tbz perl-5.8.7.tbz pkgcon= fig-0.17.2.tbz pn g-1.2.8_2.tbz popt-1.7.tbz python-2.4.1_3.tbz samba-libsmbclient-3.0.14a_2= =2Etbz scrollkeeper-0.3.14_1,1.tbz sdocbook-xml-4.1.2.5_2.tbz shared-mime-i= nfo-0.16_1.tbz startup-notification-0.8_1.tbz tiff-3.7.3.tbz urwfonts-1.0.t= bz xmlcatmgr-2.2.tbz xorg-fonts-encodings-6.8.2.tbz xorg-fonts-truetype-6.8= =2E2.tbz xorg-libraries-6.8.2.tbz add_pkg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D> viPlugin_1.12.1_E30_trial.zip doesn't seem to exist in /tmp/distfiles/= eclipse. =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/eclipse/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/eclipse/viP= lugin_1.12.1_E30_trial.zip: File unavailable (e.g., file not found, no acce= ss) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distf= iles/eclipse/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/eclipse/viPlugin_1= =2E12.1_E30_trial.zip: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from http://www.satokar.com/viplugin/files/. fetch: http://www.satokar.com/viplugin/files/viPlugin_1.12.1_E30_trial.zip:= Not Found =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/eclipse/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/eclipse/viP= lugin_1.12.1_E30_trial.zip: File unavailable (e.g., file not found, no acce= ss) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distf= iles/eclipse/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/eclipse/viPlugin_1= =2E12.1_E30_trial.zip: File unavailable (e.g., file not found, no access) =3D> Couldn't fetch it - please try to retrieve this =3D> port manually into /tmp/distfiles/eclipse and try again. *** Error code 1 Stop in /a/ports/java/eclipse-viplugin. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build ended at Sat Aug 13 17:17:44 UTC 2005 ----- End forwarded message ----- -Kirill