Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 09:22:31 +0200
From:      Horst Leitenmueller <horst.leitenmueller@liwest.at>
To:        glewis@FreeBSD.org
Cc:        java@freebsd.org, freebsd-ports@freebsd.org
Subject:   Procfs in Jail on fresh install of openjdk6
Message-ID:  <907F19BE-DB86-42A7-A153-60830A5CD5CC@liwest.at>

index | next in thread | raw e-mail

hi Greg, 

i have a question regarding the hint that procfs must be enabled on openjdk6

if this is already mounted before installation of openjdk6 the build fails with:

gmake[2]: Entering directory `/s/portbuild/usr/ports/java/openjdk6/work/langtools/make'
JAVA_HOME=/usr/local/diablo-jdk1.6.0 ANT_OPTS=-Djava.io.tmpdir='/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/build/ant-tmp' /s/portbuild/usr/ports/java/openjdk6/work/apache-ant-1.8.2/bin/ant -Djdk.version=1.6.0_30 -Dfull.version='1.6.0_30-b24'  -Drelease=1.6.0_30 -Dbuild.number=b24 -Djavac.target=5 -Dboot.java.home=/usr/local/diablo-jdk1.6.0 -Dbuild.dir=/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/build -Ddist.dir=/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/dist build
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory `/s/portbuild/usr/ports/java/openjdk6/work/langtools/make'
gmake[1]: *** [langtools-build] Error 2
gmake[1]: Leaving directory `/s/portbuild/usr/ports/java/openjdk6/work'
gmake: *** [build_product_image] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1


diablo-jdk1.6 is installed (with the openjdk port) but you can't call java --version (on commandline) for example

can you please explain if this is a feature or a bug; and when the procfs must be enabled ?

if i disable the procfs build is running through (java --version for diablo running normal, and also openjdk), 
afterwards enabling does not change functionality of java, it works without problems...

br horst 

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?907F19BE-DB86-42A7-A153-60830A5CD5CC>