Skip to contentSkip to conversation

make doc fails

dpdk-dev Stephen Hemminger 5 participants 6 messages Jun 21, 2019 – Jun 24, 2019

lore
Share & tools
lore
#0 lore raw

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING: undefined label: multi_process_app (if the link has no caption the label must precede a section header)

Not sure what the bad commit is. Also, not sure why CI didn't catch it.

#1 lore raw

21/06/2019 21:56, Stephen Hemminger:

Quoted 5 lines

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING: undefined label: multi_process_app (if the link has no caption the label must precede a section header)

These are only warnings, not fatal failues.

Quoted 1 line

Not sure what the bad commit is. Also, not sure why CI didn't catch it.

It works well on my machine (with some warnings).

#2 lore raw
Quoted 8 lines · Thomas Monjalon

21/06/2019 21:56, Stephen Hemminger:

Quoted 5 lines

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING: undefined label: multi_process_app (if the link has no caption the label must precede a section header)

Quoted 5 lines

These are only warnings, not fatal failues.

Quoted 1 line

Not sure what the bad commit is. Also, not sure why CI didn't catch it.

It works well on my machine (with some warnings).

The warnings are from .pdf conversion and they are there for a long time now, although there are warnings pdf files still generated.

html files are generated by 'make doc-guides-html' and completes without warning, which verifies the .rst file syntax.

#3 lore raw
Quoted 13 lines · Ferruh Yigit
Quoted 12 lines · Thomas Monjalon

21/06/2019 21:56, Stephen Hemminger:

Quoted 5 lines

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING: undefined label: multi_process_app (if the link has no caption the label must precede a section header)

These are only warnings, not fatal failues.

Quoted 1 line

Not sure what the bad commit is. Also, not sure why CI didn't catch it.

Quoted 9 lines
Quoted 1 line

It works well on my machine (with some warnings).

The warnings are from .pdf conversion and they are there for a long time now, although there are warnings pdf files still generated.

html files are generated by 'make doc-guides-html' and completes without warning, which verifies the .rst file syntax.

PDF's can't link to other PDF's (e.g. FAQ can't link to GSG), that's why these warnings happen. That's normal.

Signature · 2 lines
Thanks,
Anatoly
#4 lore raw
Quoted 20 lines · Anatoly
Quoted 19 lines · Ferruh Yigit
Quoted 8 lines · Thomas Monjalon

21/06/2019 21:56, Stephen Hemminger:

Quoted 5 lines

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING: undefined label: linux_gsg (if the link has no caption the label must precede a section header) /home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING: undefined label: multi_process_app (if the link has no caption the label must precede a section header)

Quoted 5 lines

These are only warnings, not fatal failues.

Quoted 1 line

Not sure what the bad commit is. Also, not sure why CI didn't catch it.

It works well on my machine (with some warnings).

The warnings are from .pdf conversion and they are there for a long time now, although there are warnings pdf files still generated.

Quoted 7 lines
Quoted 3 lines

html files are generated by 'make doc-guides-html' and completes without warning, which verifies the .rst file syntax.

PDF's can't link to other PDF's (e.g. FAQ can't link to GSG), that's why these warnings happen. That's normal.

Ok thanks for the explanation

#5 lore raw
Quoted 37 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Monday, June 24, 2019 5:28 PM

Quoted 6 lines · Anatoly
Quoted 5 lines · Ferruh Yigit
Quoted 4 lines · Thomas Monjalon

21/06/2019 21:56, Stephen Hemminger:

Quoted 3 lines

Just tried make doc on current DPDK tree and it fails:

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:7: WARNING:

undefined label: linux_gsg (if the link has no caption the label must precede a section header)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:25: WARNING:

undefined label: linux_gsg (if the link has no caption the label must precede a section header)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

/home/shemminger/git/dpdk/doc/guides/faq/faq.rst:190: WARNING:

undefined label: multi_process_app (if the link has no caption the label must precede a section header)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

These are only warnings, not fatal failues.

Quoted 1 line

Not sure what the bad commit is. Also, not sure why CI didn't catch

it.

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

It works well on my machine (with some warnings).

The warnings are from .pdf conversion and they are there for a long

time now,

Quoted 3 lines
Quoted 3 lines

although there are warnings pdf files still generated.

html files are generated by 'make doc-guides-html' and completes

without

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

warning, which verifies the .rst file syntax.

PDF's can't link to other PDF's (e.g. FAQ can't link to GSG), that's why these warnings happen. That's normal.

Ok thanks for the explanation

Shouldn't the Makefile print a message to expect this warning just before the warning is emitted, so future confusion about this is avoided?

Med venlig hilsen / kind regards
- Morten Brørup