diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-09-20 03:32:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-22 11:13:24 +0100 |
commit | 99284c3c8316ce1ae042eaf5909106a241dc6e36 (patch) | |
tree | 430281f5ea53e8cea1d4db403b3dd47e8ad03b6e /meta | |
parent | d6616a421f78128b2cca0c6bc4559b97cb0f75ac (diff) | |
download | poky-99284c3c8316ce1ae042eaf5909106a241dc6e36.tar.gz |
asciidoc: set CLEANBROKEN to fix rebuild
The make clean removes doc/a2x.1 and doc/asciidoc.1, then it would cause
build failures since in the second build:
Fixing CONF_DIR in asciidoc.py
Fixing CONF_DIR in a2x.py
python a2x.py -f manpage doc/a2x.1.txt
a2x: ERROR: "xmllint" --nonet --noout --valid "/path/to/asciidoc-native/8.6.9-r0/asciidoc-8.6.9/doc/a2x.1.xml" returned non-zero exit status 4
make: *** [doc/a2x.1] Error 1
The xmllint failed because "--nonext" is used:
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/buildarea/lyang1/test_arm/tmp/work/x86_64-linux/asciidoc-native/8.6.9-r0/asciidoc-8.6.9/doc/a2x.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Avoid running make clean will fix the problem.
(From OE-Core rev: f60fc2dc231ffc8cbf5939b0dbfa06c5fe805b86)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb b/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb index 2091eecb4e..1cd1454213 100644 --- a/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb +++ b/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb | |||
@@ -20,3 +20,5 @@ export DESTDIR = "${D}" | |||
20 | DEPENDS_class-native = "docbook-xml-dtd4-native" | 20 | DEPENDS_class-native = "docbook-xml-dtd4-native" |
21 | RDEPENDS_${PN} += "python" | 21 | RDEPENDS_${PN} += "python" |
22 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |
23 | |||
24 | CLEANBROKEN = "1" | ||