From owner-freebsd-ports@FreeBSD.ORG Tue Jan 28 01:06:50 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34D57C95 for ; Tue, 28 Jan 2014 01:06:50 +0000 (UTC) Received: from mailhost.m5p.com (ip-2-1-0-2.r03.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E0903147E for ; Tue, 28 Jan 2014 01:06:49 +0000 (UTC) Received: from wonderland.m5p.com (localhost [IPv6:::1]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id s0S16gsf097172; Mon, 27 Jan 2014 20:06:48 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <52E702A2.1050809@m5p.com> Date: Mon, 27 Jan 2014 20:06:42 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Matthew D. Fuller" Subject: Re: Can't compile openjdk7 at 340877 (fixed) References: <52E641A4.3060004@m5p.com> <20140127140434.GA78053@over-yonder.net> In-Reply-To: <20140127140434.GA78053@over-yonder.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 10.100.0.3 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:::1]); Mon, 27 Jan 2014 20:06:48 -0500 (EST) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 01:06:50 -0000 On 01/27/14 09:04, Matthew D. Fuller wrote: > On Mon, Jan 27, 2014 at 06:23:16AM -0500 I heard the voice of > George Mitchell, and lo! it spake thus: >> I updated my ports tree to revision 340877, and trying to compile >> openjdk7 dies like this: >> >> cd bsd_amd64_compiler2/product && ./test_gamma >> Using java runtime at: /usr/local/openjdk7/jre >> Error occurred during initialization of VM >> java/lang/NoClassDefFoundError: java/lang/invoke/AdapterMethodHandle > > > > My solution was forcing it to use the bootstrap version again. > > Fortunately I still had a package for the bootstrap compiler around. Using "portmaster -BDg -m BOOTSTRAPJDKDIR=/usr/local/bootstrap-openjdk java/openjdk7" appears to have solved the problem for me. Thanks for your help! -- George