[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Masaru Oki
Hi,

guide-% rule is selected instead of guide-pdf-% in mk/rte.sdkdoc.mk, I guess.


2015-04-01 19:08 GMT+09:00 Mcnamara, John :
>> -Original Message-
>> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
>> Sent: Wednesday, April 1, 2015 10:49 AM
>> To: De Lara Guarch, Pablo; Mcnamara, John
>> Cc: dev at dpdk.org
>> Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
>>
>> I am using Ubuntu14, so package name may be different.
>>
>> To make sure, I just installed 'texlive-*', then tried to build doc again.
>> But I faced the same error.
>> Anyway, it seems the error comes from my environment, so I will check it
>> more.
>
> Hi,
>
> Actually that looks like a Makefile issue rather than a toolchain issue. 
> Sphinx shouldn't be trying to build with a builder called "pdf-freebsd_gsg". 
> It seems that it has picked up the wrong rule.
>
> I'll look into it.
>
> John


[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Tetsuya Mukawa
On 2015/04/01 18:29, De Lara Guarch, Pablo wrote:
> Hi Tetsuya,
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa
>> Sent: Wednesday, April 01, 2015 10:18 AM
>> To: Mcnamara, John
>> Cc: dev at dpdk.org
>> Subject: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
>>
>> Hi John,
>>
>>
>> It seems after applying following patch, I cannot build doc.
>> ebf8050 doc: add pdf output
>>
>> ---
>> $ T=x86_64-native-linuxapp-gcc make doc
>>
>> (snip)
>>
>> lookup cache used 2433/65536 hits=6354 misses=2576
>> finished...
>> sphinx processing guides-html...
>> sphinx processing guides-pdf-freebsd_gsg...
>>
>> Sphinx error:
>> Builder name pdf-freebsd_gsg not registered
>> make[1]: *** [guides-pdf-freebsd_gsg] Error 1
>> make: *** [doc-all] Error 2
>> ---
>>
>> Could you please check it?
> I have no issues building the docs. Do you have all necessary packages for 
> building them?
>
> You will need texlive, texlive-latex, texlive-collection-latex, 
> texlive-collection-latexrecommended, 
> texlive-collection-latexextra and texlive-dejavu.

Hi Pablo,

Thanks for your reply.
I am using Ubuntu14, so package name may be different.

To make sure, I just installed ?texlive-*?, then tried to build doc again.
But I faced the same error.
Anyway, it seems the error comes from my environment, so I will check it
more.

Thanks,
Tetsuya


> Pablo
>> Thanks,
>> Tetsuya



[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Tetsuya Mukawa
Hi John,


It seems after applying following patch, I cannot build doc.
ebf8050 doc: add pdf output

---
$ T=x86_64-native-linuxapp-gcc make doc

(snip)

lookup cache used 2433/65536 hits=6354 misses=2576
finished...
sphinx processing guides-html...
sphinx processing guides-pdf-freebsd_gsg...

Sphinx error:
Builder name pdf-freebsd_gsg not registered
make[1]: *** [guides-pdf-freebsd_gsg] Error 1
make: *** [doc-all] Error 2
---

Could you please check it?

Thanks,
Tetsuya


[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message-
> From: Masaru Oki [mailto:m-oki at stratosphere.co.jp]
> Sent: Wednesday, April 1, 2015 11:14 AM
> To: Mcnamara, John
> Cc: Tetsuya Mukawa; De Lara Guarch, Pablo; dev at dpdk.org
> Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
> 
> 
> guide-% rule is selected instead of guide-pdf-% in mk/rte.sdkdoc.mk, I
> guess.

Hi,

Changing the order of the guide-pdf-% and guide-% rules fixes the issue with 
make 3.81. I'll submit a patch.

John


[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message-
> From: Masaru Oki [mailto:m-oki at stratosphere.co.jp]
> Sent: Wednesday, April 1, 2015 11:14 AM
> To: Mcnamara, John
> Cc: Tetsuya Mukawa; De Lara Guarch, Pablo; dev at dpdk.org
> Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
> 
> Hi,
> 
> guide-% rule is selected instead of guide-pdf-% in mk/rte.sdkdoc.mk, I
> guess.

Hi,

Yes, that is the issue. I see it fail with make 3.81 but not 3.82, which might 
explain why it works on some systems and not on others.

John



[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message-
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Wednesday, April 1, 2015 10:49 AM
> To: De Lara Guarch, Pablo; Mcnamara, John
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
> 
> I am using Ubuntu14, so package name may be different.
> 
> To make sure, I just installed 'texlive-*', then tried to build doc again.
> But I faced the same error.
> Anyway, it seems the error comes from my environment, so I will check it
> more.

Hi,

Actually that looks like a Makefile issue rather than a toolchain issue. Sphinx 
shouldn't be trying to build with a builder called "pdf-freebsd_gsg". It seems 
that it has picked up the wrong rule.

I'll look into it.

John


[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread De Lara Guarch, Pablo
Hi Tetsuya,

> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa
> Sent: Wednesday, April 01, 2015 10:18 AM
> To: Mcnamara, John
> Cc: dev at dpdk.org
> Subject: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3
> 
> Hi John,
> 
> 
> It seems after applying following patch, I cannot build doc.
> ebf8050 doc: add pdf output
> 
> ---
> $ T=x86_64-native-linuxapp-gcc make doc
> 
> (snip)
> 
> lookup cache used 2433/65536 hits=6354 misses=2576
> finished...
> sphinx processing guides-html...
> sphinx processing guides-pdf-freebsd_gsg...
> 
> Sphinx error:
> Builder name pdf-freebsd_gsg not registered
> make[1]: *** [guides-pdf-freebsd_gsg] Error 1
> make: *** [doc-all] Error 2
> ---
> 
> Could you please check it?

I have no issues building the docs. Do you have all necessary packages for 
building them?

You will need texlive, texlive-latex, texlive-collection-latex, 
texlive-collection-latexrecommended, 
texlive-collection-latexextra and texlive-dejavu.

Pablo
> 
> Thanks,
> Tetsuya