DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Sphinx Errors on CentOS 7
@ 2016-10-05 14:09 Aly Dharshi
  2016-10-05 14:18 ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Aly Dharshi @ 2016-10-05 14:09 UTC (permalink / raw)
  To: users

Hello DPDK Users,

I am building an rpm set using the bundled SPEC file. Everything
compiles fine except the sphinx part:

sphinx processing guides-html...
sphinx processing guides-pdf-faq...
/root/rpmbuild/BUILD/dpdk-16.07/doc/guides/faq/faq.rst:35: WARNING:
undefined label: linux_gsg (if the link has no caption the label must
precede a section header)
/root/rpmbuild/BUILD/dpdk-16.07/doc/guides/faq/faq.rst:53: WARNING:
undefined label: linux_gsg (if the link has no caption the label must
precede a section header)
/root/rpmbuild/BUILD/dpdk-16.07/doc/guides/faq/faq.rst:222: WARNING:
undefined label: multi_process_app (if the link has no caption the
label must precede a section header)
pdflatex processing guides-pdf-faq...
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
make[2]: *** [doc.pdf] Error 1
make[1]: *** [guides-pdf-faq] Error 2
make: *** [doc-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.GmGtbl (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GmGtbl (%build)

I've had to do this in the spec file to generate the build:

BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
BuildRequires: doxygen, python-sphinx, inkscape
#BuildRequires: texlive-collection-latexextra

This is because it seems that texlive-collection-latexextra does not
exist on CentOS 7.2. Is there anyway to proceed:

1. How do I resolve the sphinx error ?
2. Can I simply build this kit without docs  ?

Thanks and Cheers,

ASD.






---
Aly Dharshi B.Sc. RHCE.
LRT Communications Design Specialist
Engineering & Maintenance
City Operations  |  Edmonton Transit System

780.496.2869     telephone
780.619.1595     mobile

City Of Edmonton
DL MacDonald Transit Yards
ROW Building
13304 50A Street
Edmonton AB T5A 4P6

All information contained in this email post is proprietary to the
City of Edmonton, confidential and intended only for the addressed
recipient. If you have received this post in error, please disregard
the contents, inform the sender of the misdirection, and remove it
from your system. The copying, dissemination or distribution of this
email, if misdirected, is strictly prohibited.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Sphinx Errors on CentOS 7
  2016-10-05 14:09 [dpdk-users] Sphinx Errors on CentOS 7 Aly Dharshi
@ 2016-10-05 14:18 ` Thomas Monjalon
  2016-10-05 14:27   ` Aly Dharshi
  2016-10-05 14:32   ` Aly Dharshi
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-10-05 14:18 UTC (permalink / raw)
  To: Aly Dharshi; +Cc: users

2016-10-05 08:09, Aly Dharshi:
> Hello DPDK Users,
> 
> I am building an rpm set using the bundled SPEC file. Everything
> compiles fine except the sphinx part:
[...]
> I've had to do this in the spec file to generate the build:
> 
> BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
> BuildRequires: doxygen, python-sphinx, inkscape
> #BuildRequires: texlive-collection-latexextra
> 
> This is because it seems that texlive-collection-latexextra does not
> exist on CentOS 7.2. Is there anyway to proceed:
> 
> 1. How do I resolve the sphinx error ?

It is really hard to know what's going wrong with PDF generation.
You can try "make doc V=1"

> 2. Can I simply build this kit without docs  ?

Yes you can remove the line "make O=%{target} doc" from the spec file.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Sphinx Errors on CentOS 7
  2016-10-05 14:18 ` Thomas Monjalon
@ 2016-10-05 14:27   ` Aly Dharshi
  2016-10-05 14:32   ` Aly Dharshi
  1 sibling, 0 replies; 4+ messages in thread
From: Aly Dharshi @ 2016-10-05 14:27 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: users

Thanks Thomas,

I am trying option 2 with the like commented out. I am running into :

Processing files: dpdk-devel-16.07-1.x86_64
Provides: dpdk-devel = 16.07-1 dpdk-devel(x86-64) = 16.07-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /bin/echo /bin/sh /usr/bin/python2
libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH)
Processing files: dpdk-doc-16.07-1.noarch
error: File not found:
/root/rpmbuild/BUILDROOT/dpdk-16.07-1.x86_64/usr/share/doc/dpdk


RPM build errors:
    File not found:
/root/rpmbuild/BUILDROOT/dpdk-16.07-1.x86_64/usr/share/doc/dpdk

Any thoughts ? Should I be building the RPM in a specific dir like
/usr/src ? Thanks.

Cheers,

ASD.
---
Aly Dharshi B.Sc. RHCE.
LRT Communications Design Specialist
Engineering & Maintenance
City Operations  |  Edmonton Transit System

780.496.2869     telephone
780.619.1595     mobile

City Of Edmonton
DL MacDonald Transit Yards
ROW Building
13304 50A Street
Edmonton AB T5A 4P6

All information contained in this email post is proprietary to the
City of Edmonton, confidential and intended only for the addressed
recipient. If you have received this post in error, please disregard
the contents, inform the sender of the misdirection, and remove it
from your system. The copying, dissemination or distribution of this
email, if misdirected, is strictly prohibited.


On Wed, Oct 5, 2016 at 8:18 AM, Thomas Monjalon
<thomas.monjalon@6wind.com> wrote:
> 2016-10-05 08:09, Aly Dharshi:
>> Hello DPDK Users,
>>
>> I am building an rpm set using the bundled SPEC file. Everything
>> compiles fine except the sphinx part:
> [...]
>> I've had to do this in the spec file to generate the build:
>>
>> BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
>> BuildRequires: doxygen, python-sphinx, inkscape
>> #BuildRequires: texlive-collection-latexextra
>>
>> This is because it seems that texlive-collection-latexextra does not
>> exist on CentOS 7.2. Is there anyway to proceed:
>>
>> 1. How do I resolve the sphinx error ?
>
> It is really hard to know what's going wrong with PDF generation.
> You can try "make doc V=1"
>
>> 2. Can I simply build this kit without docs  ?
>
> Yes you can remove the line "make O=%{target} doc" from the spec file.
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Sphinx Errors on CentOS 7
  2016-10-05 14:18 ` Thomas Monjalon
  2016-10-05 14:27   ` Aly Dharshi
@ 2016-10-05 14:32   ` Aly Dharshi
  1 sibling, 0 replies; 4+ messages in thread
From: Aly Dharshi @ 2016-10-05 14:32 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: users

Figured it out, also have to comment out:

#%files doc
#%doc %{_docdir}/dpdk

This allowed the rpm to build successfully ! Thanks.

Cheers,

ASD.
---
Aly Dharshi B.Sc. RHCE.
LRT Communications Design Specialist
Engineering & Maintenance
City Operations  |  Edmonton Transit System

780.496.2869     telephone
780.619.1595     mobile

City Of Edmonton
DL MacDonald Transit Yards
ROW Building
13304 50A Street
Edmonton AB T5A 4P6

All information contained in this email post is proprietary to the
City of Edmonton, confidential and intended only for the addressed
recipient. If you have received this post in error, please disregard
the contents, inform the sender of the misdirection, and remove it
from your system. The copying, dissemination or distribution of this
email, if misdirected, is strictly prohibited.


On Wed, Oct 5, 2016 at 8:18 AM, Thomas Monjalon
<thomas.monjalon@6wind.com> wrote:
> 2016-10-05 08:09, Aly Dharshi:
>> Hello DPDK Users,
>>
>> I am building an rpm set using the bundled SPEC file. Everything
>> compiles fine except the sphinx part:
> [...]
>> I've had to do this in the spec file to generate the build:
>>
>> BuildRequires: kernel-devel, kernel-headers, libpcap-devel, xen-devel
>> BuildRequires: doxygen, python-sphinx, inkscape
>> #BuildRequires: texlive-collection-latexextra
>>
>> This is because it seems that texlive-collection-latexextra does not
>> exist on CentOS 7.2. Is there anyway to proceed:
>>
>> 1. How do I resolve the sphinx error ?
>
> It is really hard to know what's going wrong with PDF generation.
> You can try "make doc V=1"
>
>> 2. Can I simply build this kit without docs  ?
>
> Yes you can remove the line "make O=%{target} doc" from the spec file.
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-05 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-05 14:09 [dpdk-users] Sphinx Errors on CentOS 7 Aly Dharshi
2016-10-05 14:18 ` Thomas Monjalon
2016-10-05 14:27   ` Aly Dharshi
2016-10-05 14:32   ` Aly Dharshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).