pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fonts/fontforge build failure
Hi,
The latest fonts/fontforge package fails to build due to a python
extensions script being ran with python2.7 instead of python3.7 or
later:
...
Exception occurred:
File
"/usr/pkg/lib/python2.7/site-packages/sphinx/registry.py", line 472,
in load_extension
mod = __import__(extname, None, None, ['setup'])
File
"/usr/pkgsrc/fonts/fontforge/work/fontforge-20200314/doc/sphinx/_extensions/fontforge_scripting_domain.py",
line 39
def _pseudo_parse_arglist(signode: desc_signature, arglist: str)
-> None:
^
SyntaxError: invalid syntax
The full
traceback has been saved in /tmp/sphinx-err-UsFkUD.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.
A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
gmake[2]: *** [doc/CMakeFiles/docs.dir/build.make:972: doc/sphinx-docs] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1601: doc/CMakeFiles/docs.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
...
The trace file mentioned is as follows:
...
# Sphinx version: 1.8.5
# Python version: 2.7.18 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.11.2
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/sphinx/cmd/build.py",
line 303, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
File "/usr/pkg/lib/python2.7/site-packages/sphinx/application.py",
line 228, in __init__
self.setup_extension(extension)
File "/usr/pkg/lib/python2.7/site-packages/sphinx/application.py",
line 449, in setup_extension
self.registry.load_extension(self, extname)
File "/usr/pkg/lib/python2.7/site-packages/sphinx/registry.py", line
472, in load_extension
mod = __import__(extname, None, None, ['setup'])
File "/usr/pkgsrc/fonts/fontforge/work/fontforge-20200314/doc/sphinx/_extensions/fontforge_scripting_domain.py",
line 39
def _pseudo_parse_arglist(signode: desc_signature, arglist: str) -> None:
^
SyntaxError: invalid syntax
...
Any advice? My PYTHON_VERSION_DEFAULT is 3.7, although there are a
number of packages built for 2.7 and 3.8.
Chavdar
--
----
Home |
Main Index |
Thread Index |
Old Index