From owner-freebsd-ports@freebsd.org Sat Dec 30 17:47:46 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41AA7EA47C6 for ; Sat, 30 Dec 2017 17:47:46 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD0716461B for ; Sat, 30 Dec 2017 17:47:45 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id b927a972 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 30 Dec 2017 10:47:38 -0700 (MST) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: How to mount procfs and fdescfs inside a poudriere jail? From: Adam Weinberger In-Reply-To: <20171230171447.GA56278@wstan> Date: Sat, 30 Dec 2017 10:47:36 -0700 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <75CC7F34-79D2-4239-87A8-C9C20E1E05E8@adamw.org> References: <20171230171447.GA56278@wstan> To: Dmytro Bilokha X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2017 17:47:46 -0000 > On 30 Dec, 2017, at 10:14, Dmytro Bilokha wrote: > > Hello, Everyone! > > When I try to build java/openjdk8 with poudriere I'm getting the error: > --- > configure: Found potential Boot JDK using configure arguments > configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk8 is > incorrect JDK version (Error occurred during initialization of VM); > 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 > --- > I suspect it happens, because bootstrap-openjdk8 needs some stuff to be > mounted. > Here is a snippet from its pkg-message: > --- > This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and > procfs(5) mounted on /proc. > --- > > Does someone know how to mount fdescfs and procfs inside a poudriere jail? > Is it possible at all? > Or, maybe, some workarouns exist to build openjdk8 with poudriere? Any > help would be appriciated. It doesn't seem to documented in poudriere.conf, but there are USE_PROFCS and USE_FDESCFS settings you can turn on in poudriere.conf. # Adam -- Adam Weinberger adamw@adamw.org http://www.adamw.org