Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: OE-core <openembedded-core@lists.openembedded.org>,
	Saul Wold <saul.wold@intel.com>
Subject: Re: [PATCH 4/8] xmlto: add version 0.0.25
Date: Tue, 15 Jul 2014 19:44:44 +0800	[thread overview]
Message-ID: <53C5142C.3040304@windriver.com> (raw)
In-Reply-To: <1405421856.20402.3.camel@ted>

On 07/15/2014 06:57 PM, Richard Purdie wrote:
> On Fri, 2014-07-11 at 09:45 +0800, Hongxu Jia wrote:
>> On 07/11/2014 04:57 AM, Burton, Ross wrote:
>>
>>> On 9 July 2014 11:16, Hongxu Jia <hongxu.jia@windriver.com> wrote:
>>>> +# To make sure these native packages ready before xmlto-native was invoked.
>>>> +DEPENDS_class-native = " \
>>>> +    docbook-xml-dtd4-native \
>>>> +    docbook-xsl-stylesheets-native \
>>>> +    util-linux-native \
>>>> +    libxml2-native \
>>>> +    libxslt-native \
>>>> +"
>>> Does this do what you want if xmlto-native is pulled in from sstate in
>>> an empty tmp?
>> Hi Ross,
>>
>> If we don't have it, while runing bitbake world, there was a build
>> failure for alsa-utils which xmlto enabled.
>> ...
>> | xmlto man alsactl_init.xml
>> | sed -e 's,@localstatedir\@,/var,g' -e 's,@sbindir\@,/usr/sbin,g' -e 's,@daemonswitch\@,/etc/alsa/state-daemon.conf,g' < 90-alsa-restore.rules.in > 90-alsa-restore.rules || rm 90-alsa-restore.rules
>> | i586-poky-linux-gcc  -m32 -march=i586 --sysroot=/buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86  -D__USE_GNU -DSYS_ASOUNDRC=\"/var/lib/alsa/asound.state\" -DSYS_PIDFILE=\"/var/run/alsactl.pid\" -O2 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o alsactl alsactl-alsactl.o alsactl-state.o alsactl-lock.o alsactl-utils.o alsactl-init_parse.o alsactl-daemon.o  -lasound -lm -ldl -lpthread
>> | xmlto: /buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.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
>> | /buildarea3/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/alsa-utils/1.0.27.2-r0/alsa-utils-1.0.27.2/alsactl/alsactl_init.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
>> |   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
>> |                                                            ^
>> | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
>> | warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
>> | validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
>> ...
>>
>> The alsa-utils invoked xmlto to generate document at his do_compile,
>> so we have to make sure the above native packages prepared before
>> xmlto-native.
> Shouldn't alsa-utils have a dependency on the docbook pieces it needs as
> well as xmlto-native then?
>
> Certainly, these are not build time dependencies of xmlto so something
> is not quite right...

Got it, I will add docbook pieces to alsa-utils's dependency, V3 Incoming.

//Hongxu


> Cheers,
>
> Richard
>



  reply	other threads:[~2014-07-15 11:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 10:16 [PATCH V2 0/8] support xmlto Hongxu Jia
2014-07-09 10:16 ` [PATCH 1/8] libxml2: enable catalog support Hongxu Jia
2014-07-09 10:16 ` [PATCH 2/8] docbook-xml: add docbook-xsl-stylesheets 1.78.1 Hongxu Jia
2014-07-09 10:16 ` [PATCH 3/8] docbook-xml: add docbook-xml-dtd4 Hongxu Jia
2014-07-09 10:16 ` [PATCH 4/8] xmlto: add version 0.0.25 Hongxu Jia
2014-07-10 20:57   ` Burton, Ross
2014-07-11  1:45     ` Hongxu Jia
2014-07-15 10:57       ` Richard Purdie
2014-07-15 11:44         ` Hongxu Jia [this message]
2014-07-09 10:16 ` [PATCH 5/8] alsa-utils: add PACKAGECONFIG for xmlto Hongxu Jia
2014-07-09 10:16 ` [PATCH 6/8] xorg-proto-common.inc: " Hongxu Jia
2014-07-09 10:17 ` [PATCH 7/8] xorg-lib-common.inc: " Hongxu Jia
2014-07-09 10:17 ` [PATCH 8/8] xserver-xorg.inc: " Hongxu Jia
2014-07-09 17:35 ` [PATCH V2 0/8] support xmlto Otavio Salvador
  -- strict thread matches above, loose matches on Subject: below --
2014-07-15 12:35 [PATCH V3 " Hongxu Jia
2014-07-15 12:35 ` [PATCH 4/8] xmlto: add version 0.0.25 Hongxu Jia
2014-07-08  9:47 [PATCH 0/8] support xmlto Hongxu Jia
2014-07-08  9:47 ` [PATCH 4/8] xmlto: add version 0.0.25 Hongxu Jia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C5142C.3040304@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=saul.wold@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox