From owner-freebsd-java@FreeBSD.ORG Sun Oct 26 04:39:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE2A516A4B3 for ; Sun, 26 Oct 2003 04:39:38 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF97943FAF for ; Sun, 26 Oct 2003 04:39:37 -0800 (PST) (envelope-from rootman22@comcast.net) Received: from 12-209-185-111.client.attbi.com ([12.209.185.111]) by comcast.net (sccrmhc11) with SMTP id <2003102612393601100c4b6le>; Sun, 26 Oct 2003 12:39:36 +0000 From: Joe Warner To: Antony T Curtis Date: Sun, 26 Oct 2003 05:39:35 -0700 User-Agent: KMail/1.5.4 References: <200310250821.24466.rootman22@comcast.net> <200310251702.27618.rootman22@comcast.net> <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310260539.35434.rootman22@comcast.net> cc: java@freebsd.org Subject: Re: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 12:39:38 -0000 On Saturday 25 October 2003 06:08 pm, Antony T Curtis wrote: > On Sun, 2003-10-26 at 00:02, Joe Warner wrote: > > On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote: > > > On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > > > > Hi, > > > > > > > > Does anyone know how to control the number of Java processes that get > > > > spawned when running one of the variants in /usr/ports/java..? I'm > > > > running linux-ibm-jdk1.3.1 and when I launch > > > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java > > > > and it's bringing my system to it's knees! There was an older version > > > > that I used to run that only spawned 1 process and my system could > > > > handle it fine. > > > > > > Each thread in a Linux binary becomes 1 process under FreeBSD. > > > > > > > I've looked through the supplied documentation, this list and even > > > > Google and can't find any instructions on how to limit these > > > > processes. > > > > > > Try using -classic option. > > > > What kind of option is that? Java command line or make option? > > The first option on the java command line. Oh ok.. > > Alternatively, you can use JDK1.3 (Diablo) on FreeBSD, it will only > create one process. Unfortunately I may have to use one of the linux ports of java because I'm using it in conjunction with the bbas400 plugin for Big Brother which is a Java BB monitoring agent for IBM AS/400 (e-server i-series). I already tried /usr/ports/java/jdk13 and received errors because of incompatibilities with bbas400's jar file which has to be obtained from IBM. I'll try Diablo and see if it will work. Thanks for your help. Joe From owner-freebsd-java@FreeBSD.ORG Sun Oct 26 07:40:13 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4311416A4B3; Sun, 26 Oct 2003 07:40:13 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A4B043F93; Sun, 26 Oct 2003 07:40:08 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h9QFdcDK004986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Oct 2003 15:39:52 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h9QFdVXC004977; Sun, 26 Oct 2003 15:39:31 GMT (envelope-from matthew) Date: Sun, 26 Oct 2003 15:39:31 +0000 From: Matthew Seaman To: freebsd-ports@freebsd.org, freebsd-java@freebsd.org Message-ID: <20031026153931.GA4603@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: freebsd-ports@freebsd.org, freebsd-java@freebsd.org, des@FreeBSD.org, dglo@ssec.wisc.edu, greg@greg.rim.or.jp, jb.quenot@caraldi.com, joshua@roughtrade.net, kevlo@FreeBSD.org, toha@toha.org.ua, wjv@FreeBSD.org, znerd@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk X-Mailman-Approved-At: Sun, 26 Oct 2003 08:36:43 -0800 cc: toha@toha.org.ua cc: greg@greg.rim.or.jp cc: kevlo@freebsd.org cc: wjv@freebsd.org cc: des@freebsd.org Subject: Javadocs and pkg-plist X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 15:40:13 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear ports, Greg Lewis pointed out to me a problem with a new port I had submitted (ports/57753), and on investigation it turns out that the same thing may affect several ports in the tree. The affected ports will be those that install api documentation which they generate by running javadoc(1) themselves, and that can be installed using one of several different JDK versions, and that don't build their pkg-plist dynamically. It turns out that javadoc from Java 1.4.x will generate two extra files compared to javadoc from Java 1.3.x: 'allclasses-noframe.html' and 'constant-values.html'. These may or may not be listed in the pkg-plist for the port, depending on which version the maintainer happened to be using at the time. I haven't been able to test any earlier Java versions for similar problems. Hardly a world-shaking problem but worth sorting. This, for example, is the fix I came up with: diff -Nur mysql-connector-java.bak/Makefile mysql-connector-java/Makefile --- mysql-connector-java.bak/Makefile Sun Oct 26 09:50:28 2003 +++ mysql-connector-java/Makefile Thu Oct 23 14:40:49 2003 @@ -42,6 +42,14 @@ JARFILE=3D ${DISTNAME}-bin.jar JDCLASSPATH=3D ${WRKSRC}:${WRKSRC}/lib/jdbc2_0-stdext.jar:${WRKSRC}/lib/jt= a-spec1_0_1.jar:${CLASSPATH} =20 +.include + +.if ${USE_JAVA:C/[.+]//g} >=3D 14 +PLIST_SUB+=3D JAVA14=3D"" +.else +PLIST_SUB+=3D JAVA14=3D"@comment " +.endif + do-build: @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} .if !defined(NOPORTDOCS) @@ -73,4 +81,4 @@ @${ECHO_CMD} " [ DONE ]" .endif =20 -.include +.include diff -Nur mysql-connector-java.bak/pkg-plist mysql-connector-java/pkg-plist --- mysql-connector-java.bak/pkg-plist Sun Oct 26 09:58:55 2003 +++ mysql-connector-java/pkg-plist Thu Oct 23 14:11:50 2003 @@ -2,7 +2,7 @@ share/java/classes/jta-spec1_0_1.jar share/java/classes/mysql-connector-java.jar %%PORTDOCS%%%%DOCSDIR%%/javadoc/allclasses-frame.html -%%PORTDOCS%%%%DOCSDIR%%/javadoc/allclasses-noframe.html +%%JAVA14%%%%PORTDOCS%%%%DOCSDIR%%/javadoc/allclasses-noframe.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/AssertionFailedException.ht= ml %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/Blob.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/Buffer.html @@ -54,7 +54,7 @@ %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/package-frame.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/package-summary.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/com/mysql/jdbc/package-tree.html -%%PORTDOCS%%%%DOCSDIR%%/javadoc/constant-values.html +%%JAVA14%%%%PORTDOCS%%%%DOCSDIR%%/javadoc/constant-values.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/deprecated-list.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/help-doc.html %%PORTDOCS%%%%DOCSDIR%%/javadoc/index-all.html @@ -81,4 +81,3 @@ %%PORTDOCS%%@dirrm %%DOCSDIR%%/javadoc/com %%PORTDOCS%%@dirrm %%DOCSDIR%%/javadoc %%PORTDOCS%%@dirrm %%DOCSDIR%% - By my count there are some 60 ports in the tree (as of about 10.00am UTC today) which manifestly install javadoc derived documentation -- that is, they include 'allclasses-frame.html' in their pkg-plist files. Of those, 39 seem to be installing pre-generated javadocs straight from their distfiles (they have NO_BUILD=3Dyes or they have no RUN/BUILD dependency on java) or they depend on a specific java version. The remaining 21 are potentially affected: 1) ant-xinclude-task-0.2 ORIGIN: textproc/ant-xinclude-task MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.1+ 2) apache-jserv-1.1.2_1 ORIGIN: www/apache-jserv MAINTAINER: greg@greg.rim.or.jp USE_JAVA: 1.1+ 3) cocoon-1.8.2_3 ORIGIN: textproc/cocoon MAINTAINER: ports@FreeBSD.org USE_JAVA: 1.1+ 4) emboss-2.4.1_2 ORIGIN: biology/emboss MAINTAINER: wjv@FreeBSD.org USE_JAVA: 1.3+ 5) jakarta-commons-beanutils-1.6.1 ORIGIN: java/jakarta-commons-beanutils MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 6) jakarta-commons-cli-1.0 ORIGIN: java/jakarta-commons-cli MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 7) jakarta-commons-collections-2.1 ORIGIN: java/jakarta-commons-collections MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 8) jakarta-commons-dbcp-1.0 ORIGIN: java/jakarta-commons-dbcp MAINTAINER: toha@toha.org.ua USE_JAVA: 1.2+ 9) jakarta-commons-lang-1.0.1 ORIGIN: java/jakarta-commons-lang MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 10) jakarta-commons-logging-1.0.3 ORIGIN: java/jakarta-commons-logging MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 11) jakarta-commons-pool-1.0.1 ORIGIN: java/jakarta-commons-pool MAINTAINER: toha@toha.org.ua USE_JAVA: 1.2+ 12) java-checkstyle-3.1 ORIGIN: java/java-checkstyle MAINTAINER: dglo@ssec.wisc.edu USE_JAVA: 1.3+ 13) jboss-3.2.1_1 ORIGIN: java/jboss3 MAINTAINER: des@FreeBSD.org USE_JAVA: 1.3+ 14) jdom-1.0b9 ORIGIN: java/jdom MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 15) jump-0.4.1_1 ORIGIN: java/jump MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 16) resin-2.1.11 ORIGIN: www/resin2 MAINTAINER: jb.quenot@caraldi.com USE_JAVA: 1.2+ 17) spread-j-3.17.0_1 ORIGIN: net/spread-j MAINTAINER: joshua@roughtrade.net USE_JAVA: 1.2+ 18) xalan-j-2.5.1 ORIGIN: java/xalan-j MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 19) xerces-j-2.2.0 ORIGIN: textproc/xerces-j MAINTAINER: kevlo@FreeBSD.org USE_JAVA: 1.3+ 20) xincluder-1.0.d11_1 ORIGIN: textproc/xincluder MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.2+ 21) xmlenc-0.39 ORIGIN: textproc/xmlenc MAINTAINER: znerd@FreeBSD.org USE_JAVA: 1.1+ The other 39 ports that install javadoc documentation that I've found are: 1) apache-ant-1.5.4_1 devel/apache-ant znerd@FreeBSD.org 2) apache-soap-2.3.1 net/apache-soap brian@quynh-and-brian= =2Eorg 3) axis-1.1_2 www/axis rui@ruilopes.com 4) biojava-1.01 biology/biojava bio@freebsd.net 5) bouncycastle-1.16 java/bouncycastle rara.rasputin@virgin.= net 6) cos-2002.11.05,1 java/cos java@freebsd.org 7) crimson-1.1.3_1 textproc/crimson girgen@partitur.se 8) dbXML-1.0b2 databases/dbXML rws@procopia.com 9) fesi-1.1.5 lang/fesi leo@florida.sarang.net 10) gettext-0.12.1 devel/gettext ports@FreeBSD.org 11) gnu-regexp-1.1.4 java/gnu-regexp ports@FreeBSD.org 12) infobus-1.2 java/infobus java@freebsd.org 13) j2sdkee-1.3.1_02 java/j2sdkee13 des@freebsd.org 14) jaf-1.0.2_1 java/jaf java@freebsd.org 15) jakarta-bcel-5.0 java/jakarta-bcel des@FreeBSD.org 16) jakarta-log4j-1.2.8 java/jakarta-log4j herve.quiroz@esil.uni= v-mrs.fr 17) jakarta-tomcat-4.0.6 www/jakarta-tomcat4 znerd@FreeBSD.org 18) jakarta-tomcat-4.1.27 www/jakarta-tomcat41 znerd@FreeBSD.org 19) jakarta-tomcat-5.0.12_1 www/jakarta-tomcat5 liukang@bjpu.edu.cn 20) janosvm-0.6.0_1 java/janosvm znerd@FreeBSD.org 21) java-beepcore-0.9.07 net/java-beepcore ports@FreeBSD.org 22) javamail-1.3.1 java/javamail java@freebsd.org 23) jboss-2.4.11 java/jboss2 ports@FreeBSD.org 24) jdbcpool-0.99 java/jdbcpool java@freebsd.org 25) jedit-4.1.0 editors/jedit ports@FreeBSD.org 26) jetty-4.2.11 www/jetty ports@FreeBSD.org 27) jfc-1.1.1 java/jfc kuriyama@FreeBSD.org 28) jing-2003.06.19 textproc/jing ports@FreeBSD.org 29) junit-3.8.1 java/junit okazaki@FreeBSD.org 30) jython-2.1_1 lang/jython perky@FreeBSD.org 31) opencyc-0.7.0 misc/opencyc alexs@snark.rinet.ru 32) pircbot-1.2.5 irc/pircbot tim@bishnet.net 33) robocode-1.0.6 games/robocode ports@FreeBSD.org 34) saxon-6.5.2 textproc/saxon ports@FreeBSD.org 35) simplicity-1.2.6b java/simplicity ports@FreeBSD.org 36) sqlrelay-0.32_2 databases/sqlrelay ports@FreeBSD.org 37) trove4j-1.0.2 java/trove4j herve.quiroz@esil.uni= v-mrs.fr 38) xdoclet-1.2b3 java/xdoclet sheldonh@FreeBSD.org 39) xml4j-3.1.1 textproc/xml4j ports@FreeBSD.org as well as several that use dynamic pkg-plists which I assume don't suffer from the problem in question. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/m+qzdtESqEQa7a0RAq7yAJ92I2+dJOkQzsKWeygxu4VvuitOVACePjii +2mbYCOpmuD3FE6y+ObuuS0= =/tIj -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-java@FreeBSD.ORG Sun Oct 26 09:00:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 123A516A4B3; Sun, 26 Oct 2003 09:00:59 -0800 (PST) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B9043FDF; Sun, 26 Oct 2003 09:00:57 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from p5080b00c.dip.t-dialin.net ([80.128.176.12] helo=fillmore-labs.com ident=u6rfohih02aphdvy) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24; FreeBSD 4.9) id 1ADoFt-000Ggf-Ls; Sun, 26 Oct 2003 18:00:42 +0100 Message-ID: <3F9BFDA9.6040907@fillmore-labs.com> Date: Sun, 26 Oct 2003 18:00:25 +0100 From: Oliver Eikemeier MIME-Version: 1.0 To: Matthew Seaman References: <20031026153931.GA4603@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20031026153931.GA4603@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: eikemeier@fillmore-labs.com User-Agent: KMail/1.5.9 Organization: Fillmore Labs GmbH X-Complaints-To: abuse@fillmore-labs.com X-Mailman-Approved-At: Sun, 26 Oct 2003 09:04:50 -0800 cc: greg@greg.rim.or.jp cc: freebsd-ports@freebsd.org cc: toha@toha.org.ua cc: kevlo@freebsd.org cc: wjv@freebsd.org cc: des@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: Javadocs and pkg-plist X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 17:00:59 -0000 Matthew Seaman wrote: > Dear ports, > > Greg Lewis pointed out to me a problem with a new port I had submitted > (ports/57753), and on investigation it turns out that the same thing > may affect several ports in the tree. > > The affected ports will be those that install api documentation which > they generate by running javadoc(1) themselves, and that can be > installed using one of several different JDK versions, and that don't > build their pkg-plist dynamically. > > It turns out that javadoc from Java 1.4.x will generate two extra > files compared to javadoc from Java 1.3.x: 'allclasses-noframe.html' > and 'constant-values.html'. These may or may not be listed in the > pkg-plist for the port, depending on which version the maintainer > happened to be using at the time. I haven't been able to test any > earlier Java versions for similar problems. How about using a dynamic packing list, like the INFO macro? I posted a proposal to PR 57778: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57778 I think it's difficult to keep a static list of dynamically generated documentation up to date. From owner-freebsd-java@FreeBSD.ORG Sun Oct 26 21:36:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2132316A4B3 for ; Sun, 26 Oct 2003 21:36:20 -0800 (PST) Received: from camomile.cloud9.net (camomile.cloud9.net [168.100.1.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A5FD43F3F for ; Sun, 26 Oct 2003 21:36:19 -0800 (PST) (envelope-from bnax@cloud9.net) Received: from localhost.cloud9.net (localhost.cloud9.net [127.0.0.1]) by camomile.cloud9.net (Postfix) with ESMTP id C09725645 for ; Mon, 27 Oct 2003 00:36:18 -0500 (EST) Received: from camomile.cloud9.net (localhost.cloud9.net [127.0.0.1]) by localhost.cloud9.net (VaMailArmor-2.0.1.14) id 29879-3EE300FF; Mon, 27 Oct 2003 00:36:18 -0500 Received: from Mary (186-121.customer.cloud9.net [168.100.186.121]) by camomile.cloud9.net (Postfix) with SMTP id 64D7F5634 for ; Mon, 27 Oct 2003 00:36:18 -0500 (EST) Message-ID: <000d01c39c4c$4eef9ec0$79ba64a8@bnax.com> From: "David A. Broadnax" To: Date: Mon, 27 Oct 2003 00:36:44 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.14; VAE: 6.22.0.1; VDF: 6.22.0.16; host: camomile.cloud9.net) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Trying to learn X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 05:36:20 -0000 I just loaded FreeBSD 4.8 Install was successful, Now what. I am bring = new to Unix, I know nothing. No CLI nothing! Can you point me in the = right direction? From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 03:34:36 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C475316A4B3 for ; Mon, 27 Oct 2003 03:34:36 -0800 (PST) Received: from mailgate5.cinetic.de (mailgate5.cinetic.de [217.72.192.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7123E43FBD for ; Mon, 27 Oct 2003 03:34:35 -0800 (PST) (envelope-from thorsten.greiner@web.de) Received: from web.de (fmomail02.dlan.cinetic.de [172.20.1.46]) SMTP id h9RBYWQ22371 for java@freebsd.org; Mon, 27 Oct 2003 12:34:32 +0100 Date: Mon, 27 Oct 2003 12:34:32 +0100 Message-Id: <200310271134.h9RBYWQ22371@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Thorsten Greiner" To: java@freebsd.org Precedence: fm-user Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Strange behaviour X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 11:34:36 -0000 Hi list, I am seeing a lockup with native JDK 1.4.1 on a recent -CURRENT (built yesterday). The java process spins with 100% cpu usage and does not respond to any signal. A truss on the java process shows strange error numbers being returned form sigreturn: ... gettimeofday(0x2809ac78,0x0) = 0 (0x0) sigprocmask(0x3,0x2809ac9c,0x0) = 0 (0x0) poll(0x805f000,0x2,0x0) = 0 (0x0) sigreturn(0xbf71e720) ERR#747053648 'Unknown error: 747053648' SIGNAL 27 SIGNAL 27 gettimeofday(0x2809ac78,0x0) = 0 (0x0) sigprocmask(0x3,0x2809ac9c,0x0) = 0 (0x0) poll(0x805f000,0x2,0x0) = 0 (0x0) gettimeofday(0xbfa2af00,0x0) = 0 (0x0) poll(0x810c400,0x0,0x0) = 0 (0x0) sigreturn(0xbf71e720) ERR#747053648 'Unknown error: 747053648' ... The JDK was built on Oct 11 with a (than recent) world. Yesterday I run a buildworld/buildkernel with a fresh cvsup. java -version shows: java version "1.4.1-p4" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p4-toor_11_oct_2003_17_36) Java HotSpot(TM) Client VM (build 1.4.1-p4-toor_11_oct_2003_17_36, mixed mode) Any idea what is wrong here? Regards -Thorsten ______________________________________________________________________________ 38xTestsieger - WEB.DE FreeMail - Deutschlands beste E-Mail! Jetzt das neue FreeMail-Handbuch http://f.web.de/extern/handbuch.htm/?mc=021131 From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 07:08:36 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C94216A4B3 for ; Mon, 27 Oct 2003 07:08:36 -0800 (PST) Received: from ndsuext.nodak.edu (ndsuext.NoDak.edu [134.129.92.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57D2243FBF for ; Mon, 27 Oct 2003 07:08:35 -0800 (PST) (envelope-from echriste@ndsuext.nodak.edu) Received: from dyn231.iacc-tm4.ndsu.NoDak.edu (dyn231.iacc-tm4.ndsu.NoDak.edu [134.129.92.231]) by ndsuext.nodak.edu (8.11.6/8.11.6) with ESMTP id h9RF88E01598; Mon, 27 Oct 2003 09:08:10 -0600 From: Eric To: Alexey Zelkin In-Reply-To: <20031023122839.A75570@phantom.cris.net> References: <20031023122839.A75570@phantom.cris.net> Content-Type: text/plain Message-Id: <1067267282.6889.10.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 27 Oct 2003 09:08:03 -0600 Content-Transfer-Encoding: 7bit X-NDSUAG-MailScanner-Information: Please contact the ISP for more information X-NDSUAG-MailScanner: Found to be clean cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 15:08:36 -0000 On Thu, 2003-10-23 at 04:28, Alexey Zelkin wrote: > hi, > > This is an intermediate version of fix of jdk fork problem (i.e. > Runtime.getRuntime().exec() and friends). > > It does affect only people who use libc_r (kse and thr should not > be affected). > > Please try this one and report me if it fixes problems for you. I've seen this problem with an application at work that spawns a large number of external processes using Runtime.getRuntime().exec(). Prior to this patch, I couldn't even get our nightly run to complete without hanging. After patching and rebuilding, I've run it three times without any hangs. Incidentally, this has been a problem with various Sun JDKs running under Linux also. Sun fixed it once and then broke it again (or broke something that caused a similar problem) in a later revision. I'm excited! Maybe now I can switch my workstation back to FreeBSD. This bug has forced to run Linux (and an old JDK) for the last 6 months or so. Thanks, Eric -- Eric From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 08:09:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AF3516A4B3 for ; Mon, 27 Oct 2003 08:09:08 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9519143F3F for ; Mon, 27 Oct 2003 08:09:01 -0800 (PST) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9RGI8La018452; Mon, 27 Oct 2003 18:18:08 +0200 (EET) (envelope-from ml) Date: Mon, 27 Oct 2003 18:18:07 +0200 From: Alexey Zelkin To: Thorsten Greiner Message-ID: <20031027181807.A18410@phantom.cris.net> References: <200310271134.h9RBYWQ22371@mailgate5.cinetic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200310271134.h9RBYWQ22371@mailgate5.cinetic.de>; from thorsten.greiner@web.de on Mon, Oct 27, 2003 at 12:34:32PM +0100 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: Strange behaviour X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 16:09:08 -0000 hi, 1. Which java application causes this behaviour ? 2. Can you please try to ktrace of this process. And provide me snip from its log ? On Mon, Oct 27, 2003 at 12:34:32PM +0100, Thorsten Greiner wrote: > Hi list, > > I am seeing a lockup with native JDK 1.4.1 on a recent -CURRENT > (built yesterday). The java process spins with 100% cpu usage and > does not respond to any signal. > > A truss on the java process shows strange error numbers being > returned form sigreturn: > > ... > gettimeofday(0x2809ac78,0x0) = 0 (0x0) > sigprocmask(0x3,0x2809ac9c,0x0) = 0 (0x0) > poll(0x805f000,0x2,0x0) = 0 (0x0) > sigreturn(0xbf71e720) ERR#747053648 'Unknown error: 747053648' > SIGNAL 27 > SIGNAL 27 > gettimeofday(0x2809ac78,0x0) = 0 (0x0) > sigprocmask(0x3,0x2809ac9c,0x0) = 0 (0x0) > poll(0x805f000,0x2,0x0) = 0 (0x0) > gettimeofday(0xbfa2af00,0x0) = 0 (0x0) > poll(0x810c400,0x0,0x0) = 0 (0x0) > sigreturn(0xbf71e720) ERR#747053648 'Unknown error: 747053648' > ... > > The JDK was built on Oct 11 with a (than recent) world. Yesterday I > run a buildworld/buildkernel with a fresh cvsup. > > java -version shows: > > java version "1.4.1-p4" Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.1-p4-toor_11_oct_2003_17_36) > Java HotSpot(TM) Client VM (build 1.4.1-p4-toor_11_oct_2003_17_36, mixed mode) > > Any idea what is wrong here? > > Regards > -Thorsten > > ______________________________________________________________________________ > 38xTestsieger - WEB.DE FreeMail - Deutschlands beste E-Mail! Jetzt das > neue FreeMail-Handbuch http://f.web.de/extern/handbuch.htm/?mc=021131 > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 08:50:55 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A117216A4B3 for ; Mon, 27 Oct 2003 08:50:55 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09F9E43FD7 for ; Mon, 27 Oct 2003 08:50:54 -0800 (PST) (envelope-from freebsd-java@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AEAZv-0000qI-00 for ; Mon, 27 Oct 2003 17:50:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEAPp-0000ix-00 for ; Mon, 27 Oct 2003 17:40:25 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AEAPo-00033B-00 for ; Mon, 27 Oct 2003 17:40:24 +0100 From: "Scott I. Remick" Date: Mon, 27 Oct 2003 11:40:25 -0500 Lines: 24 Message-ID: <11ka3uwv6ecd2.p6zj4p1l41m8$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Archive: encrypt User-Agent: 40tude_Dialog/2.0.5.1 Sender: news Subject: jdk-1.4.1 plugin & Yahoo Chat X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scott@sremick.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 16:50:55 -0000 [hmm somehow didn't get this into the right list, trying again] Well, now that the plugin is working w/ 1.4.1 (w/ p4) I decided to give it a whirl. I upgraded the plugin Mozilla Firebird uses by changing the symbolic link /usr/X11R6/lib/browser_plugins/libjavaplugin_oji to link to /usr/local/jdk1.4.1/jre/plugin/i386/ns610/libjavaplugin_oji.so instead. Sure enough, about:plugins showed 1.4.1 now instead of 1.3.1. So the first place I decided to try was Yahoo Chat since I had the most quirks with it and 1.3.1. Right away, I start noticing new problems. I tried clicking on the black box to choose a font color, and Firebird crashed. Then I tried double-clicking on a name to get more info, and Firebird crashed again. Both these actions normally pop up a new small window on top of the chat session, so it seems like anything on Yahoo Chat that opens a new java box crashes Firebird. My other problem is, I can't seem to switch back to 1.3.1! I renamed libjavaplugin_oji.so to libjavaplugin_oji.so.14 and created a new libjavaplugin_oji.so link to point back to 131's ns600/libjavaplugin_oji but even closing and restarting Firebird, about:plugins still shows 1.4.1. Epiphany does the same thing. How to I switch back? Glad to see the progress though. :) From owner-freebsd-java@FreeBSD.ORG Mon Oct 27 11:01:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EBF116A4BF for ; Mon, 27 Oct 2003 11:01:48 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B02FC43FE3 for ; Mon, 27 Oct 2003 11:01:37 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9RJ1bFY056645 for ; Mon, 27 Oct 2003 11:01:37 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9RJ1bPe056639 for freebsd-java@freebsd.org; Mon, 27 Oct 2003 11:01:37 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Oct 2003 11:01:37 -0800 (PST) Message-Id: <200310271901.h9RJ1bPe056639@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 19:01:48 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/08/22] java/41913 java JniHandler and ChannelUn Errors 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2003/10/12] java/57901 java java/jdk14 (jdk-1.4.1p4) fails to build o [2003/10/25] java/58524 java new port: java/jmf - Java Media Framework 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43929 java linux-ibm-jdk core dumps without System.e o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install o [2003/09/24] java/57192 java linux-ibm-java1.4 freeze o [2003/10/23] java/58450 java apache-ant doesn't install etc directory 7 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 02:34:12 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E486616A4CE for ; Tue, 28 Oct 2003 02:34:12 -0800 (PST) Received: from ib.com.ua (ib.com.ua [217.144.67.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4DF843FE5 for ; Tue, 28 Oct 2003 02:34:09 -0800 (PST) (envelope-from toha@toha.org.ua) Received: from ib.com.ua (localhost.ib.com.ua [127.0.0.1]) by ib.com.ua (8.12.9p1/8.12.9) with ESMTP id h9SAXmPD013613 for ; Tue, 28 Oct 2003 12:33:48 +0200 (EET) (envelope-from toha@toha.org.ua) Received: (from root@localhost) by ib.com.ua (8.12.9p1/8.12.9/Submit) id h9SAXm2q013612 for freebsd-java@freebsd.org; Tue, 28 Oct 2003 12:33:48 +0200 (EET) (envelope-from toha@toha.org.ua) Date: Tue, 28 Oct 2003 12:33:48 +0200 (EET) From: toha@toha.org.ua Message-Id: <200310281033.h9SAXm2q013612@ib.com.ua> To: freebsd-java@freebsd.org Subject: new port/PR 58524 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 10:34:13 -0000 Hi. Please, look at PR 58524. This is new Java Media Framework port. thanks. From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 02:51:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9358516A4CE for ; Tue, 28 Oct 2003 02:51:11 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C31643FBF for ; Tue, 28 Oct 2003 02:51:07 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) h9SAp1ru002232; Tue, 28 Oct 2003 12:51:01 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (ppp-229-010.dialup.ntua.gr [147.102.229.10]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9SAoqoP004369; Tue, 28 Oct 2003 12:51:00 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <3F9E4A04.8000108@noc.ntua.gr> Date: Tue, 28 Oct 2003 12:50:44 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, el MIME-Version: 1.0 To: toha@toha.org.ua References: <200310281033.h9SAXm2q013612@ib.com.ua> In-Reply-To: <200310281033.h9SAXm2q013612@ib.com.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: new port/PR 58524 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 10:51:11 -0000 toha@toha.org.ua wrote: > Hi. > > Please, look at PR 58524. This is new Java Media Framework port. > > thanks. Hi, just wondering, did you consider a previous effort described in the following post? http://www.freebsd.org/cgi/getmsg.cgi?fetch=78523+80926+/usr/local/www/db/text/2003/freebsd-java/20030209.freebsd-java Thanks, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 05:30:19 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFC0216A4CF for ; Tue, 28 Oct 2003 05:30:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4E3D43FF2 for ; Tue, 28 Oct 2003 05:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9SDUHFY058639 for ; Tue, 28 Oct 2003 05:30:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9SDUH2c058638; Tue, 28 Oct 2003 05:30:17 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 28 Oct 2003 05:30:17 -0800 (PST) Resent-Message-Id: <200310281330.h9SDUH2c058638@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, harti@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A65D16A4CE; Tue, 28 Oct 2003 05:21:39 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF9243F85; Tue, 28 Oct 2003 05:21:37 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle.fokus.fraunhofer.de (beagle [193.175.132.100]) h9SDLZP28500; Tue, 28 Oct 2003 14:21:36 +0100 (MET) Received: from beagle.fokus.fraunhofer.de (localhost [127.0.0.1]) h9SDLZqF002306; Tue, 28 Oct 2003 14:21:35 +0100 (CET) (envelope-from hbb@beagle.fokus.fraunhofer.de) Received: (from hbb@localhost)h9SDLZec002296; Tue, 28 Oct 2003 14:21:35 +0100 (CET) (envelope-from hbb) Message-Id: <200310281321.h9SDLZec002296@beagle.fokus.fraunhofer.de> Date: Tue, 28 Oct 2003 14:21:35 +0100 (CET) From: harti@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: glewis@FreeBSD.org Subject: java/58618: jdk1.3 fails to build if LOCALBASE is not /usr/local X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@FreeBSD.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 13:30:20 -0000 >Number: 58618 >Category: java >Synopsis: jdk1.3 fails to build if LOCALBASE is not /usr/local >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 28 05:30:17 PST 2003 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.1-CURRENT i386 >Organization: FhI Fokus >Environment: System: FreeBSD beagle.fokus.fraunhofer.de 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Fri Sep 19 15:25:35 CEST 2003 hbb@beagle.fokus.fraunhofer.de:/opt/obj/usr/src/sys/BEAGLE i386 >Description: When LOCALBASE is set to something else then the default /usr/local the build fails to find libintl.h in ${LOCALBASE}/include. >How-To-Repeat: Set LOCALBASE to /packages/ports and make the port. >Fix: The problem is the following line in j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile: INTL_DIR ?= /usr/local This default is never overwritten. The following patch to the port's makefile overwrites this definition: Index: Makefile =================================================================== RCS file: /export/cvs/freebsd/ports/java/jdk13/Makefile,v retrieving revision 1.63 diff -u -r1.63 Makefile --- Makefile 16 Oct 2003 23:06:29 -0000 1.63 +++ Makefile 28 Oct 2003 13:20:51 -0000 @@ -56,6 +56,7 @@ SYS_CFLAGS="${CFLAGS}" \ CLASSPATH="" \ LD_LIBRARY_PATH="" \ + INTL_DIR="${LOCALBASE}" \ JAVA_COMPILER="" .if !defined(WITHOUT_PLUGIN) MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \ >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 05:56:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9993716A4CE for ; Tue, 28 Oct 2003 05:56:46 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BAE743FE3 for ; Tue, 28 Oct 2003 05:56:44 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD 5.1) id 1AEUKu-00008q-3v; Tue, 28 Oct 2003 15:56:40 +0200 Date: Tue, 28 Oct 2003 15:56:40 +0200 From: Sheldon Hearn To: "David A. Broadnax" Message-ID: <20031028135640.GS71810@starjuice.net> Mail-Followup-To: "David A. Broadnax" , freebsd-java@freebsd.org References: <000d01c39c4c$4eef9ec0$79ba64a8@bnax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c39c4c$4eef9ec0$79ba64a8@bnax.com> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: Trying to learn X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 13:56:46 -0000 On (2003/10/27 00:36), David A. Broadnax wrote: > I just loaded FreeBSD 4.8 Install was successful, Now what. I am bring > new to Unix, I know nothing. No CLI nothing! Can you point me in the > right direction? First, change what you know about your operating environment: http://www.freebsd.org/projects/newbies.html I assume you mailed freebsd-java because you want to get a JVM running on your box, not just because this mailing list is particularly friendly. For information on obtaining and installing Java on FreeBSD, check out: http://www.freebsd.org/java/ Enjoy! :-) Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 05:57:59 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CBBD16A4CE for ; Tue, 28 Oct 2003 05:57:59 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9142043FDF for ; Tue, 28 Oct 2003 05:57:57 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD 5.1) id 1AEUM7-00009F-JX; Tue, 28 Oct 2003 15:57:55 +0200 Date: Tue, 28 Oct 2003 15:57:55 +0200 From: Sheldon Hearn To: "David A. Broadnax" Message-ID: <20031028135755.GT71810@starjuice.net> Mail-Followup-To: "David A. Broadnax" , freebsd-java@freebsd.org References: <000d01c39c4c$4eef9ec0$79ba64a8@bnax.com> <20031028135640.GS71810@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031028135640.GS71810@starjuice.net> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: Trying to learn X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 13:57:59 -0000 On (2003/10/28 15:56), Sheldon Hearn wrote: > First, change what you know about your operating environment: > > http://www.freebsd.org/projects/newbies.html It's worth mentioning that your first mission should be to upgrade to at least 4.9-RELEASE. There's information on upgrading in the Handook, listed under the resource I referenced above. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 07:27:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA63716A4CF for ; Tue, 28 Oct 2003 07:27:20 -0800 (PST) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D81DF43FCB for ; Tue, 28 Oct 2003 07:27:19 -0800 (PST) (envelope-from mark@s-wit.net) Received: from [192.168.101.251] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Tue, 28 Oct 2003 10:30:36 -0500 Message-ID: <001b01c39d68$796f9020$fb65a8c0@ocfl061> From: "M.D. DeWar" To: Date: Tue, 28 Oct 2003 10:30:50 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Newbie attempting to install java on FreeBSD - what a adventure. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 15:27:20 -0000 Hello, I am trying to get java to install/run/ on a FreeBSD 4.8 box. I ain't bitching or complaining. Maybe whinning. Okay am whinning. Its a bitch to get this running. In reading I understand its mostly Sun's refusal to be helpful. Or at least thats the impression I got in reading pages/mail list postings on the net. Hopefully someone outthere can help me get this thing going. This is a normal freebsd install. no kernel options were passed other than defaults. This webpage http://www.freebsd.org/java/install.html said to do this: Installing FreeBSD's JDKT is typically straightforward: cd /usr/ports/java/jdk make make install make clean Okay did that. I got a directory under /usr/local/linux-sun-jdk1.4.1 I had to fill out some license stuff I think. I have done so much can't recall what I did at times or when or whatever. arghh. When I try to run babylon chatserver I get this: spiderman# ./java /temp/babylon-2.1_BETA/babylonServer Exception in thread "main" java.lang.NoClassDefFoundError: /temp/babylon-2/1_BET A/babylonServer Doing some more google searches I found kaffe-1.0.7. Downloaded it. Did its thing. It fails to run. More google searches and I found something called diablo. http://www.freebsdfoundation.org/downloads/java.shtml spiderman# cd diablo-jre1.3.1/ spiderman# ls ControlPanel.html bin plugin README lib Welcome.html man spiderman# cd bin spiderman# ls .java_wrapper awt_robot java policytool rmiregistry ControlPanel i386 keytool rmid tnameserv spiderman# ./java /temp/babylon-2.1_BETA/babylonServer Exception in thread "main" java.lang.NoClassDefFoundError: /temp/babylon-2/1_BET A/babylonServer I added to profiles per some docs. JAVA_HOME=/usr/local/linux-sun-jdk1.4.1 export JAVA_HOME CLASSPATH=.:${JAVA_HOME}jre/lib/rt.jar:/jre/lib/javaplugin.jar:/jre/lib/sinr asig export CLASSPATH I put some patchsets into /usr/ports per some docs: spiderman# cd /usr/ports/distfiles/ spiderman# ls BUILD jdk14.patches autoconf-2.53.tar.bz2 libtool-1.3.4.tar.gz bsd-jdk14-patches-3.tar m4-1.4.tar.gz help2man-1.29.tar.gz patch-pthread_attr_get_np.c j2sdk-1_4_1_02-linux-i586.bin More google searches brought me here: http://www.eyesbeyond.com/freebsddom/java/jdk14.html However I am not sure if I did the patches right. I don't think I did. The docs were pretty vague for a newbie on running the patch on were I should copy the patch to, were I should be to run it. And theres no contact addy for any type of help so found it to be useless for me a dumbshit newbie. In the build readme it says for experienced but hell out the hell is a newbie to get experience with incomplete docs like this: These instructions are intended for people who have experience manually compiling the JDK or who are experienced with large complex package compilation. They were originally provided by Alexey Zelkin. You need one of the following setups: FreeBSD 4.7-STABLE or 5.0-CURRENT (After 07-Jan-2003) or 5.0-RELEASE (with included patch-libc_r-pthread_attr_get_np.c applied.) -OR- Stock FreeBSD 4.7-STABLE or 5.0-CURRENT (After 04-Feb-2003) -OR- NetBSD -current (with Scheduler Activations) OpenMotif 2.1.30 or later. GNU Make 3.79.1 Unzip 5.50 to unpack the source code. You'll also need a working JDK 1.4.1 compiler to bootstrap the process. Both FreeBSD and NetBSD include appropriate Linux JDKs which run under emulation and can be used to bootstrap. On FreeBSD the preferred port is java/linux-sun-jdk14, on NetBSD its lang/sun-jdk14. Here is a typical set up for your build environment: unsetenv LANG <<<<< ??????? unsetenv JAVA_HOME << 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 2984C16A4CE; Tue, 28 Oct 2003 08:58:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DCEE43FAF; Tue, 28 Oct 2003 08:58:16 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9SGwGFY013583; Tue, 28 Oct 2003 08:58:16 -0800 (PST) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9SGwGCH013579; Tue, 28 Oct 2003 08:58:16 -0800 (PST) (envelope-from glewis) Date: Tue, 28 Oct 2003 08:58:16 -0800 (PST) From: Greg Lewis Message-Id: <200310281658.h9SGwGCH013579@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Subject: Re: java/58618: jdk1.3 fails to build if LOCALBASE is not /usr/local X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 16:58:17 -0000 Synopsis: jdk1.3 fails to build if LOCALBASE is not /usr/local Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Oct 28 08:57:56 PST 2003 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=58618 From owner-freebsd-java@FreeBSD.ORG Tue Oct 28 12:26:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1670616A4CE for ; Tue, 28 Oct 2003 12:26:31 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668AD43FDD for ; Tue, 28 Oct 2003 12:26:30 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id ACFA313629; Wed, 29 Oct 2003 09:26:28 +1300 (NZDT) Date: Wed, 29 Oct 2003 09:26:28 +1300 From: Jonathan Chen To: Alexey Zelkin Message-ID: <20031028202628.GA54113@grimoire.chen.org.nz> References: <20031023122839.A75570@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031023122839.A75570@phantom.cris.net> User-Agent: Mutt/1.4.1i cc: java@freebsd.org Subject: Re: jdk14 fork() problem fix X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 20:26:31 -0000 On Thu, Oct 23, 2003 at 12:28:39PM +0300, Alexey Zelkin wrote: > hi, > > This is an intermediate version of fix of jdk fork problem (i.e. > Runtime.getRuntime().exec() and friends). > > It does affect only people who use libc_r (kse and thr should not > be affected). > > Please try this one and report me if it fixes problems for you. After running with the patch for sometime, it looks *real* good. Will you be releasing this to the port? It definitely is a critical fix and bumps the JVM to a production-usable state. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- When all else fails, RTFM From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 00:24:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D783216A4CF for ; Wed, 29 Oct 2003 00:24:24 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id D634043FD7 for ; Wed, 29 Oct 2003 00:24:22 -0800 (PST) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9T8Xiol032288; Wed, 29 Oct 2003 10:33:45 +0200 (EET) (envelope-from phantom) Date: Wed, 29 Oct 2003 10:33:41 +0200 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20031029103341.A32272@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: [phantom@FreeBSD.org: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files patch-UNIXProcess_md.c.bsd] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 08:24:25 -0000 hi, JFYI. ----- Forwarded message from Alexey Zelkin ----- Delivered-To: phantom@freebsd.org Delivered-To: ports-committers@freebsd.org From: Alexey Zelkin Date: Wed, 29 Oct 2003 00:20:59 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files patch-UNIXProcess_md.c.bsd X-FreeBSD-CVS-Branch: HEAD Precedence: bulk X-Loop: FreeBSD.ORG phantom 2003/10/29 00:20:59 PST FreeBSD ports repository Modified files: java/jdk14 Makefile pkg-plist Added files: java/jdk14/files patch-UNIXProcess_md.c.bsd Log: . Add fix for "runaway process" problem. It should fix of stalled processes problem for people who use Runtime.getRuntime.exec() method and related things. Least five people reported that this patch fixed problem for them. IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x and use libc_r at FreeBSD 5.x to upgrade. . Stop removing "src.zip" from installation bundle. Since -p4 it builds correctly and there's no reason to forbit people to use it. . Bump PORTREVISION. Revision Changes Path 1.65 +1 -2 ports/java/jdk14/Makefile 1.1 +93 -0 ports/java/jdk14/files/patch-UNIXProcess_md.c.bsd (new) 1.18 +1 -0 ports/java/jdk14/pkg-plist ----- End forwarded message ----- From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 00:36:27 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D66316A4CE for ; Wed, 29 Oct 2003 00:36:27 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1553F43FDF for ; Wed, 29 Oct 2003 00:36:26 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Wed, 29 Oct 2003 08:30:56 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1AElhR-0000LF-00; Wed, 29 Oct 2003 08:29:05 +0000 Date: Wed, 29 Oct 2003 08:29:05 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "M.D. DeWar" In-Reply-To: <001b01c39d68$796f9020$fb65a8c0@ocfl061> Message-ID: References: <001b01c39d68$796f9020$fb65a8c0@ocfl061> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: freebsd-java Subject: Re: Newbie attempting to install java on FreeBSD - what a adventure. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 08:36:27 -0000 On Tue, 28 Oct 2003, M.D. DeWar wrote: > Hello, > I am trying to get java to install/run/ on a FreeBSD 4.8 box. > I ain't bitching or complaining. Maybe whinning. Okay am whinning. > Its a bitch to get this running. In reading I understand its mostly Sun's > refusal to be helpful. Or at least thats the impression I got in reading > pages/mail list postings on the net. That's not the problem you're having. > When I try to run babylon chatserver I get this: > > spiderman# ./java /temp/babylon-2.1_BETA/babylonServer > Exception in thread "main" java.lang.NoClassDefFoundError: > /temp/babylon-2/1_BET > A/babylonServer For complete information, you need to read the online docs for the "java" command. In a nutshell: - if the babylonServer comes with a wrapper shell script to run it, you probably just need to set JAVA_HOME and then execute the script (which should call java for you) - if /temp/babylon-2.1_BETA/babylonServer is a runnable .jar file, you can run this by calling: java -jar /temp/babylon-2.1_BETA/babylonServer.jar The error you're seeing is because invoking "java foo" will look for the class foo on your current classpath. If the babylonServer is actually just a pile of .class files in a directory tree, you need to ensure that the top-level directory of the tree is on your CLASSPATH. CLASSPATH confusion is the number one stumbling block when beginning to use java, in my experience. > More google searches brought me here: > http://www.eyesbeyond.com/freebsddom/java/jdk14.html > However I am not sure if I did the patches right. I don't think I did. The patches you mention are used to build a 1.4 JDK from source, using the ports tree. > In the build readme it says for experienced but hell out the hell is a > newbie to get experience with incomplete docs like this: Well, you might want to look at the FreeBSD handbook (online), particularly at the explanation of the ports system, which should help. You should also note that the native 1.4 JDK is still a "work in progress" and has yet to be packaged for simple installation (although if you fetch the source and patches manually the ports tree does a pretty good no-brainer install). As to the lines you're concerned about in those instructions, > unsetenv LANG > <<<<< ??????? > > unsetenv JAVA_HOME > << In additional, with the recommended ports, one would use > > setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.4.1 > setenv ALT_BOOTDIR /usr/pkg/java/sun-1.4 < > ??????????????????????????????????? > > on NetBSD The port is not solely targetted at FreeBSD. NetBSD is another, similar, operating system. > I am so lost now I have no idea were to turn or what to do. ? Other than > drink heavily. It sounds from what you're saying that you've successfully installed both the Linux JDK _and_ the diablo JDK (although you may not realise it). Your problem seems to stem from a misunderstanding about invoking java from the command line: in a nutshell - - ensure JAVA_HOME is set to the top-level directory of your java installation (so that your Java can be detected successfully by shell scripts that use this convention) - ensure that your PATH contains ${JAVA_HOME}/bin (so that the "java" and related commands can be found) - you do not need to include rt.jar and so on in your CLASSPATH; this is taken care of automatically. > Again I am not trying to blame or bitch about this. Just show my confusion > and frustration in trying to install. As a newbie. > > If anyone can help me out I would greatly appreciate it. I hope this helps somewhat. If you can provide more information about what files are in your babylonServer directory that would be a help. Cheers, -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Strive to live every day as though it was last Wednesday. From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 07:11:51 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DDA416A4CF for ; Wed, 29 Oct 2003 07:11:51 -0800 (PST) Received: from bjpu.edu.cn (egw.bjpu.edu.cn [202.112.78.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 359A643FA3 for ; Wed, 29 Oct 2003 07:11:47 -0800 (PST) (envelope-from liukang@bjpu.edu.cn) Received: (eyou gateway send program); Wed, 29 Oct 2003 23:16:52 +0800 X-EYOU-ORIGINAL-IP: 61.49.156.178 X-EYOU-ENVELOPE-MAILFROM: liukang@bjpu.edu.cn Received: from unknown (HELO liukangfj2a7ms) (unknown@61.49.156.178) by 202.112.78.77 with ; Wed, 29 Oct 2003 23:16:52 +0800 From: "Kang Liu" To: , Date: Wed, 29 Oct 2003 23:11:37 +0800 Message-ID: <000c01c39e2e$f8421370$0201a8c0@liukangfj2a7ms> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Re: ports/58376: [maintainer]update tomcat5 to 5.0.13 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 15:11:51 -0000 new patch, update tomcat5 to 5.0.14 :-) Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat5/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 25 Sep 2003 08:59:31 -0000 1.3 +++ distinfo 29 Oct 2003 15:05:50 -0000 @@ -1 +1 @@ -MD5 (jakarta-tomcat-5.0.12.tar.gz) = f74f15c7b5b6b0c80d4ac42c82c6e075 +MD5 (jakarta-tomcat-5.0.14.tar.gz) = d92fd86da7ae159392ac222930619f4f Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat5/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 26 Sep 2003 05:54:44 -0000 1.4 +++ Makefile 29 Oct 2003 15:05:55 -0000 @@ -6,11 +6,10 @@ # PORTNAME= jakarta-tomcat -PORTVERSION= 5.0.12 -PORTREVISION= 1 +PORTVERSION= 5.0.14 CATEGORIES= www java -MASTER_SITES= http://www.apache.org/dist/jakarta/tomcat-5/v${PORTVERSION}-beta/bin/ \ - http://apache.lemon4ssc.org/dist/jakarta/tomcat-5/v{PORTVERSION}-beta/bi n/ \ +MASTER_SITES= http://www.apache.org/dist/jakarta/tomcat-5/v${PORTVERSION}-alpha/bin/ \ + http://apache.lemon4ssc.org/dist/jakarta/tomcat-5/v{PORTVERSION}-alpha/b in/ \ http://distfiles.coredump.cn/ MAINTAINER= liukang@bjpu.edu.cn Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/jakarta-tomcat5/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- pkg-plist 26 Sep 2003 05:54:44 -0000 1.4 +++ pkg-plist 29 Oct 2003 15:09:21 -0000 @@ -24,11 +24,13 @@ %%T%%/common/endorsed/xmlParserAPIs.jar %%T%%/common/lib/ant.jar %%T%%/common/lib/commons-collections.jar -%%T%%/common/lib/commons-dbcp.jar +%%T%%/common/lib/commons-dbcp-1.1.jar %%T%%/common/lib/commons-el.jar -%%T%%/common/lib/commons-pool.jar +%%T%%/common/lib/commons-pool-1.1.jar %%T%%/common/lib/jasper-compiler.jar %%T%%/common/lib/jasper-runtime.jar +%%T%%/common/lib/jmx-remote-tools.jar +%%T%%/common/lib/jmx-remote.jar %%T%%/common/lib/jmx.jar %%T%%/common/lib/jsp-api.jar %%T%%/common/lib/naming-common.jar @@ -298,36 +300,36 @@ %%T%%/webapps/jsp-examples/WEB-INF/tags/panel.tag %%T%%/webapps/jsp-examples/WEB-INF/tags/xhtmlbasic.tag %%T%%/webapps/jsp-examples/WEB-INF/web.xml -%%T%%/webapps/jsp-examples/cal/Entries.java.txt -%%T%%/webapps/jsp-examples/cal/Entry.java.txt -%%T%%/webapps/jsp-examples/cal/JspCalendar.java.txt -%%T%%/webapps/jsp-examples/cal/TableBean.java.txt +%%T%%/webapps/jsp-examples/cal/Entries.java.html +%%T%%/webapps/jsp-examples/cal/Entry.java.html +%%T%%/webapps/jsp-examples/cal/JspCalendar.java.html +%%T%%/webapps/jsp-examples/cal/TableBean.java.html %%T%%/webapps/jsp-examples/cal/cal1.jsp -%%T%%/webapps/jsp-examples/cal/cal1.jsp.txt +%%T%%/webapps/jsp-examples/cal/cal1.jsp.html %%T%%/webapps/jsp-examples/cal/cal2.jsp -%%T%%/webapps/jsp-examples/cal/cal2.jsp.txt +%%T%%/webapps/jsp-examples/cal/cal2.jsp.html %%T%%/webapps/jsp-examples/cal/calendar.html %%T%%/webapps/jsp-examples/cal/login.html %%T%%/webapps/jsp-examples/checkbox/CheckTest.html %%T%%/webapps/jsp-examples/checkbox/check.html %%T%%/webapps/jsp-examples/checkbox/checkresult.jsp -%%T%%/webapps/jsp-examples/checkbox/checkresult.jsp.txt +%%T%%/webapps/jsp-examples/checkbox/checkresult.jsp.html %%T%%/webapps/jsp-examples/checkbox/cresult.html %%T%%/webapps/jsp-examples/colors/ColorGameBean.html %%T%%/webapps/jsp-examples/colors/clr.html %%T%%/webapps/jsp-examples/colors/colors.html %%T%%/webapps/jsp-examples/colors/colrs.jsp -%%T%%/webapps/jsp-examples/colors/colrs.jsp.txt +%%T%%/webapps/jsp-examples/colors/colrs.jsp.html %%T%%/webapps/jsp-examples/dates/date.html %%T%%/webapps/jsp-examples/dates/date.jsp -%%T%%/webapps/jsp-examples/dates/date.jsp.txt +%%T%%/webapps/jsp-examples/dates/date.jsp.html %%T%%/webapps/jsp-examples/error/er.html %%T%%/webapps/jsp-examples/error/err.jsp -%%T%%/webapps/jsp-examples/error/err.jsp.txt +%%T%%/webapps/jsp-examples/error/err.jsp.html %%T%%/webapps/jsp-examples/error/error.html %%T%%/webapps/jsp-examples/error/errorpge.jsp %%T%%/webapps/jsp-examples/forward/forward.jsp -%%T%%/webapps/jsp-examples/forward/forward.jsp.txt +%%T%%/webapps/jsp-examples/forward/forward.jsp.html %%T%%/webapps/jsp-examples/forward/fwd.html %%T%%/webapps/jsp-examples/forward/one.jsp %%T%%/webapps/jsp-examples/forward/two.html @@ -339,108 +341,108 @@ %%T%%/webapps/jsp-examples/include/foo.jsp %%T%%/webapps/jsp-examples/include/inc.html %%T%%/webapps/jsp-examples/include/include.jsp -%%T%%/webapps/jsp-examples/include/include.jsp.txt +%%T%%/webapps/jsp-examples/include/include.jsp.html %%T%%/webapps/jsp-examples/index.html -%%T%%/webapps/jsp-examples/jsp2/el/Functions.java.txt +%%T%%/webapps/jsp-examples/jsp2/el/Functions.java.html %%T%%/webapps/jsp-examples/jsp2/el/basic-arithmetic.html %%T%%/webapps/jsp-examples/jsp2/el/basic-arithmetic.jsp -%%T%%/webapps/jsp-examples/jsp2/el/basic-arithmetic.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/el/basic-arithmetic.jsp.html %%T%%/webapps/jsp-examples/jsp2/el/basic-comparisons.html %%T%%/webapps/jsp-examples/jsp2/el/basic-comparisons.jsp -%%T%%/webapps/jsp-examples/jsp2/el/basic-comparisons.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/el/basic-comparisons.jsp.html %%T%%/webapps/jsp-examples/jsp2/el/functions.html %%T%%/webapps/jsp-examples/jsp2/el/functions.jsp -%%T%%/webapps/jsp-examples/jsp2/el/functions.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/el/functions.jsp.html %%T%%/webapps/jsp-examples/jsp2/el/implicit-objects.html %%T%%/webapps/jsp-examples/jsp2/el/implicit-objects.jsp -%%T%%/webapps/jsp-examples/jsp2/el/implicit-objects.jsp.txt -%%T%%/webapps/jsp-examples/jsp2/jspattribute/FooBean.java.txt -%%T%%/webapps/jsp-examples/jsp2/jspattribute/HelloWorldSimpleTag.java.t xt -%%T%%/webapps/jsp-examples/jsp2/jspattribute/ShuffleSimpleTag.java.txt -%%T%%/webapps/jsp-examples/jsp2/jspattribute/TileSimpleTag.java.txt +%%T%%/webapps/jsp-examples/jsp2/el/implicit-objects.jsp.html +%%T%%/webapps/jsp-examples/jsp2/jspattribute/FooBean.java.html +%%T%%/webapps/jsp-examples/jsp2/jspattribute/HelloWorldSimpleTag.java.h tml +%%T%%/webapps/jsp-examples/jsp2/jspattribute/ShuffleSimpleTag.java.html +%%T%%/webapps/jsp-examples/jsp2/jspattribute/TileSimpleTag.java.html %%T%%/webapps/jsp-examples/jsp2/jspattribute/jspattribute.html %%T%%/webapps/jsp-examples/jsp2/jspattribute/jspattribute.jsp -%%T%%/webapps/jsp-examples/jsp2/jspattribute/jspattribute.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/jspattribute/jspattribute.jsp.html %%T%%/webapps/jsp-examples/jsp2/jspattribute/shuffle.html %%T%%/webapps/jsp-examples/jsp2/jspattribute/shuffle.jsp -%%T%%/webapps/jsp-examples/jsp2/jspattribute/shuffle.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/jspattribute/shuffle.jsp.html %%T%%/webapps/jsp-examples/jsp2/jspx/basic.html %%T%%/webapps/jsp-examples/jsp2/jspx/basic.jspx -%%T%%/webapps/jsp-examples/jsp2/jspx/basic.jspx.txt +%%T%%/webapps/jsp-examples/jsp2/jspx/basic.jspx.html %%T%%/webapps/jsp-examples/jsp2/jspx/svgexample.html %%T%%/webapps/jsp-examples/jsp2/jspx/textRotate.html %%T%%/webapps/jsp-examples/jsp2/jspx/textRotate.jpg %%T%%/webapps/jsp-examples/jsp2/jspx/textRotate.jspx -%%T%%/webapps/jsp-examples/jsp2/jspx/textRotate.jspx.txt -%%T%%/webapps/jsp-examples/jsp2/misc/EchoAttributesTag.java.txt +%%T%%/webapps/jsp-examples/jsp2/jspx/textRotate.jspx.html +%%T%%/webapps/jsp-examples/jsp2/misc/EchoAttributesTag.java.html %%T%%/webapps/jsp-examples/jsp2/misc/coda.jspf -%%T%%/webapps/jsp-examples/jsp2/misc/coda.jspf.txt +%%T%%/webapps/jsp-examples/jsp2/misc/coda.jspf.html %%T%%/webapps/jsp-examples/jsp2/misc/config.html %%T%%/webapps/jsp-examples/jsp2/misc/config.jsp -%%T%%/webapps/jsp-examples/jsp2/misc/config.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/misc/config.jsp.html %%T%%/webapps/jsp-examples/jsp2/misc/dynamicattrs.html %%T%%/webapps/jsp-examples/jsp2/misc/dynamicattrs.jsp -%%T%%/webapps/jsp-examples/jsp2/misc/dynamicattrs.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/misc/dynamicattrs.jsp.html %%T%%/webapps/jsp-examples/jsp2/misc/prelude.jspf -%%T%%/webapps/jsp-examples/jsp2/misc/prelude.jspf.txt -%%T%%/webapps/jsp-examples/jsp2/simpletag/BookBean.java.txt -%%T%%/webapps/jsp-examples/jsp2/simpletag/FindBookSimpleTag.java.txt -%%T%%/webapps/jsp-examples/jsp2/simpletag/Functions.java.txt -%%T%%/webapps/jsp-examples/jsp2/simpletag/HelloWorldSimpleTag.java.txt -%%T%%/webapps/jsp-examples/jsp2/simpletag/RepeatSimpleTag.java.txt +%%T%%/webapps/jsp-examples/jsp2/misc/prelude.jspf.html +%%T%%/webapps/jsp-examples/jsp2/simpletag/BookBean.java.html +%%T%%/webapps/jsp-examples/jsp2/simpletag/FindBookSimpleTag.java.html +%%T%%/webapps/jsp-examples/jsp2/simpletag/Functions.java.html +%%T%%/webapps/jsp-examples/jsp2/simpletag/HelloWorldSimpleTag.java.html +%%T%%/webapps/jsp-examples/jsp2/simpletag/RepeatSimpleTag.java.html %%T%%/webapps/jsp-examples/jsp2/simpletag/book.html %%T%%/webapps/jsp-examples/jsp2/simpletag/book.jsp -%%T%%/webapps/jsp-examples/jsp2/simpletag/book.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/simpletag/book.jsp.html %%T%%/webapps/jsp-examples/jsp2/simpletag/hello.html %%T%%/webapps/jsp-examples/jsp2/simpletag/hello.jsp -%%T%%/webapps/jsp-examples/jsp2/simpletag/hello.jsp.txt +%%T%%/webapps/jsp-examples/jsp2/simpletag/hello.jsp.html %%T%%/webapps/jsp-examples/jsp2/simpletag/repeat.html %%T%%/webapps/jsp-examples/jsp2/simpletag/repeat.jsp -%%T%%/webapps/jsp-examples/jsp2/simpletag/repeat.jsp.txt -%%T%%/webapps/jsp-examples/jsp2/tagfiles/displayProducts.tag.txt +%%T%%/webapps/jsp-examples/jsp2/simpletag/repeat.jsp.html +%%T%%/webapps/jsp-examples/jsp2/tagfiles/displayProducts.tag.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/hello.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/hello.jsp -%%T%%/webapps/jsp-examples/jsp2/tagfiles/hello.jsp.txt -%%T%%/webapps/jsp-examples/jsp2/tagfiles/helloWorld.tag.txt +%%T%%/webapps/jsp-examples/jsp2/tagfiles/hello.jsp.html +%%T%%/webapps/jsp-examples/jsp2/tagfiles/helloWorld.tag.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.jsp -%%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.jsp.txt -%%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.tag.txt +%%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.jsp.html +%%T%%/webapps/jsp-examples/jsp2/tagfiles/panel.tag.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/products.html %%T%%/webapps/jsp-examples/jsp2/tagfiles/products.jsp -%%T%%/webapps/jsp-examples/jsp2/tagfiles/products.jsp.txt -%%T%%/webapps/jsp-examples/jsp2/tagfiles/xhtmlbasic.tag.txt +%%T%%/webapps/jsp-examples/jsp2/tagfiles/products.jsp.html +%%T%%/webapps/jsp-examples/jsp2/tagfiles/xhtmlbasic.tag.html %%T%%/webapps/jsp-examples/jsptoserv/hello.jsp %%T%%/webapps/jsp-examples/jsptoserv/jsptoservlet.jsp -%%T%%/webapps/jsp-examples/jsptoserv/jsptoservlet.jsp.txt +%%T%%/webapps/jsp-examples/jsptoserv/jsptoservlet.jsp.html %%T%%/webapps/jsp-examples/jsptoserv/jts.html -%%T%%/webapps/jsp-examples/jsptoserv/servletToJsp.java.txt +%%T%%/webapps/jsp-examples/jsptoserv/servletToJsp.java.html %%T%%/webapps/jsp-examples/num/numguess.html %%T%%/webapps/jsp-examples/num/numguess.jsp -%%T%%/webapps/jsp-examples/num/numguess.jsp.txt +%%T%%/webapps/jsp-examples/num/numguess.jsp.html %%T%%/webapps/jsp-examples/plugin/applet/Clock2.class %%T%%/webapps/jsp-examples/plugin/applet/Clock2.java %%T%%/webapps/jsp-examples/plugin/plugin.html %%T%%/webapps/jsp-examples/plugin/plugin.jsp -%%T%%/webapps/jsp-examples/plugin/plugin.jsp.txt +%%T%%/webapps/jsp-examples/plugin/plugin.jsp.html %%T%%/webapps/jsp-examples/security/protected/error.jsp %%T%%/webapps/jsp-examples/security/protected/index.jsp %%T%%/webapps/jsp-examples/security/protected/login.jsp %%T%%/webapps/jsp-examples/sessions/DummyCart.html %%T%%/webapps/jsp-examples/sessions/carts.html %%T%%/webapps/jsp-examples/sessions/carts.jsp -%%T%%/webapps/jsp-examples/sessions/carts.jsp.txt +%%T%%/webapps/jsp-examples/sessions/carts.jsp.html %%T%%/webapps/jsp-examples/sessions/crt.html %%T%%/webapps/jsp-examples/simpletag/foo.html %%T%%/webapps/jsp-examples/simpletag/foo.jsp -%%T%%/webapps/jsp-examples/simpletag/foo.jsp.txt +%%T%%/webapps/jsp-examples/simpletag/foo.jsp.html %%T%%/webapps/jsp-examples/snp/snoop.html %%T%%/webapps/jsp-examples/snp/snoop.jsp -%%T%%/webapps/jsp-examples/snp/snoop.jsp.txt +%%T%%/webapps/jsp-examples/snp/snoop.jsp.html %%T%%/webapps/jsp-examples/source.jsp %%T%%/webapps/jsp-examples/xml/xml.html %%T%%/webapps/jsp-examples/xml/xml.jsp -%%T%%/webapps/jsp-examples/xml/xml.jsp.txt +%%T%%/webapps/jsp-examples/xml/xml.jsp.html %%T%%/webapps/servlets-examples/WEB-INF/classes/CookieExample.class %%T%%/webapps/servlets-examples/WEB-INF/classes/CookieExample.java %%T%%/webapps/servlets-examples/WEB-INF/classes/HelloWorldExample.class @@ -818,6 +820,7 @@ %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ LifecycleListenerRule.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ NamingRuleSet.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ PasswdUserDatabase.html +%%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup /SetAllPropertiesRule.SystemPropertyPropertyResource.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ SetAllPropertiesRule.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ SetDocBaseRule.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/catalina/startup/ TldConfig.html @@ -913,6 +916,7 @@ %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/Int ernalOutputBuffer.OutputStreamOutputBuffer.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/Int ernalOutputBuffer.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/Out putFilter.html +%%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/fi lters/BufferedInputFilter.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/fil ters/ChunkedInputFilter.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/fil ters/ChunkedOutputFilter.html %%T%%/webapps/tomcat-docs/catalina/docs/api/org/apache/coyote/http11/fil ters/GzipOutputFilter.FakeOutputStream.html @@ -1234,6 +1238,7 @@ %%T%%/webapps/tomcat-docs/cgi-howto.html %%T%%/webapps/tomcat-docs/changelog.html %%T%%/webapps/tomcat-docs/class-loader-howto.html +%%T%%/webapps/tomcat-docs/cluster-howto.html %%T%%/webapps/tomcat-docs/config/context.html %%T%%/webapps/tomcat-docs/config/coyote.html %%T%%/webapps/tomcat-docs/config/defaultcontext.html @@ -1555,6 +1560,7 @@ %%T%%/webapps/tomcat-docs/printer/cgi-howto.html %%T%%/webapps/tomcat-docs/printer/changelog.html %%T%%/webapps/tomcat-docs/printer/class-loader-howto.html +%%T%%/webapps/tomcat-docs/printer/cluster-howto.html %%T%%/webapps/tomcat-docs/printer/default-servlet.html %%T%%/webapps/tomcat-docs/printer/deployer-howto.html %%T%%/webapps/tomcat-docs/printer/developers.html From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 11:31:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC6B016A4CE for ; Wed, 29 Oct 2003 11:31:11 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CF9643FB1 for ; Wed, 29 Oct 2003 11:31:09 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h9TJV6gH003323; Wed, 29 Oct 2003 13:31:06 -0600 (CST) (envelope-from dan) Date: Wed, 29 Oct 2003 13:31:06 -0600 From: Dan Nelson To: Alexey Zelkin Message-ID: <20031029193106.GA95197@dan.emsphone.com> References: <20031029103341.A32272@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031029103341.A32272@phantom.cris.net> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: java@freebsd.org Subject: Re: [phantom@FreeBSD.org: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files patch-UNIXProcess_md.c.bsd] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 19:31:11 -0000 In the last episode (Oct 29), Alexey Zelkin said: > phantom 2003/10/29 00:20:59 PST > > FreeBSD ports repository > > Modified files: > java/jdk14 Makefile pkg-plist > Added files: > java/jdk14/files patch-UNIXProcess_md.c.bsd > Log: > . Add fix for "runaway process" problem. It should fix of stalled > processes problem for people who use Runtime.getRuntime.exec() method > and related things. Least five people reported that this patch fixed > problem for them. > > IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x > and use libc_r at FreeBSD 5.x to upgrade. jhb just committed a patch to -current that fixes a bug where a SIGPROF timer (i.e. libc_r's thread scheduling signal) would continue to fire in the client process after a fork. You might want to check and see if you can reproduce your bug with a new -current. Your patch will still be needed for 4.9, of course. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 12:05:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 481CC16A4CE for ; Wed, 29 Oct 2003 12:05:25 -0800 (PST) Received: from merc64.na.sas.com (merc64.na.sas.com [149.173.6.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3141243FBF for ; Wed, 29 Oct 2003 12:05:24 -0800 (PST) (envelope-from Bob.Dixon@sas.com) Received: from merc18.na.sas.com ([10.16.12.224]) by 10.19.11.14 with InterScan Messaging Security Suite; Wed, 29 Oct 2003 15:05:22 -0500 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6410.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 29 Oct 2003 15:05:21 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Java Obfuscators Thread-Index: AcOeLynX/sGBOkWTS8yIammhh6xcIQAKJscQ From: "Bob Dixon" To: Subject: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 20:05:25 -0000 My group is developing in Java on FreeBSD, and we're interested in = using an obfuscator to prevent reverse-engineering. Can anyone = recommend one that runs on FreeBSD? Thanks! Bob From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 13:51:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB2B016A4CE for ; Wed, 29 Oct 2003 13:51:14 -0800 (PST) Received: from enteljoven2.enteljoven.cl (enteljoven2.enteljoven.cl [164.77.63.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A92143FBF for ; Wed, 29 Oct 2003 13:51:13 -0800 (PST) (envelope-from rdeiriar@spock.cl) Received: from spock.cl (CM600-lconC1-16-33.cm.vtr.net [200.104.16.33]) (AUTH: CRAM-MD5 roberto@spock.cl) by enteljoven2.enteljoven.cl with esmtp; Wed, 29 Oct 2003 18:51:30 -0300 Message-ID: <3FA03653.2080608@spock.cl> Date: Wed, 29 Oct 2003 18:51:15 -0300 From: Roberto de Iriarte User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Dixon References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 21:51:15 -0000 Bob Dixon wrote: > My group is developing in Java on FreeBSD, and we're interested in using an obfuscator to prevent reverse-engineering. Can anyone recommend one that runs on FreeBSD? Thanks! > >Bob > >_______________________________________________ >freebsd-java@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-java >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > I'm sorry, i fail to see the purpose of an obfuscator for Java Compiled java apps are platform neutral, so you'll not need to redistribute the sources unless you want to. Should your customer need to interface with your classes, a propery written JavaDoc should suffice. Not that i would not want to tell you about the wonders of Open Source ... Regards Roberto From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 14:16:44 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD13416A4D1 for ; Wed, 29 Oct 2003 14:16:44 -0800 (PST) Received: from electricrain.com (electricrain.com [64.71.143.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB34243FE1 for ; Wed, 29 Oct 2003 14:16:43 -0800 (PST) (envelope-from fuzzy@electricrain.com) Received: (qmail 6281 invoked by uid 540); 29 Oct 2003 22:16:43 -0000 Date: Wed, 29 Oct 2003 14:16:43 -0800 From: Chris Doherty To: Roberto de Iriarte Message-ID: <20031029221643.GC28370@zot.electricrain.com> References: <3FA03653.2080608@spock.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA03653.2080608@spock.cl> User-Agent: Mutt/1.4i X-Operating-System: XEmacs X-Koan: mu. X-Message-Flag: This message contains absolutely no malicious code. Organization: The Inside Foundation cc: java@freebsd.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chris-freebsd@randomcamel.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 22:16:44 -0000 On Wed, Oct 29, 2003 at 06:51:15PM -0300, Roberto de Iriarte said: > I'm sorry, i fail to see the purpose of an obfuscator for Java > > Compiled java apps are platform neutral, so you'll not need to > redistribute the sources > unless you want to. Should your customer need to interface with your > classes, a propery > written JavaDoc should suffice. > > Not that i would not want to tell you about the wonders of Open Source ... not a source code obfuscator--a bytecode obfuscator. it's possible to run a decompiler on Java bytecode and recover the sourcecode, or something close enough to view the algorithms and possibly other information. (I just did this on some of my code and it's a bit disturbing.) it's kinda fun. guavac, jad, and jode are all decompilers in /usr/ports/java. HTH, chris ------------------------------- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne ------------------------------- From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 14:23:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 247FD16A4CE for ; Wed, 29 Oct 2003 14:23:08 -0800 (PST) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017F943FEA for ; Wed, 29 Oct 2003 14:23:07 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1AEyiW-0007Uy-05 for java@freebsd.org; Wed, 29 Oct 2003 15:23:06 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1AEyiS-0007Rw-05; Wed, 29 Oct 2003 15:23:00 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9TMOwjG034124; Wed, 29 Oct 2003 15:24:59 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9TMOuiI034123; Wed, 29 Oct 2003 15:24:56 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 29 Oct 2003 15:24:55 -0700 From: Greg Lewis To: Bob Dixon Message-ID: <20031029222455.GA34102@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.1 required=8.0 tests=BAYES_20,NO_EXPERIENCE autolearn=no version=2.60 X-Spam-Level: cc: java@FreeBSD.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 22:23:08 -0000 On Wed, Oct 29, 2003 at 03:05:21PM -0500, Bob Dixon wrote: > My group is developing in Java on FreeBSD, and we're interested in using an obfuscator to prevent reverse-engineering. Can anyone recommend one that runs on FreeBSD? Thanks! I have no experience with it, but the ports collection contains one: java/proguard Port looks a little out of date though. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 15:19:33 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4326E16A4CE for ; Wed, 29 Oct 2003 15:19:33 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A20943FE0 for ; Wed, 29 Oct 2003 15:19:31 -0800 (PST) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9TNSUhs037976; Thu, 30 Oct 2003 01:28:30 +0200 (EET) (envelope-from phantom) Date: Thu, 30 Oct 2003 01:28:30 +0200 From: Alexey Zelkin To: Dan Nelson Message-ID: <20031030012830.A37865@phantom.cris.net> References: <20031029103341.A32272@phantom.cris.net> <20031029193106.GA95197@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20031029193106.GA95197@dan.emsphone.com>; from dnelson@allantgroup.com on Wed, Oct 29, 2003 at 01:31:06PM -0600 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org Subject: Re: [phantom@FreeBSD.org: cvs commit: ports/java/jdk14 Makefile pkg-plist ports/java/jdk14/files patch-UNIXProcess_md.c.bsd] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 23:19:33 -0000 hi, On Wed, Oct 29, 2003 at 01:31:06PM -0600, Dan Nelson wrote: > In the last episode (Oct 29), Alexey Zelkin said: > > phantom 2003/10/29 00:20:59 PST > > > > FreeBSD ports repository > > > > Modified files: > > java/jdk14 Makefile pkg-plist > > Added files: > > java/jdk14/files patch-UNIXProcess_md.c.bsd > > Log: > > . Add fix for "runaway process" problem. It should fix of stalled > > processes problem for people who use Runtime.getRuntime.exec() method > > and related things. Least five people reported that this patch fixed > > problem for them. > > > > IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x > > and use libc_r at FreeBSD 5.x to upgrade. > > jhb just committed a patch to -current that fixes a bug where a SIGPROF > timer (i.e. libc_r's thread scheduling signal) would continue to fire > in the client process after a fork. You might want to check and see if > you can reproduce your bug with a new -current. Your patch will still > be needed for 4.9, of course. I am aware of this patch. But it can affect "critical section" requirement only, i.e. with this patch I don't need to suspend/resume threads while calling to __SYS_fork(). But I'll not do even it because we can't expect everyone who want to run jdk will upgrade to most recent -CURRENT. From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 16:31:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6999516A4CE for ; Wed, 29 Oct 2003 16:31:08 -0800 (PST) Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A68643F85 for ; Wed, 29 Oct 2003 16:31:07 -0800 (PST) (envelope-from antony.t.curtis@ntlworld.com) Received: from [10.10.10.100] ([81.98.110.96]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031030003105.PEDH8170.mta02-svc.ntlworld.com@[10.10.10.100]>; Thu, 30 Oct 2003 00:31:05 +0000 From: Antony T Curtis To: Bob Dixon In-Reply-To: References: Content-Type: text/plain Message-Id: <1067473864.20349.1.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 30 Oct 2003 00:31:04 +0000 Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 00:31:08 -0000 On Wed, 2003-10-29 at 20:05, Bob Dixon wrote: > My group is developing in Java on FreeBSD, and we're interested in using an obfuscator to prevent reverse-engineering. Can anyone recommend one that runs on FreeBSD? Thanks! Jopt does a pretty good job of obfuscating... and results in lighter-weight executables in the process. For added bonus, you can use it on your java runtime jars for faster startup time. Warning - it does make debugging more difficult. -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 18:07:13 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C0C116A4CE; Wed, 29 Oct 2003 18:07:13 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BDC43FDF; Wed, 29 Oct 2003 18:07:12 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 02C5F66D74; Wed, 29 Oct 2003 18:07:12 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id CA456840; Wed, 29 Oct 2003 18:07:11 -0800 (PST) Date: Wed, 29 Oct 2003 18:07:11 -0800 From: Kris Kennaway To: Scott Long Message-ID: <20031030020711.GA24468@rot13.obsecurity.org> References: <3F92E129.10307@veidit.net> <20031028034630.GC32916@VARK.homeunix.com> <20031028090337.E27950@carver.gumbysoft.com> <3FA01F71.1020203@adminforum.se> <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20031029152202.C7702@pooker.samsco.home> User-Agent: Mutt/1.4.1i cc: java@FreeBSD.org cc: David Schultz cc: John Angelmo cc: current@freebsd.org cc: Kris Kennaway Subject: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 02:07:13 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote: > I just tried running the Diablo JDK under -current from yesterday (with > the libm fix from a few days ago). It does not look good; possibly an > issue with both the compat libc and native libc being linked in? Maybe > libm.so is still bringing in the native libc.so? We don't install the > 4.x libm into compat, and I don't have any 4.x machine around to steal it > from, so I can't test out that theory. With help from peter and dwhite, we tracked down the cause to the following: ./jdk131.patches:+ dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); ./jdk131.patches:+ void *dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); Java people, this is the cause of the binary incompatibility of 4.x java binaries on 5.x. Can someone please fix? Kris --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/oHJPWry0BWjoQKURAv0YAKDaZaC5iEqd36i/TCD+lWo/tYz0QACgz4Gi 6+7dko/fmzHHPSDLTlOvdcc= =ra6w -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT-- From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 20:06:43 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D8316A4D0 for ; Wed, 29 Oct 2003 20:06:43 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id A9CCB43FD7 for ; Wed, 29 Oct 2003 20:06:41 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 95850 invoked by uid 1002); 30 Oct 2003 04:06:40 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 30 Oct 2003 04:06:40 -0000 Message-ID: <3FA08E31.9030701@freebsd.org> Date: Wed, 29 Oct 2003 21:06:09 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <3F92E129.10307@veidit.net> <20031028034630.GC32916@VARK.homeunix.com> <20031028090337.E27950@carver.gumbysoft.com> <3FA01F71.1020203@adminforum.se> <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> <20031030020711.GA24468@rot13.obsecurity.org> In-Reply-To: <20031030020711.GA24468@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org cc: David Schultz cc: current@freebsd.org cc: John Angelmo Subject: Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 04:06:43 -0000 Kris Kennaway wrote: > On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote: > > >>I just tried running the Diablo JDK under -current from yesterday (with >>the libm fix from a few days ago). It does not look good; possibly an >>issue with both the compat libc and native libc being linked in? Maybe >>libm.so is still bringing in the native libc.so? We don't install the >>4.x libm into compat, and I don't have any 4.x machine around to steal it >>from, so I can't test out that theory. > > > With help from peter and dwhite, we tracked down the cause to the following: > > ./jdk131.patches:+ dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > ./jdk131.patches:+ void *dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > > Java people, this is the cause of the binary incompatibility of 4.x > java binaries on 5.x. Can someone please fix? > > Kris Thanks for tracking this down. Scott From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 21:38:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A164816A4CE for ; Wed, 29 Oct 2003 21:38:49 -0800 (PST) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7672E43FB1 for ; Wed, 29 Oct 2003 21:38:48 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1AF5WB-0007LW-05 for java@freebsd.org; Wed, 29 Oct 2003 22:38:47 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1AF5W4-0007BR-05; Wed, 29 Oct 2003 22:38:40 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9U5efjG036342; Wed, 29 Oct 2003 22:40:41 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9U5eUdC036341; Wed, 29 Oct 2003 22:40:30 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 29 Oct 2003 22:40:29 -0700 From: Greg Lewis To: Kris Kennaway Message-ID: <20031030054029.GA36292@misty.eyesbeyond.com> References: <3F92E129.10307@veidit.net> <20031028034630.GC32916@VARK.homeunix.com> <20031028090337.E27950@carver.gumbysoft.com> <3FA01F71.1020203@adminforum.se> <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> <20031030020711.GA24468@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031030020711.GA24468@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: java@freebsd.org cc: David Schultz cc: Scott Long cc: current@freebsd.org cc: John Angelmo Subject: Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 05:38:49 -0000 On Wed, Oct 29, 2003 at 06:07:11PM -0800, Kris Kennaway wrote: > On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote: > > > I just tried running the Diablo JDK under -current from yesterday (with > > the libm fix from a few days ago). It does not look good; possibly an > > issue with both the compat libc and native libc being linked in? Maybe > > libm.so is still bringing in the native libc.so? We don't install the > > 4.x libm into compat, and I don't have any 4.x machine around to steal it > > from, so I can't test out that theory. > > With help from peter and dwhite, we tracked down the cause to the following: > > ./jdk131.patches:+ dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > ./jdk131.patches:+ void *dlMain = dlopen("/usr/lib/libc.so", RTLD_LAZY); > > Java people, this is the cause of the binary incompatibility of 4.x > java binaries on 5.x. Can someone please fix? I think its already fixed in CVS. I'll try and test it tomorrow. Does anyone know if ref5 has been updated to after the libm fix? I don't have a -CURRENT box at home to test on. -- 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 Oct 29 22:27:12 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8083A16A4CE; Wed, 29 Oct 2003 22:27:12 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 481E943F3F; Wed, 29 Oct 2003 22:27:11 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id D37FF66D74; Wed, 29 Oct 2003 22:27:10 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 95AB6B12; Wed, 29 Oct 2003 22:27:10 -0800 (PST) Date: Wed, 29 Oct 2003 22:27:10 -0800 From: Kris Kennaway To: Greg Lewis Message-ID: <20031030062710.GA26163@rot13.obsecurity.org> References: <3F92E129.10307@veidit.net> <20031028034630.GC32916@VARK.homeunix.com> <20031028090337.E27950@carver.gumbysoft.com> <3FA01F71.1020203@adminforum.se> <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> <20031030020711.GA24468@rot13.obsecurity.org> <20031030054029.GA36292@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20031030054029.GA36292@misty.eyesbeyond.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org cc: John Angelmo cc: java@freebsd.org cc: David Schultz cc: Kris Kennaway cc: Scott Long Subject: Re: java binary incompatibility on 5.x (Re: __fpclassifyd problem) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 06:27:12 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2003 at 10:40:29PM -0700, Greg Lewis wrote: > On Wed, Oct 29, 2003 at 06:07:11PM -0800, Kris Kennaway wrote: > > On Wed, Oct 29, 2003 at 03:28:32PM -0700, Scott Long wrote: > >=20 > > > I just tried running the Diablo JDK under -current from yesterday (wi= th > > > the libm fix from a few days ago). It does not look good; possibly an > > > issue with both the compat libc and native libc being linked in? May= be > > > libm.so is still bringing in the native libc.so? We don't install the > > > 4.x libm into compat, and I don't have any 4.x machine around to stea= l it > > > from, so I can't test out that theory. > >=20 > > With help from peter and dwhite, we tracked down the cause to the follo= wing: > >=20 > > ./jdk131.patches:+ dlMain =3D dlopen("/usr/lib/libc.so", RTLD_LAZY); > > ./jdk131.patches:+ void *dlMain =3D dlopen("/usr/lib/libc.so", R= TLD_LAZY); > >=20 > > Java people, this is the cause of the binary incompatibility of 4.x > > java binaries on 5.x. Can someone please fix? >=20 > I think its already fixed in CVS. I'll try and test it tomorrow. Does > anyone know if ref5 has been updated to after the libm fix? I don't have > a -CURRENT box at home to test on. You should be able to roll your own libm and use LD_LIBRARY_PATH. Kris --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/oK8+Wry0BWjoQKURAkPUAKCWPo7RiLv2d8d244TP6+fD5/hKbgCfZfPr pwNnFXdKo7c772WdNmvtM9M= =BS12 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-java@FreeBSD.ORG Wed Oct 29 23:49:29 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 623B616A4CE for ; Wed, 29 Oct 2003 23:49:29 -0800 (PST) Received: from mail.dti.supsi.ch (mail.die.supsi.ch [193.5.153.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B87A43FCB for ; Wed, 29 Oct 2003 23:49:25 -0800 (PST) (envelope-from robi@nunnari.ch) Received: from nunnari.ch (pcm2022.dti.supsi.ch [193.5.152.22]) by mail.dti.supsi.ch (8.11.6/8.11.6) with ESMTP id h9U7nK820921; Thu, 30 Oct 2003 08:49:20 +0100 Message-ID: <3FA0C280.7030505@nunnari.ch> Date: Thu, 30 Oct 2003 08:49:20 +0100 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Dixon References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 07:49:29 -0000 Bob Dixon wrote: > My group is developing in Java on FreeBSD, and we're interested in using an obfuscator to prevent reverse-engineering. Can anyone recommend one that runs on FreeBSD? Thanks! > > Bob > What about javaguard? I use it on windoze, but as it is written in java, I don't see any reason why it shouldn't work on FreeBSD as well. Best regards. -- Roberto Nunnari -software engineer- mailto:robi@nunnisoft.ch http://www.nunnisoft.ch Residenza Boschetto 12 tel/fax: +41-91-6046511 6935 Bosco Luganese """ mobile: +41-76-3208561 Switzerland (o o) ========================oOO==(_)==OOo======================== From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 00:08:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 553EA16A4CE for ; Thu, 30 Oct 2003 00:08:48 -0800 (PST) Received: from farkas.netalfa.hu (ip0.netalfa.net [195.228.254.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12DDE43FD7 for ; Thu, 30 Oct 2003 00:08:47 -0800 (PST) (envelope-from attila@netalfa.hu) Received: from netalfa.hu (166.22-182-adsl-pool.axelero.hu [81.182.22.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farkas.netalfa.hu (Postfix) with ESMTP id 9A1E854C025 for ; Thu, 30 Oct 2003 09:08:44 +0100 (CET) Message-ID: <3FA0C6A0.4080107@netalfa.hu> Date: Thu, 30 Oct 2003 09:06:56 +0100 From: =?ISO-8859-2?Q?bogn=E1r_attila?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.5) Gecko/20031007 X-Accept-Language: hu, fr, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <1067473864.20349.1.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1067473864.20349.1.camel@pcgem.rdg.cyberkinetica.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 08:08:48 -0000 Antony T Curtis írta: > On Wed, 2003-10-29 at 20:05, Bob Dixon wrote: > >> My group is developing in Java on FreeBSD, and we're interested in using an obfuscator to prevent reverse-engineering. Can anyone recommend one that runs on FreeBSD? Thanks! > > > Jopt does a pretty good job of obfuscating... and results in > lighter-weight executables in the process. > > For added bonus, you can use it on your java runtime jars for faster > startup time. Warning - it does make debugging more difficult. Some others: yguard - http://www.yworks.com/en/products_yguard_about.htm retroguard - http://www.retrologic.com/retroguard-main.html jax - http://www.alphaworks.ibm.com/tech/JAX dasho - http://www.preemptive.com/tools/ I am using yguard, there is an ant task available for it, so it is very practical. Before yguard I used retroguard (yguard is based on this one) and tested JAX. JAX _seemed_ the best, but it is/was not free (not sure of its status now, it was years ago). I did not try dasho (not free). attila From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 00:27:17 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EE2416A4CE for ; Thu, 30 Oct 2003 00:27:17 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 189B343FE9 for ; Thu, 30 Oct 2003 00:27:16 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9U8R48n041046; Thu, 30 Oct 2003 10:27:04 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9U8R3oN053870; Thu, 30 Oct 2003 10:27:03 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <3FA0CB5F.1030806@noc.ntua.gr> Date: Thu, 30 Oct 2003 10:27:11 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031024 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: Greg Lewis References: <20031029222455.GA34102@misty.eyesbeyond.com> In-Reply-To: <20031029222455.GA34102@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Bob Dixon cc: java@freebsd.org Subject: Re: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 08:27:17 -0000 Greg Lewis wrote: > On Wed, Oct 29, 2003 at 03:05:21PM -0500, Bob Dixon wrote: > >> My group is developing in Java on FreeBSD, and we're interested in >> using an obfuscator to prevent reverse-engineering. Can anyone >> recommend one that runs on FreeBSD? Thanks! > > > I have no experience with it, but the ports collection contains one: > > java/proguard > > Port looks a little out of date though. I use it extensively for J2ME projects. It can be used as an ant task, too. -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 06:16:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F3FE16A4CF for ; Thu, 30 Oct 2003 06:16:57 -0800 (PST) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 966AF43F75 for ; Thu, 30 Oct 2003 06:16:42 -0800 (PST) (envelope-from antony.t.curtis@ntlworld.com) Received: from [10.10.10.100] ([81.98.110.96]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031030141640.NHYQ1593.mta01-svc.ntlworld.com@[10.10.10.100]>; Thu, 30 Oct 2003 14:16:40 +0000 From: Antony T Curtis To: Bob Dixon In-Reply-To: References: Content-Type: text/plain Message-Id: <1067523383.20349.6.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 30 Oct 2003 14:16:23 +0000 Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: RE: Java Obfuscators X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 14:16:57 -0000 On Thu, 2003-10-30 at 13:36, Bob Dixon wrote: > Can you offer any clues as to where to find it? Google produced an empty CVS directory and a bunch of French language pages. > > Thanks! Hmm... JOpt (and it's author) appears to have disappeared... There is JoGa (which is supposed to perform the same kind of operations) Oh well - I still have the binary jar which I use. -- Antony T Curtis BSc Unix Analyst Programmer http://homepage.ntlworld.com/antony.t.curtis/ From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 08:30:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 707CE16A4CE for ; Thu, 30 Oct 2003 08:30:18 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FEAC43FE0 for ; Thu, 30 Oct 2003 08:30:15 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id ABFB1BD00DC; Thu, 30 Oct 2003 11:27:39 -0500 Message-ID: <3FA13C93.8010105@xsb.com> Date: Thu, 30 Oct 2003 11:30:11 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 16:30:18 -0000 While attempting to build jdk14 last night, I received the following error: # # HotSpot Virtual Machine Error, assertion failure # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) # # assert(VM_Version::is_P6() || dest->has_byte_register(), "must use byte registers if not P6") # # Error ID: /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, 1145 # # Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable # Dumping core.... Abort trap (core dumped) gmake[3]: *** [.compile.classlist] Error 134 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' gmake[2]: *** [debug] Error 2 `uname -a`: FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Sat Sep 20 01:23:28 EDT 2003 root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN i386 I have seen a few messages where people describe similar problems, but haven't been able to find a thread where the problem was solved. Any ideas? Thanks, --Chris From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 08:45:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34F9816A4CF for ; Thu, 30 Oct 2003 08:45:03 -0800 (PST) Received: from ndsuext.nodak.edu (ndsuext.NoDak.edu [134.129.92.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2426D43FCB for ; Thu, 30 Oct 2003 08:45:00 -0800 (PST) (envelope-from echriste@702com.net) Received: from dyn231.iacc-tm4.ndsu.NoDak.edu (dyn231.iacc-tm4.ndsu.NoDak.edu [134.129.92.231]) by ndsuext.nodak.edu (8.11.6/8.11.6) with ESMTP id h9UGiSE10960; Thu, 30 Oct 2003 10:44:29 -0600 From: "Eric J. Christeson" To: Christopher Rued In-Reply-To: <3FA13C93.8010105@xsb.com> References: <3FA13C93.8010105@xsb.com> Content-Type: text/plain Message-Id: <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 30 Oct 2003 10:44:24 -0600 Content-Transfer-Encoding: 7bit X-NDSUAG-MailScanner-Information: Please contact the ISP for more information X-NDSUAG-MailScanner: Found to be clean cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 16:45:03 -0000 On Thu, 2003-10-30 at 10:30, Christopher Rued wrote: > While attempting to build jdk14 last night, I received the following error: > > # > # HotSpot Virtual Machine Error, assertion failure > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM > (1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) > # > # assert(VM_Version::is_P6() || dest->has_byte_register(), "must use > byte registers if not P6") > # > # Error ID: > /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, > 1145 > # > # Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable > # > Dumping core.... > Abort trap (core dumped) > gmake[3]: *** [.compile.classlist] Error 134 > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > gmake[2]: *** [debug] Error 2 > > > `uname -a`: > FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD > 4.9-PRERELEASE #0: > Sat Sep 20 01:23:28 EDT 2003 > root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN i386 I've had this problem in the past too. There used to be a work-around patch files/patch-common::Defs.gmk, but it was removed with the commit on Sat Oct 11 05:16:50 2003 UTC Was this oversight, or are us K6 owners not supposed to use this anymore? e -- Eric J. Christeson From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 08:48:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6A0316A4CE for ; Thu, 30 Oct 2003 08:48:37 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FE643FAF for ; Thu, 30 Oct 2003 08:48:36 -0800 (PST) (envelope-from rootman22@comcast.net) Received: from 12-209-185-111.client.attbi.com ([12.209.185.111]) by comcast.net (sccrmhc13) with SMTP id <2003103016483501600s44a3e>; Thu, 30 Oct 2003 16:48:35 +0000 From: Joe Warner To: Antony T Curtis Date: Thu, 30 Oct 2003 09:48:30 -0700 User-Agent: KMail/1.5.4 References: <200310250821.24466.rootman22@comcast.net> <200310251702.27618.rootman22@comcast.net> <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1067126895.4901.3.camel@pcgem.rdg.cyberkinetica.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310300948.30566.rootman22@comcast.net> cc: java@freebsd.org Subject: Re: Java Processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 16:48:38 -0000 On Saturday 25 October 2003 06:08 pm, Antony T Curtis wrote: > On Sun, 2003-10-26 at 00:02, Joe Warner wrote: > > On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote: > > > On Sat, 2003-10-25 at 15:21, Joe Warner wrote: > > > > Hi, > > > > > > > > Does anyone know how to control the number of Java processes that get > > > > spawned when running one of the variants in /usr/ports/java..? I'm > > > > running linux-ibm-jdk1.3.1 and when I launch > > > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java > > > > and it's bringing my system to it's knees! There was an older version > > > > that I used to run that only spawned 1 process and my system could > > > > handle it fine. > > > > > > Each thread in a Linux binary becomes 1 process under FreeBSD. > > > > > > > I've looked through the supplied documentation, this list and even > > > > Google and can't find any instructions on how to limit these > > > > processes. > > > > > > Try using -classic option. > > > > What kind of option is that? Java command line or make option? > > The first option on the java command line. > > Alternatively, you can use JDK1.3 (Diablo) on FreeBSD, it will only > create one process. Ok, here's an update on this.. The -classic command option had no effect so I installed /usr/ports/java/ diablo-jdk13 and it's been rock solid all week. 8^) Thanks for all your help on this! Joe From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 09:07:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61DB416A4CE for ; Thu, 30 Oct 2003 09:07:03 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6522943F93 for ; Thu, 30 Oct 2003 09:07:02 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 1AFGGC-0002Bu-02 for freebsd-java@freebsd.org; Thu, 30 Oct 2003 10:07:01 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 1AFGFL-0001Qi-02; Thu, 30 Oct 2003 10:06:08 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9UH89jG040525; Thu, 30 Oct 2003 10:08:09 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9UH86WL040524; Thu, 30 Oct 2003 10:08:06 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 30 Oct 2003 10:08:06 -0700 From: Greg Lewis To: "Eric J. Christeson" Message-ID: <20031030170806.GA40447@misty.eyesbeyond.com> References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr2.xmission.com X-Spam-Status: No, hits=-1.4 required=8.0 tests=BAYES_20 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:07:03 -0000 On Thu, Oct 30, 2003 at 10:44:24AM -0600, Eric J. Christeson wrote: > On Thu, 2003-10-30 at 10:30, Christopher Rued wrote: > I've had this problem in the past too. There used to be a work-around > patch files/patch-common::Defs.gmk, but it was removed with the commit > on Sat Oct 11 05:16:50 2003 UTC > > Was this oversight, or are us K6 owners not supposed to use this > anymore? This was an oversight. Sorry. -- 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 Thu Oct 30 09:07:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AF0116A4CE for ; Thu, 30 Oct 2003 09:07:57 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CF9B43FDF for ; Thu, 30 Oct 2003 09:07:56 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id A4D319A00C6; Thu, 30 Oct 2003 12:05:23 -0500 Message-ID: <3FA1456B.8080404@xsb.com> Date: Thu, 30 Oct 2003 12:07:55 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: "Eric J. Christeson" References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> In-Reply-To: <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:07:57 -0000 Eric J. Christeson wrote: >On Thu, 2003-10-30 at 10:30, Christopher Rued wrote: > > >>While attempting to build jdk14 last night, I received the following error: >> >># >># HotSpot Virtual Machine Error, assertion failure >># Please report this error at >># http://java.sun.com/cgi-bin/bugreport.cgi >># >># Java VM: Java HotSpot(TM) Client VM >>(1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) >># >># assert(VM_Version::is_P6() || dest->has_byte_register(), "must use >>byte registers if not P6") >># >># Error ID: >>/usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, >>1145 >># >># Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable >># >>Dumping core.... >>Abort trap (core dumped) >>gmake[3]: *** [.compile.classlist] Error 134 >>gmake[3]: Leaving directory >>`/usr/ports/java/jdk14/work/j2se/ext/plugin/make' >>gmake[2]: *** [debug] Error 2 >> >> >>`uname -a`: >> FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD >>4.9-PRERELEASE #0: >> Sat Sep 20 01:23:28 EDT 2003 >>root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN i386 >> >> > > >I've had this problem in the past too. There used to be a work-around >patch files/patch-common::Defs.gmk, but it was removed with the commit >on Sat Oct 11 05:16:50 2003 UTC > >Was this oversight, or are us K6 owners not supposed to use this >anymore? > > Thanks for the reply, Eric. You're right, the patch was removed http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/jdk14/files/Attic/patch-common::Defs.gmk But the source in my work directory seems to have the patch applied. I hunted around a bit, and it turns out that that patch made its way into patchset 4, so it was no longer needed in the files directory of the port. So, once again, I am stumped :-). Thanks, --Chris From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 09:24:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA0216A4CE for ; Thu, 30 Oct 2003 09:24:11 -0800 (PST) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED74543FB1 for ; Thu, 30 Oct 2003 09:24:09 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1AFGWm-0007pT-05 for freebsd-java@freebsd.org; Thu, 30 Oct 2003 10:24:08 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1AFGRO-00037l-05; Thu, 30 Oct 2003 10:18:34 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9UHKajG040630; Thu, 30 Oct 2003 10:20:37 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9UHKY4l040625; Thu, 30 Oct 2003 10:20:34 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 30 Oct 2003 10:20:34 -0700 From: Greg Lewis To: Christopher Rued Message-ID: <20031030172034.GB40447@misty.eyesbeyond.com> References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA1456B.8080404@xsb.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:24:11 -0000 On Thu, Oct 30, 2003 at 12:07:55PM -0500, Christopher Rued wrote: > Eric J. Christeson wrote: > >On Thu, 2003-10-30 at 10:30, Christopher Rued wrote: > > > > > >>While attempting to build jdk14 last night, I received the following > >>error: > >> > >># > >># HotSpot Virtual Machine Error, assertion failure > >># Please report this error at > >># http://java.sun.com/cgi-bin/bugreport.cgi > >># > >># Java VM: Java HotSpot(TM) Client VM > >>(1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) > >># > >># assert(VM_Version::is_P6() || dest->has_byte_register(), "must use > >>byte registers if not P6") > >># > >># Error ID: > >>/usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, > >>1145 > >># > >># Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable > >># > >>Dumping core.... > >>Abort trap (core dumped) > >>gmake[3]: *** [.compile.classlist] Error 134 > >>gmake[3]: Leaving directory > >>`/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > >>gmake[2]: *** [debug] Error 2 > >> > >> > >>`uname -a`: > >> FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD > >>4.9-PRERELEASE #0: > >> Sat Sep 20 01:23:28 EDT 2003 > >>root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN > >>i386 > >> > >> > > > > > >I've had this problem in the past too. There used to be a work-around > >patch files/patch-common::Defs.gmk, but it was removed with the commit > >on Sat Oct 11 05:16:50 2003 UTC > > > >Was this oversight, or are us K6 owners not supposed to use this > >anymore? > > > > > Thanks for the reply, Eric. > > You're right, the patch was removed > http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/jdk14/files/Attic/patch-common::Defs.gmk > > But the source in my work directory seems to have the patch applied. I > hunted around a bit, and it turns out that that patch made its way into > patchset 4, so it was no longer needed in the files directory of the port. Ah, that would explain why I removed it :). > So, once again, I am stumped :-). Asserts should only fire when using the debug version of something. Can you post a few lines above the problem or verify that the build was trying to do something with one of the *_g executables? -- 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 Thu Oct 30 09:27:53 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7607316A4CE for ; Thu, 30 Oct 2003 09:27:53 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8890243F75 for ; Thu, 30 Oct 2003 09:27:52 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id A97F22400D4; Thu, 30 Oct 2003 12:25:19 -0500 Message-ID: <3FA14A17.3000908@xsb.com> Date: Thu, 30 Oct 2003 12:27:51 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> In-Reply-To: <20031030172034.GB40447@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:27:53 -0000 Greg Lewis wrote: >On Thu, Oct 30, 2003 at 12:07:55PM -0500, Christopher Rued wrote: > > >>While attempting to build jdk14 last night, I received the following >>error: >> >># >># HotSpot Virtual Machine Error, assertion failure >># Please report this error at >># http://java.sun.com/cgi-bin/bugreport.cgi >># >># Java VM: Java HotSpot(TM) Client VM >>(1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) >># >># assert(VM_Version::is_P6() || dest->has_byte_register(), "must use >>byte registers if not P6") >># >># Error ID: >>/usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, >>1145 >># >># Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable >># >>Dumping core.... >>Abort trap (core dumped) >>gmake[3]: *** [.compile.classlist] Error 134 >>gmake[3]: Leaving directory >>`/usr/ports/java/jdk14/work/j2se/ext/plugin/make' >>gmake[2]: *** [debug] Error 2 >> >> >>`uname -a`: >> FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD >>4.9-PRERELEASE #0: >> Sat Sep 20 01:23:28 EDT 2003 >>root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN >>i386 >> >> >Asserts should only fire when using the debug version of something. >Can you post a few lines above the problem or verify that the build was >trying to do something with one of the *_g executables? > > Unfortunately, I didn't save the output as I compiled, and have now let the output scroll off of my screen. I have started a new compile, using 'script' to save the output. I should be able to get back to you in about a day or so :-). Thanks, --Chris From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 09:51:04 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE02D16A4CF for ; Thu, 30 Oct 2003 09:51:03 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D0043F85 for ; Thu, 30 Oct 2003 09:51:02 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id AEED26000CA; Thu, 30 Oct 2003 12:48:29 -0500 Message-ID: <3FA14F85.8060205@xsb.com> Date: Thu, 30 Oct 2003 12:51:01 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> In-Reply-To: <3FA14A17.3000908@xsb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:51:04 -0000 Christopher Rued wrote: > Greg Lewis wrote: > >> On Thu, Oct 30, 2003 at 12:07:55PM -0500, Christopher Rued wrote: >> >> >>> While attempting to build jdk14 last night, I received the following >>> error: >>> >>> # >>> # HotSpot Virtual Machine Error, assertion failure >>> # Please report this error at >>> # http://java.sun.com/cgi-bin/bugreport.cgi >>> # >>> # Java VM: Java HotSpot(TM) Client VM >>> (1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode) >>> # >>> # assert(VM_Version::is_P6() || dest->has_byte_register(), "must use >>> byte registers if not P6") >>> # >>> # Error ID: >>> /usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, >>> 1145 >> >> Asserts should only fire when using the debug version of something. >> Can you post a few lines above the problem or verify that the build was >> trying to do something with one of the *_g executables? > > Unfortunately, I didn't save the output as I compiled, and have now > let the output scroll off of my screen. I have started a new compile, > using 'script' to save the output. I should be able to get back to > you in about a day or so :-). Since I didn't do a `make clean` first, it finished a lot faster. Here's what it was trying to do when the assertion failed: ... gmake[3]: Entering directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' rm -f /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/.classes.list if [ -s /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/.classes.list ] ; \ then /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javac_g -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath /usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/port s/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../make/../src/solaris/cla sses:../../../make/../src/share/classes" -d /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/classes_g -g -source 1.4 \ ../src/share/converter/HTMLConverter.java ../src/share/converter/sun/plugin/converter/engine/AppletPieces.java ../src/share/converter/sun/plugin/converter/engine/ConvertFile.java ../src/share/converter/sun/plugin/co nverter/engine/ConvertSet.java ../src/share/converter/sun/plugin/converter/engine/DefaultSet.java ../src/share/converter/sun/plugin/converter/engine/ConverterProgressEvent.java ../src/share/converter/sun/plugin/converte r/engine/Converter.java ../src/share/converter/sun/plugin/converter/engine/ConverterProgressListener.java ../src/share/converter/sun/plugin/converter/engine/PluginConverter.java ../src/share/converter/sun/plugin/convert er/gui/ConverterGUI.java ../src/share/converter/sun/plugin/converter/gui/ProgressGUI.java ../src/share/converter/sun/plugin/converter/ResourceHandler.java ../src/share/converter/sun/plugin/converter/util/AdvancedDialog. java ../src/share/converter/sun/plugin/converter/util/BasicPrinter.java ../src/share/converter/sun/plugin/converter/util/FlexFilter.java ../src/share/converter/sun/plugin/converter/util/HelpDialog.java ../src/share/conv erter/sun/plugin/converter/util/NotDirectoryException.java ../src/share/converter/sun/plugin/converter/util/PrintManyPlaces.java ../src/share/converter/sun/plugin/converter/util/NotFileException.java ../src/share/conver ter/sun/plugin/converter/util/StdUtils.java ../src/share/converter/sun/plugin/converter/util/CommandLine.java ../src/share/converter/sun/plugin/converter/util/CommandLineException.java ../src/share/converter/sun/plugin/ converter/util/FileAccessException.java ../src/share/converter/sun/plugin/converter/resources/Converter.java ../src/share/converter/sun/plugin/converter/resources/Converter_de.java ../src/share/converter/sun/plugin/conv erter/resources/Converter_es.java ../src/share/converter/sun/plugin/converter/resources/Converter_fr.java ../src/share/converter/sun/plugin/converter/resources/Converter_it.java ../src/share/converter/sun/plugin/convert er/resources/Converter_ja.java ../src/share/converter/sun/plugin/converter/resources/Converter_ko.java ../src/share/converter/sun/plugin/converter/resources/Converter_sv.java ../src/share/converter/sun/plugin/converter/ resources/Converter_zh_CN.java ../src/share/converter/sun/plugin/converter/resources/Converter_zh_TW.java ; \ fi VM option 'ThreadStackSize=768' ... As you predicted, it's trying to use javac_g to compile several java classes. Should I change all *_g commands in the makefiles (or at least this particular javac_g command) to the corresponing non-_g command? Thanks again, --Chris From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 10:51:58 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B70DD16A4CE for ; Thu, 30 Oct 2003 10:51:58 -0800 (PST) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6807043FD7 for ; Thu, 30 Oct 2003 10:51:57 -0800 (PST) (envelope-from mark@s-wit.net) Received: from [192.168.101.251] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Thu, 30 Oct 2003 13:55:14 -0500 Message-ID: <000b01c39f17$6664c490$fb65a8c0@ocfl061> From: "M.D. DeWar" To: References: <3FA13C93.8010105@xsb.com><1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu><3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com><3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> Date: Thu, 30 Oct 2003 13:55:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: errors on libtool but its there and updated X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 18:51:58 -0000 => gmake-3.80 depends on shared library: intl.4 - not found ===> Verifying install for intl.4 in /usr/ports/devel/gettext ===> gettext-0.11.5_1 depends on executable: libtool - found ===> gettext-0.11.5_1 depends on shared library: iconv.3 - found ===> gettext-0.11.5_1 depends on shared library: expat.4 - found ===> Configuring for gettext-0.11.5_1 Your libtool installation is out of date. Please remove and reinstall /usr/ports/devel/libtool. I have libtool 1.5 on the system in /usr/local/bin piderman# libtool --version ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) gettext is updated to latest version. spiderman# gettext --version gettext (GNU gettext-runtime) 0.12.1 I put the gettext file in the /usr/ports/distfiles and no go. I saw that /usr/ports/devel/gettext had a work directory with the older 0.11.5 in it so I removed it and put in the new 0.12 but that didn't fool it either. What else can I do besides punting. Thanks mark From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 14:30:26 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 873F916A4CE for ; Thu, 30 Oct 2003 14:30:26 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8808643FB1 for ; Thu, 30 Oct 2003 14:30:25 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id A06881600CA; Thu, 30 Oct 2003 17:27:52 -0500 Message-ID: <3FA19100.2080001@xsb.com> Date: Thu, 30 Oct 2003 17:30:24 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <20031030203556.GA41868@misty.eyesbeyond.com> In-Reply-To: <20031030203556.GA41868@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 22:30:26 -0000 Greg Lewis wrote: >Look at j2se/make/common/Defs.gmk. It currently contains the patch to >set javah_g to javah on BSD. Try adding a similar thing for the JAVAC >variable. > I did what you said (here's a patch showing what I changed): --- j2se/make/common/Defs.gmk~ Wed Oct 29 16:42:00 2003 +++ j2se/make/common/Defs.gmk Thu Oct 30 16:41:03 2003 @@ -464,6 +464,7 @@ # --phantom ifeq ($(PLATFORM), bsd) JAVAH_CMD = $(BINDIR)/javah + JAVAC_CMD = $(BINDIR)/javac endif RMIC = $(BINDIR)/rmic$(SUFFIX) endif And then I ran `make install` from /usr/ports/java/jdk14. It still tries to use javac_g, and it still fails in exactly the same way :-(. I didn't run make clean first, but as far as I can tell, that shouldn't make a difference. I'm browing Makefiles and .gmk files right now trying to figure out why this change didn't seem to take hold. Does the patch look right to you? Do I need to do a `make clean`, `make patch`, apply my patch, and *then* `make install`? Thanks for your help. --Chris From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 15:03:27 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EDD16A564 for ; Thu, 30 Oct 2003 15:03:27 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C82243F75 for ; Thu, 30 Oct 2003 15:03:26 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1AFLp7-0005lS-03 for freebsd-java@freebsd.org; Thu, 30 Oct 2003 16:03:25 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1AFLp2-0005i8-03; Thu, 30 Oct 2003 16:03:20 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9UN5NjG042654; Thu, 30 Oct 2003 16:05:24 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9UN5Fe4042644; Thu, 30 Oct 2003 16:05:15 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 30 Oct 2003 16:05:14 -0700 From: Greg Lewis To: Christopher Rued Message-ID: <20031030230514.GA42573@misty.eyesbeyond.com> References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <20031030203556.GA41868@misty.eyesbeyond.com> <3FA19100.2080001@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA19100.2080001@xsb.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr3.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 23:03:27 -0000 On Thu, Oct 30, 2003 at 05:30:24PM -0500, Christopher Rued wrote: > Greg Lewis wrote: > > >Look at j2se/make/common/Defs.gmk. It currently contains the patch to > >set javah_g to javah on BSD. Try adding a similar thing for the JAVAC > >variable. > > > I did what you said (here's a patch showing what I changed): > > --- j2se/make/common/Defs.gmk~ Wed Oct 29 16:42:00 2003 > +++ j2se/make/common/Defs.gmk Thu Oct 30 16:41:03 2003 > @@ -464,6 +464,7 @@ > # --phantom > ifeq ($(PLATFORM), bsd) > JAVAH_CMD = $(BINDIR)/javah > + JAVAC_CMD = $(BINDIR)/javac > endif > RMIC = $(BINDIR)/rmic$(SUFFIX) > endif Thats not quite right. You need to redefine JAVAC, not JAVAC_CMD. > And then I ran `make install` from /usr/ports/java/jdk14. It still > tries to use javac_g, and it still fails in exactly the same way :-(. > I didn't run make clean first, but as far as I can tell, that shouldn't > make a difference. I'm browing Makefiles and .gmk files right now > trying to figure out why this change didn't seem to take hold. > > Does the patch look right to you? > Do I need to do a `make clean`, `make patch`, apply my patch, and *then* > `make install`? Depends how you are doing the patch. It sounds like you're just editing the file, so you probably don't need a make clean. If you were sticking the patch into the files directory then you would need to. -- 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 Fri Oct 31 00:11:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CBAA16A4CE for ; Fri, 31 Oct 2003 00:11:22 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id F338F43FD7 for ; Fri, 31 Oct 2003 00:11:18 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9V8BH8n094142; Fri, 31 Oct 2003 10:11:17 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9V8BDoN094550; Fri, 31 Oct 2003 10:11:16 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <3FA21930.7060901@noc.ntua.gr> Date: Fri, 31 Oct 2003 10:11:28 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031024 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: "M.D. DeWar" References: <3FA13C93.8010105@xsb.com><1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu><3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com><3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <000b01c39f17$6664c490$fb65a8c0@ocfl061> In-Reply-To: <000b01c39f17$6664c490$fb65a8c0@ocfl061> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: errors on libtool but its there and updated X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 08:11:22 -0000 M.D. DeWar wrote: > => gmake-3.80 depends on shared library: intl.4 - not found > ===> Verifying install for intl.4 in /usr/ports/devel/gettext > ===> gettext-0.11.5_1 depends on executable: libtool - found > ===> gettext-0.11.5_1 depends on shared library: iconv.3 - found > ===> gettext-0.11.5_1 depends on shared library: expat.4 - found > ===> Configuring for gettext-0.11.5_1 > Your libtool installation is out of date. Please remove > and reinstall /usr/ports/devel/libtool. > > I have libtool 1.5 on the system in /usr/local/bin > piderman# libtool --version > ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) > > gettext is updated to latest version. > spiderman# gettext --version > gettext (GNU gettext-runtime) 0.12.1 > > I put the gettext file in the /usr/ports/distfiles and no go. > > I saw that /usr/ports/devel/gettext had a work directory with the older > 0.11.5 in it so I removed it and put in the new 0.12 but that didn't fool it > either. > > What else can I do besides punting. > Thanks > mark cvsup your ports again, and you will get a new port skeleton for gmake, that depends on libintl.so.5 Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Fri Oct 31 06:37:45 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCD5D16A4CF for ; Fri, 31 Oct 2003 06:37:45 -0800 (PST) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FABE43FCB for ; Fri, 31 Oct 2003 06:37:44 -0800 (PST) (envelope-from mark@s-wit.net) Received: from [192.168.101.251] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Fri, 31 Oct 2003 09:41:01 -0500 Message-ID: <000701c39fbd$0e33b190$fb65a8c0@ocfl061> From: "M.D. DeWar" To: "Panagiotis Astithas" References: <3FA13C93.8010105@xsb.com><1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu><3FA1456B.8080404@xsb.com><20031030172034.GB40447@misty.eyesbeyond.com><3FA14A17.3000908@xsb.com><3FA14F85.8060205@xsb.com> <000b01c39f17$6664c490$fb65a8c0@ocfl061> <3FA21930.7060901@noc.ntua.gr> Date: Fri, 31 Oct 2003 09:41:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-java@freebsd.org Subject: Re: errors on libtool but its there and updated X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 14:37:46 -0000 Sorry for the dumbness but how is that done ? I have tried cvs in the past and didn't go off very well. THanks mark ----- Original Message ----- From: "Panagiotis Astithas" To: "M.D. DeWar" Cc: Sent: Friday, October 31, 2003 3:11 AM Subject: Re: errors on libtool but its there and updated > M.D. DeWar wrote: > > => gmake-3.80 depends on shared library: intl.4 - not found > > ===> Verifying install for intl.4 in /usr/ports/devel/gettext > > ===> gettext-0.11.5_1 depends on executable: libtool - found > > ===> gettext-0.11.5_1 depends on shared library: iconv.3 - found > > ===> gettext-0.11.5_1 depends on shared library: expat.4 - found > > ===> Configuring for gettext-0.11.5_1 > > Your libtool installation is out of date. Please remove > > and reinstall /usr/ports/devel/libtool. > > > > I have libtool 1.5 on the system in /usr/local/bin > > piderman# libtool --version > > ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58) > > > > gettext is updated to latest version. > > spiderman# gettext --version > > gettext (GNU gettext-runtime) 0.12.1 > > > > I put the gettext file in the /usr/ports/distfiles and no go. > > > > I saw that /usr/ports/devel/gettext had a work directory with the older > > 0.11.5 in it so I removed it and put in the new 0.12 but that didn't fool it > > either. > > > > What else can I do besides punting. > > Thanks > > mark > > cvsup your ports again, and you will get a new port skeleton for gmake, > that depends on libintl.so.5 > > Cheers, > -- > Panagiotis Astithas > Electrical & Computer Engineer, PhD > Network Management Center > National Technical University of Athens, Greece > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Fri Oct 31 07:18:09 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ECC216A4CE for ; Fri, 31 Oct 2003 07:18:09 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A1F43F3F for ; Fri, 31 Oct 2003 07:18:08 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id AC97B5F00DA; Fri, 31 Oct 2003 10:15:35 -0500 Message-ID: <3FA27D2E.6050609@xsb.com> Date: Fri, 31 Oct 2003 10:18:06 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <20031030203556.GA41868@misty.eyesbeyond.com> <3FA19100.2080001@xsb.com> <20031030230514.GA42573@misty.eyesbeyond.com> In-Reply-To: <20031030230514.GA42573@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 15:18:09 -0000 Greg Lewis wrote: >On Thu, Oct 30, 2003 at 05:30:24PM -0500, Christopher Rued wrote: > > >>I did what you said (here's a patch showing what I changed): >> >>--- j2se/make/common/Defs.gmk~ Wed Oct 29 16:42:00 2003 >>+++ j2se/make/common/Defs.gmk Thu Oct 30 16:41:03 2003 >>@@ -464,6 +464,7 @@ >> # --phantom >> ifeq ($(PLATFORM), bsd) >> JAVAH_CMD = $(BINDIR)/javah >>+ JAVAC_CMD = $(BINDIR)/javac >> endif >> RMIC = $(BINDIR)/rmic$(SUFFIX) >>endif >> >> >Thats not quite right. You need to redefine JAVAC, not JAVAC_CMD. > > Ah, you're right. I guess I wasn't careful enough. It's kinda strange that they chose to append _CMD in once case, and not the the others. Anyway, I redefined JAVAC to $(BINDIR)/javac and the build went farther, but failed in a similar way when jar_g was called. I then redefined JAR to $(BINDIR)/jar and restarted the build. After failing the build due to insufficient disk space, I created a patch in the files directory, ran `make clean install`. Everything then went smoothly, and I now have a working jdk14. My patch, which I put in files/patch-common::Defs.gmk: --- ../../j2se/make/common/Defs.gmk.orig Thu Oct 30 21:53:38 2003 +++ ../../j2se/make/common/Defs.gmk Thu Oct 30 20:13:05 2003 @@ -464,6 +464,8 @@ # --phantom ifeq ($(PLATFORM), bsd) JAVAH_CMD = $(BINDIR)/javah + JAVAC = $(BINDIR)/javac + JAR = $(BINDIR)/jar endif RMIC = $(BINDIR)/rmic$(SUFFIX) endif Thanks for the help. --Chris From owner-freebsd-java@FreeBSD.ORG Fri Oct 31 07:58:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D475916A4CE for ; Fri, 31 Oct 2003 07:58:48 -0800 (PST) Received: from iwmail.xpdial.com (iwgate.xpdial.com [68.156.89.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CAF443FAF for ; Fri, 31 Oct 2003 07:58:47 -0800 (PST) (envelope-from mark@s-wit.net) Received: from [192.168.101.251] by iwmail.xpdial.com (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.4.1)); Fri, 31 Oct 2003 11:02:05 -0500 Message-ID: <001301c39fc8$61199d10$fb65a8c0@ocfl061> From: "M.D. DeWar" To: "Panagiotis Astithas" References: <3FA13C93.8010105@xsb.com><1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu><3FA1456B.8080404@xsb.com><20031030172034.GB40447@misty.eyesbeyond.com><3FA14A17.3000908@xsb.com><3FA14F85.8060205@xsb.com> <000b01c39f17$6664c490$fb65a8c0@ocfl061> <3FA21930.7060901@noc.ntua.gr> <000701c39fbd$0e33b190$fb65a8c0@ocfl061> <3FA28124.8090807@noc.ntua.gr> Date: Fri, 31 Oct 2003 11:02:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-java@freebsd.org Subject: Re: errors on libtool but its there and updated X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 15:58:49 -0000 Great. that works except for a boo-boo pkg_add: warning: package 'gmake-3.80' requires 'gettext-0.11.5_1', but 'gettext -0.12.1' is installed arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhh and windows sucks why ? (just a whining joke.!) ----- Original Message ----- From: "Panagiotis Astithas" To: "M.D. DeWar" Cc: Sent: Friday, October 31, 2003 10:35 AM Subject: Re: errors on libtool but its there and updated > M.D. DeWar wrote: > > Sorry for the dumbness but how is that done ? > > I have tried cvs in the past and didn't go off very well. > > > > THanks > > mark > > In that case do a binary upgrade and you should be ok: > > pkg_add -r gmake > > For further information on using cvsup to update your ports see: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html > > section 4.5.1, cvsup method. > > Cheers, > -- > Panagiotis Astithas > Electrical & Computer Engineer, PhD > Network Management Center > National Technical University of Athens, Greece > > From owner-freebsd-java@FreeBSD.ORG Fri Oct 31 08:14:39 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CC5316A4CE for ; Fri, 31 Oct 2003 08:14:39 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id D265B43F93 for ; Fri, 31 Oct 2003 08:14:37 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) h9VGEaru080519; Fri, 31 Oct 2003 18:14:36 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id h9VGEaoN085388; Fri, 31 Oct 2003 18:14:36 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <3FA28A7D.4010509@noc.ntua.gr> Date: Fri, 31 Oct 2003 18:14:53 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031024 X-Accept-Language: el, en-us, en MIME-Version: 1.0 To: "M.D. DeWar" References: <3FA13C93.8010105@xsb.com><1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu><3FA1456B.8080404@xsb.com><20031030172034.GB40447@misty.eyesbeyond.com><3FA14A17.3000908@xsb.com><3FA14F85.8060205@xsb.com> <000b01c39f17$6664c490$fb65a8c0@ocfl061> <3FA21930.7060901@noc.ntua.gr> <000701c39fbd$0e33b190$fb65a8c0@ocfl061> <3FA28124.8090807@noc.ntua.gr> <001301c39fc8$61199d10$fb65a8c0@ocfl061> In-Reply-To: <001301c39fc8$61199d10$fb65a8c0@ocfl061> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@FreeBSD.ORG Subject: Re: errors on libtool but its there and updated X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 16:14:39 -0000 M.D. DeWar wrote: > Great. that works except for a boo-boo > pkg_add: warning: package 'gmake-3.80' requires 'gettext-0.11.5_1', but > 'gettext > -0.12.1' is installed > > arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhh > > and windows sucks why ? > (just a whining joke.!) On my system I get gmake-3.80_1, which requires gettext-0.12.1, actually. Somehow, you get the old version. You could either ignore it, or pkg_add -r gmake-3.80_1. If it doesn't work, fetch it manualy from ftp.freebsd.org and install it. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Sat Nov 1 10:01:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D89E316A4CE for ; Sat, 1 Nov 2003 10:01:24 -0800 (PST) Received: from md.swissinfo.org (md.swissinfo.org [146.159.4.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92A2943FAF for ; Sat, 1 Nov 2003 10:01:23 -0800 (PST) (envelope-from n_sidhaye@swissinfo.org) Received: from mail.swissinfo.org ([194.6.181.33]) by swissinfo.ch (md.swissinfo.org [146.159.6.10]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 14-md50000021902.tmp for ; Sat, 01 Nov 2003 19:01:15 +0100 Received: from CSoftLink.com (61.1.104.225) by mail.swissinfo.org (7.0.020) (authenticated as n_sidhaye) id 3F585D66002289C1 for freebsd-java@freebsd.org; Sat, 1 Nov 2003 19:01:11 +0100 Date: Sat, 01 Nov 2003 18:42:40 +0530 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=utf-8; format=flowed References: From: Nikhil Sidhaye MIME-Version: 1.0 Message-ID: In-Reply-To: User-Agent: Opera7.11/Linux M2 build 406 X-MDRemoteIP: 194.6.181.33 X-Return-Path: n_sidhaye@swissinfo.org X-MDaemon-Deliver-To: freebsd-java@freebsd.org X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) X-Spam-Processed: md.swissinfo.org, Sat, 01 Nov 2003 19:01:21 +0100 Subject: Invalid Content-Length in POST method X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: n_sidhaye@swissinfo.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 18:01:25 -0000 To all friends, Right now I am developing mobile solution (MIDlet). In one of module I wanted to post some data to resin HttpServer (Platform Unix variant). I got the error Invalid Content-Length 23,23. While 23 is the actual length passing to theHttpServer varying upon sending bytes. This happens if I omitted Content-Length Header. The interesting part is the same code works well in J2ME Simulator. In simulator if I changed case of content-length then error occurs. But on real device Nokia 3650 any way the server sends response Invalid Content- Length 23, 23. Is there is specific sequence to set request properties (POST Headers)? Thanks in Advance. ./Nikhil -- Using M2, Opera's revolutionary linux e-mail client: http://www.opera.com/m2/ From owner-freebsd-java@FreeBSD.ORG Sat Nov 1 20:14:38 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B5C816A4CE for ; Sat, 1 Nov 2003 20:14:38 -0800 (PST) Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE2FD43F3F for ; Sat, 1 Nov 2003 20:14:36 -0800 (PST) (envelope-from shudo@computer.org) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id hA24EW3H026141; Sun, 2 Nov 2003 13:14:32 +0900 (JST) env-from (shudo@computer.org) Received: from smtp2.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id hA24EVgo026892; Sun, 2 Nov 2003 13:14:31 +0900 (JST) env-from (shudo@computer.org) Received: from aist.go.jp by smtp2.aist.go.jp with ESMTP id hA24EUiJ009402; Sun, 2 Nov 2003 13:14:31 +0900 (JST) env-from (shudo@computer.org) Date: Sun, 02 Nov 2003 13:14:28 +0900 (JST) Message-Id: <20031102.131428.783373620.shudo@localhost> To: freebsd-java@freebsd.org From: shudo@computer.org In-Reply-To: <20030703.190531.299490113.shudo@localhost> References: <20030702.141346.607956687.shudo@localhost> <20030702142029.4fa5b862.daichi@freebsd.org> <20030703.190531.299490113.shudo@localhost> X-Mailer: Mew version 3.3 on XEmacs 21.4.12 (Portable Code) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: JDK 1.1.8 V1999-11-9 on recent FBSD 4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 04:14:38 -0000 All, I cvsup'ed my FreeBSD box to 4.9-STABLE just after the release of FBSD 4.9R and could confirm JDK 1.1.8 (1999/11/9) works well on the box. The problem I explained below has gone away. Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ > Message-Id: <20030703.190531.299490113.shudo@localhost> > Subject: Re: JDK 1.1.8 V1999-11-9 on recent FBSD 4 > From: shudo@computer.org > Date: Thu, 03 Jul 2003 19:05:31 +0900 (JST) > Thanks for you suggestion, Daichi. > > I could see the rationale of my trouble by further investigation. The > JDK 1.1.8 binary release cannot work on recent FBSD 4.x systems in > nature. Generally, this problem happens when a program try to use > both the libc of the compat3x port and a FBSD 4's library using stdin, > stdout or stderr. > > > > > I tried to run JDK 1.1.8 V1999-11-9 (ELF version) on my FreeBSD > > > 4.8-STABLE box. It could not run and I had the following message: > > > > % java > > > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" > > JDK 1.1.8 uses the native libm of FreeBSD 4 and the libc of the > compat3x port as follows: > > % ldd /usr/local/jdk1.1.8/bin/i386/green_threads/java > /usr/local/jdk1.1.8/bin/i386/green_threads/java: > libjava.so => not found (0x0) > libxpg4.so.2 => /usr/local/lib/compat/libxpg4.so.2 (0x28066000) > libm.so.2 => /usr/lib/libm.so.2 (0x2806a000) > libc.so.3 => /usr/local/lib/compat/libc.so.3 (0x28085000) > > FBSD 4's libm expects the FBSD 3's libc to supply the symbols > __stdinp, __stdoutp and __stderrp as stdin, stdout and stderr > respectively. But the compat3x's libc does not supply them. > > In /usr/src/lib/libc/stdio/findfp.c of FBSD 4.8-STABLE: > > /* > * The following kludge is done to ensure enough binary compatibility > * with future versions of libc. Or rather it allows us to work with > * libraries that have been built with a newer libc that defines these > * symbols and expects libc to provide them. We only have need to support > * i386 and alpha because they are the only "old" systems we have deployed. > */ > FILE *__stdinp = &__sF[0]; > FILE *__stdoutp = &__sF[1]; > FILE *__stderrp = &__sF[2]; > > > So, there are several workarounds: > - Add __stdinp, __stdoutp and __stderrp to the compat3x's libc. > - Compile JDK 1.1.8 on a recent FBSD system. > (The patches to Sun's 1.1.8 are available.) > - Provide a small library supplying these symbols and load it > with JDK 1.1.8 somehow. > - ... > > I prefer the modification to the compat3x port because this problem is > not limited to Java, rather general to programs which need compat3x. > > Does someone have motivation to solve this problem? > I suppose no one is not using 1.1.8 on recent FBSD systems because we > have not seen such an trouble report on this list. > > > Kazuyuki Shudo shudo@computer.org http://www.shudo.net/