[Bug 257412] math/sage: Doesn't build with newer Sphinx

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jul 2021 12:39:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257412

            Bug ID: 257412
           Summary: math/sage: Doesn't build with newer Sphinx
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: dbaio@freebsd.org
            Blocks: 257116
             Flags: maintainer-feedback?(thierry@FreeBSD.org)
          Assignee: thierry@FreeBSD.org

cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html '
logs/dochtml.log
[dochtml] 
[dochtml] Building reference manual, first pass.
[dochtml] 
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] [reference] building [inventory]: targets for 1 source files that are
out of date
[dochtml] [reference] updating environment: [new config] 1 added, 0 changed, 0
removed
[dochtml] [reference] The inventory files are in
../build/usr/local/share/doc/sage/inventory/en/reference/references.
[dochtml] Build finished. The built documents can be found in
/wrkdirs/usr/ports/math/sage/work/build/usr/local/share/doc/sage/inventory/en/reference/references
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] [spkg     ] building [inventory]: targets for 273 source files that
are out of date
[dochtml] [spkg     ] updating environment: [new config] 273 added, 0 changed,
0 removed
[dochtml] [spkg     ] The inventory files are in
../build/usr/local/share/doc/sage/inventory/en/reference/spkg.
[dochtml] Build finished. The built documents can be found in
/wrkdirs/usr/ports/math/sage/work/build/usr/local/share/doc/sage/inventory/en/reference/spkg
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] Unable to init server: Could not connect to 127.0.0.1: Connection
refused
[dochtml] [manifolds] building [inventory]: targets for 78 source files that
are out of date
[dochtml] [manifolds] updating environment: [new config] 78 added, 0 changed, 0
removed
[dochtml] [manifolds] Exception occurred:
[dochtml] [manifolds]   File
"/wrkdirs/usr/ports/math/sage/work/sage-9.2/src/sage_setup/docbuild/ext/sage_autodoc.py",
line 540, in add_content
[dochtml] [manifolds]     encoding = self.analyzer and self.analyzer._encoding
[dochtml] [manifolds] AttributeError: 'ModuleAnalyzer' object has no attribute
'_encoding'
[dochtml] [manifolds] The full traceback has been saved in
/tmp/sphinx-err-gefxxl_h.log, if you want to report the issue to the
developers.
[dochtml] [manifolds] Please also report this if it was a user error, so that a
better error message can be provided next time.
[dochtml] [manifolds] A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[dochtml]   File "/usr/local/lib/python3.8/runpy.py", line 194, in
_run_module_as_main
[dochtml]     return _run_code(code, main_globals, None,
[dochtml]   File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
[dochtml]     exec(code, run_globals)
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__main__.py",
line 2, in <module>
[dochtml]     main()
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__init__.py",
line 1729, in main
[dochtml]     builder()
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__init__.py",
line 344, in _wrapper
[dochtml]     getattr(get_builder(document), 'inventory')(*args, **kwds)
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__init__.py",
line 570, in _wrapper
[dochtml]     self._build_everything_except_bibliography(lang, format, *args,
**kwds)
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__init__.py",
line 556, in _build_everything_except_bibliography
[dochtml]     build_many(build_ref_doc, non_references)
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/__init__.py",
line 296, in build_many
[dochtml]     _build_many(target, args, processes=NUM_THREADS)
[dochtml]   File
"/wrkdirs/usr/ports/math/sage/work/build/usr/local/lib/python3.8/site-packages/sage_setup/docbuild/utils.py",
line 289, in build_many
[dochtml]     raise worker_exc.original_exception
[dochtml] OSError: Exception occurred:
gmake[2]: *** [Makefile:1876: doc-html] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/math/sage/work/sage-9.2/build/make'


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257116
[Bug 257116] textproc/py-sphinx: Update to 4.0.3
-- 
You are receiving this mail because:
You are the assignee for the bug.