[yocto] [PATCH][yocto-docs] poky.ent: Ubuntu based systems need xlstproc

Flanagan, Elizabeth elizabeth.flanagan at intel.com
Tue Mar 31 04:41:35 PDT 2015


On 31 March 2015 at 12:38, Flanagan, Elizabeth
<elizabeth.flanagan at intel.com> wrote:
> On 28 March 2015 at 04:23, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
>> Hi Beth,
>>
>> On Friday 27 March 2015 15:03:10 Beth Flanagan wrote:
>>> xlstproc is needed for doc building. I'm sure others are
>>> effected as well.
>>>
>>> Signed-off-by: Beth Flanagan <elizabeth.flanagan at intel.com>
>>> ---
>>>  documentation/poky.ent | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/documentation/poky.ent b/documentation/poky.ent
>>> index 5d12fc1..a8fe99f 100644
>>> --- a/documentation/poky.ent
>>> +++ b/documentation/poky.ent
>>> @@ -59,7 +59,7 @@
>>>  <!ENTITY OE_INIT_PATH "&YOCTO_POKY;/oe-init-build-env">
>>>  <!ENTITY OE_INIT_FILE "oe-init-build-env">
>>>  <!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip
>>> texinfo gcc-multilib \ -     build-essential chrpath socat">
>>> +     build-essential chrpath socat xsltproc">
>>>  <!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip
>>> python unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++
>>> glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords
>>> perl-Thread-Queue socat">
>>
>> Which doc building? Our manuals or docs as part of recipes? Can you give an
>> example of a failure?
>>
>
> yocto-docs. On an Ubuntu based system I was having issues building
> them because xsltproc wasn't installed during the normal system
> install. I'm not sure if other can verify that, but I tried it on two
> of my systems with the same results (Mint 17.1 Rebecca).
>
>> Thanks,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>
> -b
>
> --
> Elizabeth Flanagan
> Yocto Project
> Build and Release

What I'm seeing:

pidge at fuath:~/yocto-docs/documentation make DOC=yocto-project-qs

******** Building yocto-project-qs

cd yocto-project-qs; xsltproc --xinclude -o yocto-project-qs.html
yocto-project-qs-customization.xsl yocto-project-qs.xml; cd ..
/bin/sh: 1: xsltproc: not found

******** Building eclipse help of yocto-project-qs

cd yocto-project-qs && \
        xsltproc --xinclude \
                --stringparam base.dir 'html/yocto-project-qs/' \
                -o eclipse/yocto-project-qs.html \
                yocto-project-qs-eclipse-customization.xsl
yocto-project-qs.xml && \
        mv eclipse/toc.xml eclipse/yocto-project-qs-toc.xml && \
        cp -rf figures eclipse/html/yocto-project-qs/ && \
        cd ..;
/bin/sh: 2: xsltproc: not found
make: *** [eclipse-generate] Error 127

apt-get install xsltproc resolves the issue.


-- 
Elizabeth Flanagan
Yocto Project
Build and Release



More information about the yocto mailing list