From owner-freebsd-java@freebsd.org Tue Mar 12 02:16:08 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB669153D09A for ; Tue, 12 Mar 2019 02:16:07 +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 032416BE15 for ; Tue, 12 Mar 2019 02:16:05 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.15.2/8.15.2) with ESMTP id x2C2Fufg066248; Mon, 11 Mar 2019 19:15:57 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.15.2/8.15.2/Submit) id x2C2FtJA066247; Mon, 11 Mar 2019 19:15:55 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 11 Mar 2019 19:15:55 -0700 From: Greg Lewis To: Michael Osipov <1983-01-06@gmx.net> Cc: freebsd-java@freebsd.org Subject: Re: JDK 11 update Message-ID: <20190312021555.GA66236@misty.eyesbeyond.com> References: <20190308180402.GA61500@misty.eyesbeyond.com> <091b2780-f2f1-6423-0dd7-e0d2849bac84@gmx.net> <20190311045937.GA43260@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Rspamd-Queue-Id: 032416BE15 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.25 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.79)[0.788,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[eyesbeyond.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.85)[0.847,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.iagu.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.64)[0.637,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmx.net]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:71.32.0.0/13, country:US]; IP_SCORE(-0.01)[asn: 209(0.01), country: US(-0.07)] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2019 02:16:08 -0000 On Mon, Mar 11, 2019 at 11:53:12PM +0100, Michael Osipov wrote: > Am 2019-03-11 um 05:59 schrieb Greg Lewis: > > On Sat, Mar 09, 2019 at 09:15:42PM +0100, Michael Osipov wrote: > >> Am 2019-03-08 um 19:04 schrieb Greg Lewis: > >>> For those who want to try and compile it, the current commands I'm using > >>> look like this: > >>> > >>> env CPPFLAGS=-I/usr/local/include \ > >>> LDFLAGS=-L/usr/local/lib \ > >>> CC=/usr/bin/cc \ > >>> CXX=/usr/bin/c++ \ > >>> bash configure \ > >>> --with-boot-jdk=/usr/local/openjdk11 \ > >> > >> Ouch, isn't this a chicken-and-egg problem here? How did you solve this > >> prolbem? I really hate that Java is not selfcontained... > > > > See the link to the pull request I posted later in the email: > > > > https://github.com/battleblow/openjdk-jdk11u/pull/1 > > As far as I understand Kurt's approach, here's using a precompiled > version on Ubuntu via SSH to produce portable Java bytecode? If so, that > looks pretty insane and brittle to me, doesn't it? > > I have expected that we run BSD on BSD, no further deps. > > Please correct me if I am wrong. Someone has to bootstrap JDK 11 on FreeBSD/i386 for the first time. The simplest way to do that is the technique Kurt and I used for amd64. I used a slight variant where I had a Samba mount rather than NFS, but any remote file system will do essentially. Once one person has done it to the point where they have a self hosting FreeBSD/i386 JDK 11, then that can be packaged into the soon to be committed bootstrap-openjdk11 port. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org