Date: Thu, 11 Apr 2013 12:23:42 GMT From: Alexey Loginov <navymaker@rambler-co.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/177779: java/openjdk7 missing pkg-message about fdescfs and procfs Message-ID: <201304111223.r3BCNga0029443@red.freebsd.org> Resent-Message-ID: <201304111230.r3BCU1uo003901@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304111223.r3BCNga0029443>