From manioc@kosher.onlinephonestore.net  Tue Sep 23 14:04:43 2003
Return-Path: <manioc@kosher.onlinephonestore.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E410C16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2003 14:04:43 -0700 (PDT)
Received: from kosher.onlinephonestore.net (kosher.onlinephonestore.net [65.39.205.36])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2CE2D44008
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2003 14:04:43 -0700 (PDT)
	(envelope-from manioc@kosher.onlinephonestore.net)
Received: (qmail 72060 invoked by uid 0); 23 Sep 2003 21:04:40 -0000
Message-Id: <20030923210440.72059.qmail@kosher.onlinephonestore.net>
Date: 23 Sep 2003 21:04:40 -0000
From: Chung Lau <clau@cs.cmu.edu>
Reply-To: Chung Lau <clau@cs.cmu.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: unexhaustive check for installed linux jdk 1.4 distributions in bsd.java.mk
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57142
>Category:       java
>Synopsis:       unexhaustive check for installed linux jdk 1.4 distributions in bsd.java.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    znerd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 14:10:17 PDT 2003
>Closed-Date:    Wed Sep 24 00:56:49 PDT 2003
>Last-Modified:  Wed Sep 24 01:10:41 PDT 2003
>Originator:     manioc
>Release:        FreeBSD 4.7-RELEASE-p9 i386
>Organization:
none
>Environment:
System: FreeBSD kosher.onlinephonestore.net 4.7-RELEASE-p9 FreeBSD 4.7-RELEASE-p9 #1: Sat Mar 22 19:38:26 EST 2003 manioc@panasonicphonestore.net:/usr/obj/usr/src/sys/KOSHER i386
>Description:
when installing any port with USE_JAVA=1.3+, bsd.java.mk doesn't check whether or not
blackdown 1.4 and IBM 1.4 distributions of the jdk is installed.

the following msg appears when you attempt to install j2sdkee13

===>  Extracting for j2sdkee-1.3.1_02
>How-To-Repeat:
1. install blackhawk OR ibm jdk 1.4 port
2. install j2sdkee13 port

>Fix:
-------------------------------------------------------------------------------
in file /usr/ports/Mk/bsd.java.mk
line 258:
---                           !defined(HAVE_JAVA_SUN_LINUX_1_4)
+++ !defined(HAVE_JAVA_SUN_LINUX_1_4) || \   
                                 !defined(HAVE_JAVA_BLACKDOWN_LINUX_1_4) || \
                                 !defined(HAVE_JAVA_IBM_LINUX_1_4)
-------------------------------------------------------------------------------

i believe this works.  too lazy to verify this.  I defined USE_JAVA=1.4 explicitly
in j2sdkee13 to get it installed.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-java->znerd 
Responsible-Changed-By: znerd 
Responsible-Changed-When: Wed Sep 24 00:33:56 PDT 2003 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57142 
State-Changed-From-To: open->closed 
State-Changed-By: znerd 
State-Changed-When: Wed Sep 24 00:54:55 PDT 2003 
State-Changed-Why:  
Will not be looked into until after bsd.java.mk 2.0 is committed. 
We will not commit bsd.java.mk 2.0 until the ports tree is not 
semi-frozen anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57142 

From: Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
To: freebsd-gnats-submit@FreeBSD.org, clau@cs.cmu.edu,
	Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc: Greg Lewis <glewis@FreeBSD.org>, java@FreeBSD.org
Subject: Re: java/57142: unexhaustive check for installed linux jdk 1.4 distributions in bsd.java.mk
Date: Wed, 24 Sep 2003 09:54:45 +0200

 Except for urgent fixes I won't make any changes to the bsd.java.mk file 
 until bsd.java.mk 2.0 is committed.
 
 Herve, could you check if your bsd.java.mk 2.0 covers this issue?
 
 Ernst
 
>Unformatted:
 >> Checksum OK for j2sdkee-1_3_1-linux.tar.gz.
 ===>  Patching for j2sdkee-1.3.1_02
 ===>   j2sdkee-1.3.1_02 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - not found
 ===>    Verifying install for /usr/local/diablo-jdk1.3.1/bin/java in /usr/ports/java/diablo-jdk13
 ===>  diablo-jdk-1.3.1.0 :
  Because of licensing restrictions, you must fetch the distribution
  manually.  Please access
  
  http://www.FreeBSDFoundation.org/cgi-bin/download.cgi?package=diablo-caffe-1.3.1-0.tar.bz2
  
  with a web browser and "Accept" the End User License Agreement for
  "Caffe Diablo ".  Please place the downloaded
  diablo-caffe-1.3.1-0.tar.bz2 in /usr/ports/distfiles.
 .*** Error code 1
 
 Stop in /usr/ports/java/diablo-jdk13.
 *** Error code 1
 
 Stop in /usr/ports/java/j2sdkee13.
 
 
 
