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>

next in thread | raw e-mail | index | archive | help
hi Greg,=20

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=3D/usr/local/diablo-jdk1.6.0 =
ANT_OPTS=3D-Djava.io.tmpdir=3D'/s/portbuild/usr/ports/java/openjdk6/work/b=
uild/bsd-amd64/langtools/build/ant-tmp' =
/s/portbuild/usr/ports/java/openjdk6/work/apache-ant-1.8.2/bin/ant =
-Djdk.version=3D1.6.0_30 -Dfull.version=3D'1.6.0_30-b24'  =
-Drelease=3D1.6.0_30 -Dbuild.number=3Db24 -Djavac.target=3D5 =
-Dboot.java.home=3D/usr/local/diablo-jdk1.6.0 =
-Dbuild.dir=3D/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/la=
ngtools/build =
-Ddist.dir=3D/s/portbuild/usr/ports/java/openjdk6/work/build/bsd-amd64/lan=
gtools/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),=20
afterwards enabling does not change functionality of java, it works =
without problems...

br horst=20=



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