From owner-freebsd-ports@freebsd.org Sat Dec 30 17:22:28 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 B87ADEA36E9 for ; Sat, 30 Dec 2017 17:22:28 +0000 (UTC) (envelope-from dmytro@posteo.net) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.posteo.de", Issuer "StartCom Class 3 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F07F63A20 for ; Sat, 30 Dec 2017 17:22:27 +0000 (UTC) (envelope-from dmytro@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8A52120DE8 for ; Sat, 30 Dec 2017 18:14:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1514654091; bh=j+1a/JIs6XA11LjBZt1nJTydMYPf557VZ4MH221OA74=; h=Date:From:To:Subject:From; b=VGFSWFOd6iNpHusBz6QGPKuy1cKt9CJ8WQu349ZmRtECo8ShhP1jH+frTSatjORap Yeva0xF9s+Irk5Q5CJ2xGbiN2Oe1dOUFZXohFEzNCdGwJ1xTYaXDpYmKpLP1HdoG0S /5gprisLzvN/AHKkQmlaqFr6FKbRiHhNg/4so6T7LhyP/TIjusScAwHy3SkNY0AMob gU8/KbmnM/k5NeUNQY1I62XRBNswcW7Vf/If1zSi6FgWQumkYkXXHhMCGwMy0vWBUu 9D98JuO1B4rwE+pYWOTysNq796WVP1s1YrMhDCrSL9IVZ4Rl5nKf3no6He6K13UHQo 49b236Upqk1iA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z897G54CKz9rxC for ; Sat, 30 Dec 2017 18:14:50 +0100 (CET) Date: Sat, 30 Dec 2017 19:14:48 +0200 From: Dmytro Bilokha To: freebsd-ports@freebsd.org Subject: How to mount procfs and fdescfs inside a poudriere jail? Message-ID: <20171230171447.GA56278@wstan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) 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:22:28 -0000 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. -- Dmytro Bilokha dmytro@posteo.net +38-050-607-41-43