I've been attempting to install java/jdk15 into a jail under FreeBSD
6.2 and have been running into some issues. I have appended a trimmed
out version of the output I get during an installation to the end of the
From what I can tell, it's attempting to install some Linux emulation
components and this is where I get stuck. I've not been able to find any
information that would help me either manually mount the partitions so
they are visible inside a jail (I am not sure if this is even possible
anymore), or to work around this particular issue and just do a native
Can anyone offer up any help?
mail# portinstall java/jdk15
---> Installing 'jdk-1.5.0p4' from a port (java/jdk15)
---> Building '/usr/ports/java/jdk15'
===> Cleaning for unzip-5.52_2
===> Cleaning for m4-1.4.8_1
===> Cleaning for zip-2.32
===> Cleaning for open-motif-2.2.3_2
===> Cleaning for linux-sun-jdk-188.8.131.52
===> Cleaning for gmake-3.81_1
===> Cleaning for libiconv-1.9.2_2
===> Cleaning for javavmwrapper-2.3
===> Cleaning for libtool-1.5.22_3
===> Cleaning for xorg-libraries-6.9.0_1
===> Cleaning for imake-6.9.0_1
===> Cleaning for linux_base-fc-4_9
===> Cleaning for linux-xorg-libs-6.8.2_5
===> Cleaning for gettext-0.14.5_2
===> Cleaning for libdrm-2.0.2
===> Cleaning for freetype2-2.2.1_1
===> Cleaning for fontconfig-2.3.2_6,1
===> Cleaning for perl-5.8.8
===> Cleaning for rpm-3.0.6_13
===> Cleaning for linux-fontconfig-2.2.3_5
===> Cleaning for pkg-config-0.21
===> Cleaning for expat-2.0.0_1
===> Cleaning for automake-1.4.6_2
===> Cleaning for autoconf-2.13.000227_5
===> Cleaning for popt-1.7_2
===> Cleaning for linux-expat-1.95.8
===> Cleaning for jdk-1.5.0p4
===> Vulnerability check disabled, database not found
===> Found saved configuration for jdk-1.5.0p4
IMPORTANT: To build JDK 1.5.0 port, you should have at least
2.5Gb of free disk space in build area!
IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation
enabled in the kernel and linux procfs (linprocfs) filesystem
===> Extracting for jdk-1.5.0p4
=> MD5 Checksum OK for jdk-1_5_0-src-scsl.zip.
=> SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip.
=> MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip.
=> SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip.
=> MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2.
=> SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2.
===> jdk-1.5.0p4 depends on executable in : unzip - found
===> Patching for jdk-1.5.0p4
Hmm... Looks like a unified diff to me...
The text leading up to this was:
|RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v
|retrieving revision 184.108.40.206
|retrieving revision 1.3
|diff -u -r220.127.116.11 -r1.3
|--- control/make/Makefile 8 Nov 2004 22:26:52 -0000 18.104.22.168
|+++ control/make/Makefile 23 Dec 2004 19:28:25 -0000 1.3
Patching file control/make/Makefile using Plan A...
Hunk #1 succeeded at 12.
Hunk #2 succeeded at 69.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
<... SNIP ...>
===> Applying FreeBSD patches for jdk-1.5.0p4
/usr/bin/sed -i.bak -e "s:%%PREFIX%%:/usr/local:g" -e
===> jdk-1.5.0p4 depends on executable in : gm4 - found
===> jdk-1.5.0p4 depends on executable in : zip - found
===> jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found
===> jdk-1.5.0p4 depends on file:
/usr/local/linux-sun-jdk1.4.2/bin/javac - found
===> jdk-1.5.0p4 depends on executable in : gmake - found
===> jdk-1.5.0p4 depends on shared library: iconv.3 - found
===> Configuring for jdk-1.5.0p4
===> Building for jdk-1.5.0p4
ERROR: You must have LINPROCFS mounted before
starting to build the native JDK 1.5.0.
You may do it with the following commands:
# kldload linprocfs
# mount -t linprocfs linprocfs /compat/linux/proc
*** Error code 1
Stop in /usr/ports/java/jdk15.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall.7259.0 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! java/jdk15 (unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"