From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 5 04:53:42 2007 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2FBD16A41A; Fri, 5 Oct 2007 04:53:41 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [63.240.77.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED9A13C43E; Fri, 5 Oct 2007 04:53:41 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from samus.cyberbotx.com ([68.62.97.217]) by comcast.net (sccrmhc11) with ESMTP id <20071005045340011007dg7ue>; Fri, 5 Oct 2007 04:53:40 +0000 Received: from localhost (localhost.cyberbotx.com [127.0.0.1]) by samus.cyberbotx.com (Postfix) with ESMTP id BC116173E7; Fri, 5 Oct 2007 00:53:39 -0400 (EDT) X-Virus-Scanned: amavisd-new at cyberbotx.com Received: from samus.cyberbotx.com ([127.0.0.1]) by localhost (samus.cyberbotx.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A8NJvdN1GuMP; Fri, 5 Oct 2007 00:53:24 -0400 (EDT) Received: from metroid (unknown [192.168.2.2]) by samus.cyberbotx.com (Postfix) with SMTP id 0C14B17069; Fri, 5 Oct 2007 00:53:23 -0400 (EDT) Message-ID: <15de01c8070b$a7fe8890$0f02000a@metroid> From: "Naram Qashat" To: , "Maho NAKATA" References: <200710042302.l94N21WS091068@freefall.freebsd.org> <20071005.095423.48510680.chat95@mac.com> Date: Fri, 5 Oct 2007 00:53:22 -0400 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.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Cc: freebsd-ports-bugs@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 04:53:42 -0000 The problem was that _JAVA_VERSION (from bsd.java.bk) was being set to "1.1 1.2 1.3 1.4 1.5 1.6" even though the Makefile for OpenOffice.org says JAVA_VERSION should be "1.4 1.5", and the reason is because USE_JAVA was before the include of bsd.port.pre.mk. I did have diablo-jdk15 installed, but OpenOffice.org won't compile with it, nor will it compile with JDK 1.6, which the port was trying to use before moving USE_JAVA. Moving USE_JAVA corrected the problem with _JAVA_VERSION so it would be properly set to "1.4 1.5" like it should, and let me use the jdk15 port as opposed to jdk16 or diablo-jdk15. Now, I don't know if this means the port should also be modified to not try to use the "freebsd" version but instead only work with the "bsdjava" version. I'll leave that up to you. But I experienced OpenOffice.org refusing to finish it's build with the "freebsd" diablo-jdk15 port installed. Thanks, Naram Qashat ----- Original Message ----- From: "Maho NAKATA" To: Cc: ; Sent: Thursday, October 04, 2007 8:54 PM Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > From: edwin@FreeBSD.org > Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > Date: Thu, 04 Oct 2007 23:02:01 +0000 (GMT) > > > Synopsis: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > > > > Responsible-Changed-From-To: freebsd-ports-bugs->openoffice > > Responsible-Changed-By: edwin > > Responsible-Changed-When: Thu Oct 4 23:02:00 UTC 2007 > > Responsible-Changed-Why: > > Over to maintainer (via the GNATS Auto Assign Tool) > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=116906 > > I don't object for committing your patch but, I'm not clear about your patch. > > I tried by > > # mv /usr/local/diablo-jdk1.5.0 /usr/local/diablo-jdk1.5.0_ > root# make > ===> openoffice.org-2.3.0_1 depends on file: /usr/local/diablo-jdk1.5.0/bin/java - not found > ===> Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in /usr/ports/java/diablo-jdk15 > ===> diablo-jdk-1.5.0.07.01_7 : > Because of licensing restrictions, you must fetch the distribution > manually. > > Please open http://java.sun.com/javase/downloads/index.jsp > in a web browser and follow the "Download" link for > "JDK US DST Timezone Update Tool - 1.2.2" to obtain the > time zone update file, tzupdater-1_2_2-2007g.zip. > > .*** Error code 1 > > Stop in /work/cvsup/ports/java/diablo-jdk15. > *** Error code 1 > > Stop in /work/ports/editors/openoffice.org-2. > > > It means that JDK 1.5 is properly selected for FreeBSD 6, or I'm missing something? > > > _______________________________________________ > freebsd-ports-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.0/1048 - Release Date: 10/3/2007 8:22 PM > >