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@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@localhost ovs]$ 


error info-2:


[mythos@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'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/sphinx/cmdline.py", line 189, in 
main
    app.build(force_all, filenames)
  File "/usr/local/lib/python3.6/site-packages/sphinx/application.py", line 
204, in build
    self.builder.build_update()
  File "/usr/local/lib/python3.6/site-packages/sphinx/builders/__init__.py", 
line 196, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python3.6/site-packages/sphinx/builders/__init__.py", 
line 216, in build
    purple, length):
  File "/usr/local/lib/python3.6/site-packages/sphinx/builders/__init__.py", 
line 120, in status_iterator
    for item in iterable:
  File "/usr/local/lib/python3.6/site-packages/sphinx/environment.py", line 
613, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/local/lib/python3.6/site-packages/sphinx/environment.py", line 
758, in read_doc
    pub.set_source(None, src_path.encode(fs_encoding))
  File "/usr/local/lib/python3.6/site-packages/docutils/core.py", line 184, 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'


[mythos@localhost ovs]$ pip list
Package           Version
----------------- --------
attrs             21.2.0
Automat           20.2.0
constantly        15.1.0
docutils          0.17.1
hyperlink         21.0.0
idna              3.2
incremental       21.3.0
Jinja2            3.0.1
MarkupSafe        2.0.1
pip               21.2.3
Pygments          2.9.0
rpm               4.11.3
rpmconf           1.0.22
setuptools        57.4.0
six               1.16.0
Sphinx            1.1.3
Twisted           21.7.0
typing-extensions 3.10.0.0
wheel             0.36.2
zope.interface    5.4.0












| |
mythosmonkeyking
|
|
mythosmonkeyk...@163.com
|
签名由网易邮箱大师定制
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to