[yocto] [meta-java] openjdk-7-jre was skipped: missing required distro feature ['x11'] (not in DISTRO_FEATURES)

Federico Pietro Briata federicobriata at gmail.com
Fri Oct 16 06:35:22 PDT 2015


Hi Folks,
I'm trying to compile java without x11 and unfortunately also without
success..

I've added in my local.conf:

DISTRO_FEATURES_remove = "x11"
# Java build settings
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
PREFERRED_VERSION_openjdk-7-jre = "85b01-2.6.1"
PREFERRED_VERSION_icedtea7-native = "2.1.3"
PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"

but I get this error

ERROR: Nothing RPROVIDES 'openjdk-7-jre' (but
/home/f34389b/yocto/PCM/R5.0/sources/meta-fede/recipes-images/images/
fede-java-test.bb RDEPENDS on or otherwise requires it)
ERROR: openjdk-7-jre was skipped: missing required distro feature ['x11']
(not in DISTRO_FEATURES)

Patching those files:
meta-java/recipes-core/classpath/classpath.inc
meta-java/recipes-core/jamvm/jamvm.inc
meta-java/recipes-core/jamvm/jamvm_git.bb
meta-java/recipes-core/openjdk/openjdk-common.inc
poky/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

like this:
-REQUIRED_DISTRO_FEATURES = "x11"
+#REQUIRED_DISTRO_FEATURES = "x11"

seems to be a temporary workaround

regards
federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151016/0fd696f0/attachment.html>


More information about the yocto mailing list