[oe] [meta-java][PATCH v2 6/6] mark broken recipes with PNBLACKLIST
Max Krummenacher
max.oss.09 at gmail.com
Tue Feb 17 09:57:16 UTC 2015
While testing commit 'java-library: inherit allarch' I found some recipes
throwing errors in do_compile.
The recipes jaxme and xom currently don't build with compiler errors.
jaxen, dom4j, jdom, commons-jxpath, commons-configuration depend directly
or indirectly on jaxme and/or xom and thus are unbildable.
Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
---
recipes-core/jakarta-commons/commons-configuration_1.5.bb | 2 ++
recipes-core/jakarta-commons/commons-jxpath_1.3.bb | 2 ++
recipes-core/xml-commons/dom4j_1.6.1.bb | 2 ++
recipes-core/xml-commons/jaxen_1.1.1.bb | 2 ++
recipes-core/xml-commons/jaxme_0.5.2.bb | 14 ++++++++++++++
recipes-core/xml-commons/jdom_1.1.bb | 2 ++
recipes-core/xml-commons/xom_1.1.bb | 11 +++++++++++
7 files changed, 35 insertions(+)
diff --git a/recipes-core/jakarta-commons/commons-configuration_1.5.bb b/recipes-core/jakarta-commons/commons-configuration_1.5.bb
index 54409e5..eebb7f7 100644
--- a/recipes-core/jakarta-commons/commons-configuration_1.5.bb
+++ b/recipes-core/jakarta-commons/commons-configuration_1.5.bb
@@ -9,6 +9,8 @@ SRC_URI = " \
http://ftp.hosting-studio.de/pub/linux/apache/ant/source/apache-ant-1.7.1-src.tar.bz2;name=ant \
"
+PNBLACKLIST[commons-configuration] ?= "BROKEN: indirectly depends on broken 'xom'"
+
DEPENDS += "commons-logging commons-collections3 commons-beanutils commons-codec commons-digester commons-jxpath commons-lang servlet2.4"
RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libcommons-codec-java libcommons-digester-java libcommons-jxpath-java libcommons-lang-java libservlet2.4-java"
diff --git a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb b/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
index d380ed9..8ccbad1 100644
--- a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
+++ b/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
@@ -6,6 +6,8 @@ DESCRIPTION = "JXPath interpreter for Java"
SRC_URI = "http://archive.apache.org/dist/commons/jxpath/source/${BP}-src.tar.gz"
+PNBLACKLIST[commons-jxpath] ?= "BROKEN: indirectly depends on broken 'xom'"
+
DEPENDS += "commons-logging commons-collections3 commons-beanutils servlet2.3 jdom"
RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libservlet2.3-java libjdom-java"
diff --git a/recipes-core/xml-commons/dom4j_1.6.1.bb b/recipes-core/xml-commons/dom4j_1.6.1.bb
index d26d2ee..19dca74 100644
--- a/recipes-core/xml-commons/dom4j_1.6.1.bb
+++ b/recipes-core/xml-commons/dom4j_1.6.1.bb
@@ -11,6 +11,8 @@ SRC_URI = "\
file://debian.patch \
"
+PNBLACKLIST[dom4j] ?= "BROKEN: indirectly depends on broken 'xom'"
+
inherit java-library
do_compile() {
diff --git a/recipes-core/xml-commons/jaxen_1.1.1.bb b/recipes-core/xml-commons/jaxen_1.1.1.bb
index 147ccf9..4853683 100644
--- a/recipes-core/xml-commons/jaxen_1.1.1.bb
+++ b/recipes-core/xml-commons/jaxen_1.1.1.bb
@@ -10,6 +10,8 @@ SRC_URI = "\
http://www.jdom.org/dist/binary/archive/jdom-1.1.tar.gz;name=jdom \
"
+PNBLACKLIST[jaxen] ?= "BROKEN: depends on broken 'xom'"
+
inherit java-library
do_compile() {
diff --git a/recipes-core/xml-commons/jaxme_0.5.2.bb b/recipes-core/xml-commons/jaxme_0.5.2.bb
index b4ec750..03f4f57 100644
--- a/recipes-core/xml-commons/jaxme_0.5.2.bb
+++ b/recipes-core/xml-commons/jaxme_0.5.2.bb
@@ -9,6 +9,20 @@ SRC_URI = "\
http://ftp.hosting-studio.de/pub/linux/apache/ant/source/apache-ant-1.7.1-src.tar.bz2;name=ant \
"
+# do_compile:
+# 2. ERROR in src/jaxme/org/apache/ws/jaxme/generator/XJCTask.java (at line 30)
+# import org.apache.ws.jaxme.generator.sg.SGFactoryChain;
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+# The import org.apache.ws.jaxme.generator.sg.SGFactoryChain cannot be resolved
+# ----------
+# 3. ERROR in src/jaxme/org/apache/ws/jaxme/generator/XJCTask.java (at line 1055)
+# if (!SGFactoryChain.class.isAssignableFrom(c)) {
+# ^^^^^^^^^^^^^^
+# SGFactoryChain cannot be resolved to a type
+# ----------
+# ... and many more
+PNBLACKLIST[jaxme] ?= "BROKEN: do_compile fails"
+
S = "${WORKDIR}/ws-${P}"
inherit java-library
diff --git a/recipes-core/xml-commons/jdom_1.1.bb b/recipes-core/xml-commons/jdom_1.1.bb
index cb53734..4867e82 100644
--- a/recipes-core/xml-commons/jdom_1.1.bb
+++ b/recipes-core/xml-commons/jdom_1.1.bb
@@ -9,6 +9,8 @@ SRC_URI = "\
http://www.jdom.org/dist/binary/archive/jdom-${PV}.tar.gz \
"
+PNBLACKLIST[jdom] ?= "BROKEN: indirectly depends on broken 'xom'"
+
inherit java-library
do_compile() {
diff --git a/recipes-core/xml-commons/xom_1.1.bb b/recipes-core/xml-commons/xom_1.1.bb
index 7405dab..c37965b 100644
--- a/recipes-core/xml-commons/xom_1.1.bb
+++ b/recipes-core/xml-commons/xom_1.1.bb
@@ -10,6 +10,17 @@ SRC_URI = "\
file://04_remove_sun_import.patch \
"
+# DEBUG: Executing shell function do_compile
+# ----------
+# 1. ERROR in src/nu/xom/UnicodeUtil.java (at line 0)
+# /* Copyright 2005 Elliotte Rusty Harold
+# ^
+# Internal compiler error: java.lang.StackOverflowError at org.eclipse.jdt.internal.compiler.ast.Expression.checkNPE(Expression.java:511)
+# ----------
+# Exception in thread "main" java.lang.StackOverflowError
+# at org.eclipse.jdt.internal.compiler.ast.Expression.checkNPE(Expression.java:511)
+PNBLACKLIST[xom] ?= "BROKEN: do_compile fails with internal javac error"
+
S = "${WORKDIR}/XOM"
inherit java-library
--
1.9.3
More information about the Openembedded-devel
mailing list