[OE-core] [PATCH] xmlto: set CLEANBROKEN = "1"

Hongxu Jia hongxu.jia at windriver.com
Tue May 21 09:01:32 UTC 2019


On 5/21/19 4:49 PM, Hongxu Jia wrote:
> While rebuilding xmlto or xmlto-native, `make clean' in do_configure
> will remove man/man1/xmlif.1 which triger failure in do_compile
>
> $ bitbake xmlto-native
> $ bitbake xmlto-native -cconfigure -f
> $ bitbake xmlto-native -ccompile -f

Clarify two thing someone may ask:

1. The reproduce steps seems a bit weird

It just simplify the problem, the real environment is multiple build

share a common sstate, and the latter one trigger xmlto rebuilt

> ...
> |FORMAT_DIR=./format /bin/bash ./xmlto -o man/man1 man doc/xmlif.xml
> |xmlto: tmp-glibc/work/x86_64-linux/xmlto-native/0.0.28-r0/xmlto-0.0.28/
> doc/xmlif.xml does not validate (status 3)
> |xmlto: Fix document syntax or use --skip-validation option
> I/O error : Attempt to load network entity http://www.oasis-open.org/
> docbook/xml/4.2/docbookx.dtd
> ...

2. The issue seems upstream problem, why not fix it.

The failure is to regenerate the missing document, I don't think

it worth to take time on it


//Hongxu


> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>   meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
> index df798df..7d27c43 100644
> --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
> +++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
> @@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51f
>   
>   inherit autotools
>   
> +CLEANBROKEN = "1"
> +
>   DEPENDS = "libxml2-native"
>   
>   RDEPENDS_${PN} = "docbook-xml-dtd4 \




More information about the Openembedded-core mailing list