From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 15:29:48 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0364106567A for ; Mon, 14 Jul 2008 15:29:48 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id BB5D48FC0A for ; Mon, 14 Jul 2008 15:29:48 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id m6EFTSKN006690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Jul 2008 11:29:28 -0400 (EDT) (envelope-from rnoland@2hip.net) From: Robert Noland To: Greg Lewis In-Reply-To: <20080713040143.GA97115@misty.eyesbeyond.com> References: <20080606125256.18626i78v3uh2q04@intranet.encontacto.net> <3F003A29-433F-4D28-976C-2495325AA8CC@gmail.com> <20080713040143.GA97115@misty.eyesbeyond.com> Content-Type: text/plain Organization: 2Hip Networks Date: Mon, 14 Jul 2008 11:29:22 -0400 Message-Id: <1216049362.10267.9.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL autolearn=no version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: Garrett Cooper , freebsd-ports Subject: Re: I can't ge jdk16 on AMD64 Current to compile, nor jdk15 that I need to build OpenOffice. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 15:29:48 -0000 On Sat, 2008-07-12 at 21:01 -0700, Greg Lewis wrote: > On Sat, Jul 12, 2008 at 02:05:33PM -0700, Garrett Cooper wrote: > > On Jun 6, 2008, at 10:52 AM, eculp wrote: > > > > >I've not been able to get OpenOffice to compile on my AMD64-2 > > >Current8 because first it will not accept diablo-jdk15 and neither > > >jdk15 or jdk16 finish compiling. > > > > > ># uname -a > > >FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #114: Mon > > >Jun 2 05:44:28 CDT 2008 root@ed.local.net.mx:/usr/obj/usr/src/ > > >sys/ENCONTACTO amd64 > > > > > >jdk16 breaks at hotspot with: > > > > > > gmake -f /almacen1/ports/java/jdk16/work/hotspot/build/ > > >bsd/Makefile \ > > > LP64=1 HOTSPOT_BUILD_VERSION=1.6.0_03-p4- > > >root_06_jun_2008_12_47-b00 JAVA_HOME=/usr/local/diablo-jdk1.5.0 > > >GAMMADIR=/almacen1/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y > > >product > > >gmake[3]: Entering directory `/almacen1/ports/java/jdk16/work/ > > >control/build/bsd-amd64/hotspot/outputdir' > > >gmake -f /almacen1/ports/java/jdk16/work/hotspot/build/bsd/Makefile > > >checks > > >gmake[4]: Entering directory `/almacen1/ports/java/jdk16/work/ > > >control/build/bsd-amd64/hotspot/outputdir' > > >/usr/local/diablo-jdk1.5.0/bin/javap > > >javax.xml.transform.TransformerFactory > /dev/null 2>&1; \ > > > if [ $? -ne 0 ]; then \ > > > /usr/local/diablo-jdk1.5.0/bin/java -version; \ > > > echo "*** An XSLT processor (J2SE 1.4.x or newer) is > > >required" \ > > > "to bootstrap this build" 1>&2; \ > > > exit 1; \ > > > fi > > >Fatal error 'kse_create() failed > > > > > >and jdk15 a bit differently but also at hotspot: > > > > > >External File/Binary Locations: > > > HOTSPOT_SERVER_PATH = /almacen1/ports/java/jdk15/work/control/ > > >build/bsd-amd64/hotspot-amd64/server > > > HOTSPOT_IMPORT_PATH = /almacen1/ports/java/jdk15/work/control/ > > >build/bsd-amd64/hotspot-amd64/import > > > MOTIF_DIR = /usr/local > > > CACERTS_FILE = ./../src/share/lib/security/cacerts > > > > > > No setting required for Unix Systems > > >WARNING: Your are not building SPONSORS workspace from > > > the control build. This will result in a development-only > > > build of the J2SE workspace, lacking the installation bundles > > > > > >WARNING: Your FreeBSD installation is not valid for building a > > > the J2SDK. You must be using FreeBSD 5.[345]|6.*. > > > Your release is 8.0-CURRENT > > > > > >ERROR: Your BOOTDIR environment variable does not point > > > to a valid Java 2 SDK for bootstrapping this build. > > > A Java 2 SDK 5.0_14 build must be bootstrapped using > > > J2SDK 1.4.2 fcs (or later). > > > Apparently, your bootstrap JDK is version > > > Please update your ALT_BOOTDIR setting and start your build > > >again. > > > > > >Exiting because of the above error(s). > > > > > >Any suggestions appreciated. > > > > > >ed > > > > Ed, > > KSE support from CURRENT was yanked recently > > (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-03/msg00298.html > > ). You can't use prebuilt java binaries for building later copies of > > Java... > > Not sure how to build Java from scratch. > > You could try installing say linux-sun-jdk15 or linux-sun-jdk16 and > specifying WITH_LINUX_BOOTSTRAP when compiling jdk15 or jdk16. I'm not sure where to post this so that people find it more readily, but I've stated before that adding the following to /etc/libmap.conf gets diablo working on -CURRENT and allows the building of native jdk*. libpthread.so.1 libthr.so.1 libpthread.so.2 libthr.so.2 libkse.so.3 libthr.so.3 robert. -- Robert Noland 2Hip Networks