> hi all,
>     I used the following command to compile OVS and encountered an error, the 
> detailed error information is as follows:
> 
> 
> command:
> 
> 
> ./boot.sh
> mkdir build-gcc && cd build-gcc
> ../configure --prefix=$PWD/tmp --enable-shared CFLAGS="-g -O2 -msse4.2 
> -mpopcnt -march=native -fsanitize=address -fno-omit-frame-pointer -fno-common"
> cd ..
> make -C build-gcc
> 
> 
> I inquired many posts, but did not solve the problem. I hope I can get your 
> help. Thank you.
> 
> 
> error info-1:
> [mythos at localhost ovs]$ make -C build-gcc
> make: Entering directory `/home/mythos/github/ovs/build-gcc'
> make  all-recursive
> make[1]: Entering directory `/home/mythos/github/ovs/build-gcc'
> Making all in datapath
> make[2]: Entering directory `/home/mythos/github/ovs/build-gcc/datapath'
> make[3]: Entering directory `/home/mythos/github/ovs/build-gcc/datapath'
> make[3]: Leaving directory `/home/mythos/github/ovs/build-gcc/datapath'
> make[2]: Leaving directory `/home/mythos/github/ovs/build-gcc/datapath'
> make[2]: Entering directory `/home/mythos/github/ovs/build-gcc'
> make[3]: Entering directory `/home/mythos/github/ovs/build-gcc/datapath'
> make[3]: `distfiles' is up to date.
> make[3]: Leaving directory `/home/mythos/github/ovs/build-gcc/datapath'
> sphinx-build  -b html -W -n -d ./Documentation/_build/doctrees  
> ../Documentation ./Documentation/_build/html && touch docs-check
> Making output directory...
> Running Sphinx v1.1.3
> Cannot find 'ovs-sphinx-theme' package. Falling back to default theme.
> loading pickled environment... failed: [Errno 2] No such file or directory: 
> '/home/mythos/github/ovs/build-gcc/Documentation/_build/doctrees/environment.pickle'
> building [html]: targets for 117 source files that are out of date
> updating environment: 117 added, 0 changed, 0 removed
> reading sources... [  0%] contents                                            
>                                                                               
>                  
> Exception occurred:
>   File "/usr/local/lib/python3.6/site-packages/sphinx/environment.py", line 
> 732, in __init__
>     FileInput.__init__(self_, *args, **kwds)
> TypeError: __init__() got an unexpected keyword argument 'handle_io_errors'
> The full traceback has been saved in /tmp/sphinx-err-uybjg752.log, if you 
> want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error 
> message can be provided next time.
> Either send bugs to the mailing list at 
> <http://groups.google.com/group/sphinx-dev/>,
> or report them in the tracker at 
> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
> make[2]: *** [docs-check] Error 1
> make[2]: Leaving directory `/home/mythos/github/ovs/build-gcc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mythos/github/ovs/build-gcc'
> make: *** [all] Error 2
> make: Leaving directory `/home/mythos/github/ovs/build-gcc'
> [mythos at localhost ovs]$ 
> 
> 
> error info-2:
> 
> 
> [mythos at localhost ovs]$ cat /tmp/sphinx-err-uybjg752.log
> # Sphinx version: 1.1.3
> # Python version: 3.6.8
> # Docutils version: 0.17.1 release
> # Jinja2 version: 3.0.1
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.6/site-packages/docutils/core.py", line 180, 
> in set_source
>     encoding=self.settings.input_encoding)
>   File "/usr/local/lib/python3.6/site-packages/sphinx/environment.py", line 
> 732, in __init__
>     FileInput.__init__(self_, *args, **kwds)
> TypeError: __init__() got an unexpected keyword argument 'handle_io_errors'


Hi.  Your version of sphinx is incompatible with version of docutils:
  https://groups.google.com/g/sphinx-dev/c/etyW8JFnJUw?pli=1
You need to find ones that work together or simply upgrade both.

P.S. please, use ovs-discuss for this kind of questions.  ovs-build is
not monitored by humans usually.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to