From owner-freebsd-eclipse@FreeBSD.ORG Tue Oct 25 01:43:16 2011 Return-Path: Delivered-To: eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13133106566B for ; Tue, 25 Oct 2011 01:43:16 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id D24EF8FC13 for ; Tue, 25 Oct 2011 01:43:14 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p9P1IOEk023511; Mon, 24 Oct 2011 18:18:24 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p9P1IMsd023510; Mon, 24 Oct 2011 18:18:22 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 24 Oct 2011 18:18:21 -0700 From: Greg Lewis To: Jens Schweikhardt Message-ID: <20111025011821.GA23479@misty.eyesbeyond.com> References: <20111023115557.GA36227@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111023115557.GA36227@schweikhardt.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: eclipse@freebsd.org Subject: Re: The secret of a successful eclipse installation X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 01:43:16 -0000 On Sun, Oct 23, 2011 at 01:55:57PM +0200, Jens Schweikhardt wrote: > I'm trying to do some QA work for the upcoming 9.0 Release, i.e. my system is i386, > 9.0-RC1 FreeBSD 9.0-RC1 #1 r226629: Sat Oct 22 13:53:04 CEST 2011 > > I've updated the ports tree to the latest and greatest but for many months > I've been unable to install eclipse and am finally at a point where I need > to dig into the root cause, because I believe everybody else has no problems > with eclipse. > > The failure mode is reproducible: > $ cd /usr/ports/java/eclipse > $ make install BATCH=yes > [...] > Creating test_gamma ... > ( \ > echo '#!/bin/sh'; \ > echo "# Generated by /usr/ports/java/openjdk6/work/hotspot/make/bsd/makefiles/buildtree.make"; \ > echo '. ./env.sh'; \ > echo "if [ \"\" != \"\" ]; then { echo "Cross compiling for ARCH , skipping gamma run."; exit 0; }; fi"; \ > echo "if [ -z \$JAVA_HOME ]; then { echo "JAVA_HOME must be set to run this test."; exit 0; }; fi"; \ > echo "if ! \${JAVA_HOME}/bin/java -d64 -fullversion 2>&1 > /dev/null"; \ > echo "then"; \ > echo " echo "JAVA_HOME must point to 64bit JDK."; exit 0;"; \ > echo "fi"; \ > echo "rm -f Queens.class"; \ > echo "\${JAVA_HOME}/bin/javac -d . /usr/ports/java/openjdk6/work/hotspot/make/test/Queens.java"; \ > echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ > echo './${gamma:-gamma} -Xbatch -showversion Queens < /dev/null'; \ > ) > test_gamma > chmod +x test_gamma > gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/profiled' > touch bsd_amd64_compiler2/profiled > gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' > cd bsd_amd64_compiler2/product && gmake -w " LP64=1 " > gmake[5]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' > cd /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product/../generated; cp /usr/ports/java/openjdk6/work/hotspot/make/bsd/platform_amd64 /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/platform.current > gmake[6]: Entering directory `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd64_compiler2/product' > gmake[6]: *** No rule to make target `/usr/ports/java/openjdk6/work/hotspot/src/cpu/i386/vm/x86_64.ad', needed by `../generated/adfiles/bsd_x86_64.ad'. Stop. > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. FWIW, the problem is in openjdk6, not eclipse. > Why is it trying to create a file for x86_64 when the machine is a i386? > Is it important to install a specific version/vendor of java prior to installing eclipse? > Are there configuration options I should use/avoid? This is kinda weird. It's putting the build into bsd-i386 (IIRC the standard directory for a build on an amd64 machine is bsd-amd64), but on the other hand it's building the amd64 HotSpot code. There is obviously something that is confusing the architecture detection code here. It should be trying to compile the i486 HotSpot code instead. I don't have any immediate idea as to what that may be, but that is definitely the place to look at. > Thanks for any insight! > > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) > _______________________________________________ > freebsd-eclipse@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse > To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org