[oe-commits] [openembedded-core] 11/11: asciidoc: set CLEANBROKEN to fix rebuild

git at git.openembedded.org git at git.openembedded.org
Wed Sep 21 21:11:03 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 962987c95d2d98d2a812acdb99d789ed4821e90f
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Sep 20 03:32:57 2016 -0700

    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.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb b/meta/recipes-extended/asciidoc/asciidoc_8.6.9.bb
index 2091eec..1cd1454 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}"
 DEPENDS_class-native = "docbook-xml-dtd4-native"
 RDEPENDS_${PN} += "python" 
 BBCLASSEXTEND = "native"
+
+CLEANBROKEN = "1"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list