DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Error building documentation
@ 2021-02-08 13:43 Murrell, Brian
  2021-02-15  8:27 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: Murrell, Brian @ 2021-02-08 13:43 UTC (permalink / raw)
  To: dev

When I add "-Denable_docs=true" to my DPDK 20.11 build commandline I
get a build error:

FAILED: doc/guides/html 
/usr/bin/python3.6 ../buildtools/call-sphinx-build.py /bin/sphinx-build
20.11.0 /home/brian/daos/rpm/dpdk/_topdir/BUILD/dpdk-20.11/doc/guides
/home/brian/daos/rpm/dpdk/_topdir/BUILD/dpdk-20.11/build/doc/guides
Traceback (most recent call last):
  File "../buildtools/call-sphinx-build.py", line 22, in <module>
    if StrictVersion(ver) >= StrictVersion('1.7'):
  File "/usr/lib64/python3.6/distutils/version.py", line 40, in
__init__
    self.parse(vstring)
  File "/usr/lib64/python3.6/distutils/version.py", line 137, in parse
    raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number 'these.'

Is this a known issue?

Cheers,
b.



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

* Re: [dpdk-dev] Error building documentation
  2021-02-08 13:43 [dpdk-dev] Error building documentation Murrell, Brian
@ 2021-02-15  8:27 ` David Marchand
  0 siblings, 0 replies; 2+ messages in thread
From: David Marchand @ 2021-02-15  8:27 UTC (permalink / raw)
  To: Murrell, Brian; +Cc: dev, Bruce Richardson, Thomas Monjalon

On Mon, Feb 8, 2021 at 2:44 PM Murrell, Brian <brian.murrell@intel.com> wrote:
>
> When I add "-Denable_docs=true" to my DPDK 20.11 build commandline I
> get a build error:
>
> FAILED: doc/guides/html
> /usr/bin/python3.6 ../buildtools/call-sphinx-build.py /bin/sphinx-build
> 20.11.0 /home/brian/daos/rpm/dpdk/_topdir/BUILD/dpdk-20.11/doc/guides
> /home/brian/daos/rpm/dpdk/_topdir/BUILD/dpdk-20.11/build/doc/guides
> Traceback (most recent call last):
>   File "../buildtools/call-sphinx-build.py", line 22, in <module>
>     if StrictVersion(ver) >= StrictVersion('1.7'):
>   File "/usr/lib64/python3.6/distutils/version.py", line 40, in
> __init__
>     self.parse(vstring)
>   File "/usr/lib64/python3.6/distutils/version.py", line 137, in parse
>     raise ValueError("invalid version number '%s'" % vstring)
> ValueError: invalid version number 'these.'
>
> Is this a known issue?

I guess you use an old sphinx version, like maybe sphinx on RHEL7 ?

Example on my rhel7:

$ sphinx-build --version
Sphinx v1.1.3
[...]
* with -a, write all files.
* with filenames, write these.

Afaics, we require sphinx >= 1.7 for building the documentation.


-- 
David Marchand


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

end of thread, other threads:[~2021-02-15  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 13:43 [dpdk-dev] Error building documentation Murrell, Brian
2021-02-15  8:27 ` David Marchand

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).