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

2015-03-31 Thread Paul Eggleton
On Tuesday 31 March 2015 12:43:33 Burton, Ross wrote:
> On 31 March 2015 at 12:38, Flanagan, Elizabeth 
> wrote:
> > On 28 March 2015 at 04:23, Paul Eggleton 
> > wrote:
> > > 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).
> 
> Building the documentation from scratch isn't a normal thing for a user to
> do, so I wouldn't add xsltproc to the list of build essential packages for
> builds.
> 
> It should be documented along with the other dependencies in the
> instructions for building the documentation of course.

Right, this is what I was getting at. Packages required for building 
documentation are listed in the ref manual, and xsltproc is already on that 
list for Ubuntu.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2015-03-31 Thread Burton, Ross
On 31 March 2015 at 12:38, Flanagan, Elizabeth  wrote:

> On 28 March 2015 at 04:23, Paul Eggleton 
> 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 
> >> ---
> >>  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 @@
> >>  
> >>  
> >>   unzip
> >> texinfo gcc-multilib \ - build-essential chrpath socat">
> >> + build-essential chrpath socat xsltproc">
> >>   >> 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).
>

Building the documentation from scratch isn't a normal thing for a user to
do, so I wouldn't add xsltproc to the list of build essential packages for
builds.

It should be documented along with the other dependencies in the
instructions for building the documentation of course.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2015-03-31 Thread Flanagan, Elizabeth
On 31 March 2015 at 12:38, Flanagan, Elizabeth
 wrote:
> On 28 March 2015 at 04:23, Paul Eggleton  
> 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 
>>> ---
>>>  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 @@
>>>  
>>>  
>>>  >> texinfo gcc-multilib \ - build-essential chrpath socat">
>>> + build-essential chrpath socat xsltproc">
>>>  >> 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@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2015-03-31 Thread Flanagan, Elizabeth
On 28 March 2015 at 04:23, Paul Eggleton  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 
>> ---
>>  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 @@
>>  
>>  
>>  > texinfo gcc-multilib \ - build-essential chrpath socat">
>> + build-essential chrpath socat xsltproc">
>>  > 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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2015-03-27 Thread Paul Eggleton
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 
> ---
>  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 @@
>  
>  
>   texinfo gcc-multilib \ - build-essential chrpath socat">
> + build-essential chrpath socat xsltproc">
>   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?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2015-03-27 Thread Beth Flanagan
xlstproc is needed for doc building. I'm sure others are
effected as well.

Signed-off-by: Beth Flanagan 
---
 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 @@
 
 
 
+ build-essential chrpath socat xsltproc">
 
-- 
1.9.1

-
Intel Ireland Limited (Branch)
Collinstown Industrial Park, Leixlip, County Kildare, Ireland
Registered Number: E902934

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto