pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/sun-jdk7 and lang/oracle-jdk8 not using built-in



Hello!

On my system, neither lang/sun-jdk7 nor lang/oracle-jdk8 use the
built-in version.  How can this be fixed?

My system is OS X El Capitan (10.11.3 / Darwin 15.3.0) with
pkgsrc-2015Q4.

I have PREFER_NATIVE set to "yes" and PREFER_PKGSRC unset, and I have a
native version of both JDKs installed.

Here is some diagnostic output for sun-jdk7:

===
$ cd lang/sun-jdk7
$ bmake show-var VARNAME=PREFER_NATIVE
yes
$ bmake show-var VARNAME=PREFER_PKGSRC

$ bmake show-var VARNAME=PKG_JVM_DEFAULT
sun-jdk7
$ bmake show-var VARNAME=IS_BUILTIN.sun-jdk7

$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
===

So, it seems that IS_BUILTIN.sun-jdk7 is not getting set, but it should
be, right?

Here is some diagnostic output for oracle-jdk8:

===
$ cd lang/oracle-jdk8
$ bmake show-var VARNAME=PREFER_NATIVE
yes
$ bmake show-var VARNAME=PREFER_PKGSRC

$ bmake show-var VARNAME=PKG_JVM_DEFAULT
sun-jdk7
$ bmake show-var VARNAME=IS_BUILTIN.oracle-jdk8

$ /usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home
===

So, it seems that IS_BUILTIN.oracle-jdk8 is not getting set, but it
should be, right?

I thought I'd try devel/libevent to see if IS_BUILTIN.libevent gets set
there, and it does not:

===
$ cd devel/libevent
$ bmake show-var VARNAME=IS_BUILTIN.libevent

===

So, do I have a more general problem where no built-ins are working?  Or
are my diagnostic attempts wrong?

Thank you!

Lewis


Home | Main Index | Thread Index | Old Index