Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 14:43:51 GMT
From:      Pat Lashley <patl+freebsd@volant.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103227: java/jdk15 does not allow use of diablo to build on amd64
Message-ID:  <200609131443.k8DEhpXc064949@www.freebsd.org>
Resent-Message-ID: <200609131450.k8DEoIWR094897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103227
>Category:       ports
>Synopsis:       java/jdk15 does not allow use of diablo to build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 14:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pat Lashley
>Release:        
>Organization:
Applied Plasmonics
>Environment:
FreeBSD ix.appliedplasmonics.com 6.1-STABLE FreeBSD 6.1-STABLE #2: Fri Sep  8 17:34:51 EDT 2006    root@appliedplasmonics.com:/usr/obj/usr/src/sys/IX  amd64
>Description:
Building a JDK requires bootstrapping with a previously installed version.  If JDK or JRE is installed, the Makefile creates a dependency on a binary port.  In the past, the only binary ports available were for linux; but now there are native 'diablo' ports for the i386 and amd64 architectures.  The Makefile chooses the diablo port for i386; but not for amd64.
>How-To-Repeat:
On an amd64 system with no JDK/JRE installed:  cd /usr/ports/java/jdk ; make
>Fix:
 .if !defined(WITH_LINUX_BOOTSTRAP)
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386"  ||  ${MACHINE_ARCH} == "amd64"
 NATIVE_BOOTSTRAP_JDKS+=        ${LOCALBASE}/diablo-jdk1.5.0
 .endif
 NATIVE_BOOTSTRAP_JDKS+=        ${LOCALBASE}/jdk1.5.0 \
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609131443.k8DEhpXc064949>