From owner-freebsd-java@freebsd.org Sat May 26 11:34:45 2018 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 826D2F7232E for ; Sat, 26 May 2018 11:34:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF1C6C58C for ; Sat, 26 May 2018 11:34:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id CF5C7F7232B; Sat, 26 May 2018 11:34:44 +0000 (UTC) Delivered-To: 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 BA782F7232A; Sat, 26 May 2018 11:34:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 228286C589; Sat, 26 May 2018 11:34:43 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:a545:66ea:348a:e5bb]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id A484C5CF; Sat, 26 May 2018 14:34:35 +0300 (MSK) Date: Sat, 26 May 2018 14:34:35 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD Message-ID: <174909305.20180526143435@serebryakov.spb.ru> To: Christoph Moench-Tegeder , freebsd-ports@freebsd.org CC: java@FreeBSD.org, jkim@FreeBSD.org Subject: Re: java/openjdk8 fails to build under poudriere In-Reply-To: <20180525222853.GA24297@elch.exwg.net> References: <344004954.20180525233724@serebryakov.spb.ru> <20180525222853.GA24297@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2018 11:34:45 -0000 Hello Christoph, Saturday, May 26, 2018, 1:28:53 AM, you wrote: > ## Lev Serebryakov (lev@FreeBSD.org): >> checking for ftp... ftp >> checking headful support... headless only >> configure: Found potential Boot JDK using configure arguments >> configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk8 is incorrect JDK version (); ignoring >> configure: (Your Boot JDK must be version 7 or 8) >> configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK >> configure exiting with result code 1 >> ===> Script "../../configure" failed unexpectedly. >> >> Do I do something wrong? > Looks like... I get > checking headful support... include support for both headful and headless > configure: Found potential Boot JDK using configure arguments > checking for Boot JDK... /usr/local/bootstrap-openjdk8 > checking Boot JDK version... openjdk version "1.8.0_144" OpenJDK Runtime > Environment (build 1.8.0_144-b01) OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode) > checking for java in Boot JDK... ok > First idea: fdescfs and procfs available? (See pkg-message of > bootstrap-openjdk8). Yes, I've checked this: % mount | grep -E 'fdescfs|procfs' procfs on /proc (procfs, local) fdescfs on /dev/fd (fdescfs) fdescfs on /usr/local/poudriere/data/.m/12x64-gw-default/ref/dev/fd (fdescfs) procfs on /usr/local/poudriere/data/.m/12x64-gw-default/ref/proc (procfs, local) % Looks like we need new bootstrap for -CURRENT: root@12x64-gw-default:~ # /usr/local/bootstrap-openjdk8/bin/java -v Bad system call (core dumped) root@12x64-gw-default:~ # uname -a FreeBSD 12x64-gw-default 12.0-CURRENT FreeBSD 12.0-CURRENT 1200063 amd64 root@12x64-gw-default:~ # -- Best regards, Lev mailto:lev@FreeBSD.org