From owner-freebsd-eclipse@FreeBSD.ORG Mon Oct 24 17:45:15 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 10CE7106564A for ; Mon, 24 Oct 2011 17:45:15 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA4D8FC12 for ; Mon, 24 Oct 2011 17:45:14 +0000 (UTC) Received: from [212.182.167.131] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1RIOOk-0006k4-Ds; Mon, 24 Oct 2011 19:33:18 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 19D171550; Mon, 24 Oct 2011 19:33:14 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: eclipse@freebsd.org, "Jens Schweikhardt" References: <20111023115557.GA36227@schweikhardt.net> Date: Mon, 24 Oct 2011 19:33:14 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <20111023115557.GA36227@schweikhardt.net> User-Agent: Opera Mail/11.51 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: 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: Mon, 24 Oct 2011 17:45:15 -0000 On Sun, 23 Oct 2011 13:55:57 +0200, Jens Schweikhardt =20 wrote: > hello, world\n > > I'm trying to do some QA work for the upcoming 9.0 Release, i.e. my =20 > 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 =20 > months > I've been unable to install eclipse and am finally at a point where I =20 > need > to dig into the root cause, because I believe everybody else has no =20 > problems > with eclipse. > > The failure mode is reproducible: > $ cd /usr/ports/java/eclipse > $ make install BATCH=3Dyes > [...] > Creating test_gamma ... > ( \ > echo '#!/bin/sh'; \ > echo "# Generated by =20 > /usr/ports/java/openjdk6/work/hotspot/make/bsd/makefiles/buildtree.make= "; =20 > \ > echo '. ./env.sh'; \ > echo "if [ \"\" !=3D \"\" ]; then { echo "Cross compiling for ARCH , =20 > skipping gamma run."; exit 0; }; fi"; \ > echo "if [ -z \$JAVA_HOME ]; then { echo "JAVA_HOME must be set to run = =20 > 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 . =20 > /usr/ports/java/openjdk6/work/hotspot/make/test/Queens.java"; \ > echo '[ -f gamma_g ] && { gamma=3Dgamma_g; }'; \ > echo './${gamma:-gamma} -Xbatch -showversion Queens < /dev/null'; \ > ) > test_gamma > chmod +x test_gamma > gmake[6]: Leaving directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd= 64_compiler2/profiled' > touch bsd_amd64_compiler2/profiled > gmake[5]: Leaving directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' > cd bsd_amd64_compiler2/product && gmake -w " LP64=3D1 " > gmake[5]: Entering directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd= 64_compiler2/product' > cd =20 > /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd6= 4_compiler2/product/../generated; =20 > cp /usr/ports/java/openjdk6/work/hotspot/make/bsd/platform_amd64 =20 > /usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd6= 4_compiler2/product/../generated/platform.current > gmake[6]: Entering directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd= 64_compiler2/product' > gmake[6]: *** No rule to make target =20 > `/usr/ports/java/openjdk6/work/hotspot/src/cpu/i386/vm/x86_64.ad', =20 > needed by `../generated/adfiles/bsd_x86_64.ad'. Stop. > gmake[6]: *** Waiting for unfinished jobs.... > gmake[6]: Leaving directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd= 64_compiler2/product' > gmake[5]: *** [ad_stuff] Error 2 > gmake[5]: Leaving directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir/bsd_amd= 64_compiler2/product' > gmake[4]: *** [product] Error 2 > gmake[4]: Leaving directory =20 > `/usr/ports/java/openjdk6/work/build/bsd-i386/hotspot/outputdir' > gmake[3]: *** [generic_build2] Error 2 > gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make= ' > gmake[2]: *** [product] Error 2 > gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make= ' > gmake[1]: *** [hotspot-build] Error 2 > gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work' > gmake: *** [build_product_image] Error 2 > *** Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** Error code 1 > > Stop in /usr/ports/java/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 =20 > installing eclipse? > Are there configuration options I should use/avoid? > > > Thanks for any insight! > > Regards, > > Jens Are you running a parallel build? Try 'export DISABLE_MAKE_JOBS=3Dtrue' =20 before building the port. And do you have more output of the build? Maybe you can put it on a =20 webserver somewhere. Ronald.