From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 11 12:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 56FC5B73 for ; Thu, 11 Apr 2013 12:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 243008AA for ; Thu, 11 Apr 2013 12:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3BCU1ng003902 for ; Thu, 11 Apr 2013 12:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3BCU1uo003901; Thu, 11 Apr 2013 12:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 11 Apr 2013 12:30:01 GMT Resent-Message-Id: <201304111230.r3BCU1uo003901@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Loginov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DB6BB962 for ; Thu, 11 Apr 2013 12:23:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CCAC4862 for ; Thu, 11 Apr 2013 12:23:43 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3BCNg8r029444 for ; Thu, 11 Apr 2013 12:23:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3BCNga0029443; Thu, 11 Apr 2013 12:23:42 GMT (envelope-from nobody) Message-Id: <201304111223.r3BCNga0029443@red.freebsd.org> Date: Thu, 11 Apr 2013 12:23:42 GMT From: Alexey Loginov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177779: java/openjdk7 missing pkg-message about fdescfs and procfs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 12:30:01 -0000 >Number: 177779 >Category: ports >Synopsis: java/openjdk7 missing pkg-message about fdescfs and procfs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 11 12:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexey Loginov >Release: 9.1-RELEASE >Organization: Rambler Internet Holding >Environment: >Description: java/openjdk7 still require mounted procfs and fdescfs filesystems. File jdk/src/solaris/native/java/lang/UNIXProcess_md.c have this lines: #ifdef _ALLBSD_SOURCE #define FD_DIR "/dev/fd" #define dirent64 dirent #define readdir64 readdir #else #define FD_DIR "/proc/self/fd" #endif >How-To-Repeat: >Fix: Add following lines to pkg-message in java/openjdk7 port: ====================================================================== This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 ====================================================================== >Release-Note: >Audit-Trail: >Unformatted: