I’m also having an issue compiling the ParaView 5.9.0 superbuild with Qt and Mesa, but I am getting a different error:
gmake[7]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/llvmpipe'
Making all in drivers/swr
gmake[7]: Entering directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr'
GEN rasterizer/jitter/gen_state_llvm.h
GEN rasterizer/jitter/gen_builder.hpp
GEN rasterizer/jitter/gen_builder_meta.hpp
GEN rasterizer/jitter/gen_builder_intrin.hpp
Traceback (most recent call last):
File "./rasterizer/codegen/gen_llvm_types.py", line 24, in <module>
Traceback (most recent call last):
File "./rasterizer/codegen/gen_llvm_ir_macros.py", line 24, in <module>
Traceback (most recent call last):
Traceback (most recent call last):
File "./rasterizer/codegen/gen_llvm_ir_macros.py", line 24, in <module>
File "./rasterizer/codegen/gen_llvm_ir_macros.py", line 24, in <module>
from gen_common import *
from gen_common import *
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py", line 31, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py", line 31, in <module>
from gen_common import *
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py", line 31, in <module>
from gen_common import *
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr/rasterizer/codegen/gen_common.py", line 31, in <module>
from mako.template import Template
from mako.template import Template
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/template.py", line 10, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/template.py", line 10, in <module>
from mako.template import Template
from mako.template import Template
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/template.py", line 10, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/template.py", line 10, in <module>
from mako.lexer import Lexer
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/lexer.py", line 11, in <module>
from mako.lexer import Lexer
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/lexer.py", line 11, in <module>
from mako.lexer import Lexer
from mako.lexer import Lexer
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/lexer.py", line 11, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/lexer.py", line 11, in <module>
from mako import parsetree, exceptions, compat
from mako import parsetree, exceptions, compat
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/parsetree.py", line 9, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/parsetree.py", line 9, in <module>
from mako import parsetree, exceptions, compat
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/parsetree.py", line 9, in <module>
from mako import parsetree, exceptions, compat
from mako import exceptions, ast, util, filters, compat
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 273, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/parsetree.py", line 9, in <module>
from mako import exceptions, ast, util, filters, compat
from mako import exceptions, ast, util, filters, compat
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 273, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 273, in <module>
_install_highlighting()
from mako import exceptions, ast, util, filters, compat
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 270, in _install_highlighting
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 273, in <module>
_install_highlighting()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 270, in _install_highlighting
_install_highlighting()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 270, in _install_highlighting
_install_highlighting()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 270, in _install_highlighting
_install_pygments()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 255, in _install_pygments
_install_pygments()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 255, in _install_pygments
_install_pygments()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 255, in _install_pygments
from mako.ext.pygmentplugin import syntax_highlight # noqa
from mako.ext.pygmentplugin import syntax_highlight # noqa
_install_pygments()
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/ext/pygmentplugin.py", line 7, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/ext/pygmentplugin.py", line 7, in <module>
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/exceptions.py", line 255, in _install_pygments
from mako.ext.pygmentplugin import syntax_highlight # noqa
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/ext/pygmentplugin.py", line 7, in <module>
from pygments.lexers.web import \
File "/usr/lib/python2.7/site-packages/pygments/lexers/__init__.py", line 18, in <module>
from pygments.lexers.web import \
from pygments.lexers.web import \
File "/usr/lib/python2.7/site-packages/pygments/lexers/__init__.py", line 18, in <module>
File "/usr/lib/python2.7/site-packages/pygments/lexers/__init__.py", line 18, in <module>
from mako.ext.pygmentplugin import syntax_highlight # noqa
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/mako/ext/pygmentplugin.py", line 7, in <module>
from pygments.plugin import find_plugin_lexers
from pygments.plugin import find_plugin_lexers
from pygments.plugin import find_plugin_lexers
File "/usr/lib/python2.7/site-packages/pygments/plugin.py", line 39, in <module>
File "/usr/lib/python2.7/site-packages/pygments/plugin.py", line 39, in <module>
File "/usr/lib/python2.7/site-packages/pygments/plugin.py", line 39, in <module>
from pygments.lexers.web import \
File "/usr/lib/python2.7/site-packages/pygments/lexers/__init__.py", line 18, in <module>
from pygments.plugin import find_plugin_lexers
File "/usr/lib/python2.7/site-packages/pygments/plugin.py", line 39, in <module>
import pkg_resources
import pkg_resources
import pkg_resources
import pkg_resources
File "/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1380
raise SyntaxError(e) from e
File " File " /home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/pkg_resources/__init__.py/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/pkg_resources/__init__.py ", line ", line 1380 1380
File " raise SyntaxError(e) from e
/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/install/lib/python3.8/site-packages/pkg_resources/__init__.py raise SyntaxError(e) from e
", line 1380
raise SyntaxError(e) from e
^
SyntaxError : invalid syntax
^
^
SyntaxError SyntaxError: : invalid syntax ^
invalid syntax
SyntaxError: invalid syntax
gmake[7]: *** [rasterizer/jitter/gen_state_llvm.h] Error 1
gmake[7]: *** Waiting for unfinished jobs....
gmake[7]: *** [rasterizer/jitter/gen_builder.hpp] Error 1
gmake[7]: *** [rasterizer/jitter/gen_builder_intrin.hpp] Error 1
gmake[7]: *** [rasterizer/jitter/gen_builder_meta.hpp] Error 1
gmake[7]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium/drivers/swr'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src/gallium'
gmake[5]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src'
gmake[5]: *** [all-recursive] Error 1
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/mesa/src'
CMake Error at /home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super/superbuild/sb-mesa-build.cmake:47 (message):
Failed with exit code 2
make[2]: *** [superbuild/mesa/stamp/mesa-build] Error 1
make[2]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super'
make[1]: *** [superbuild/CMakeFiles/mesa.dir/all] Error 2
make[1]: Leaving directory `/home/shelf1/motorsports/software/Visualization/build/paraview/5.9.0_super'
make: *** [all] Error 2
The Python syntax is incorrect? The mesa package is based on Python/2.7 but because I’m also asking the ParaView Superbuild for the Python3 project, the mesa project is getting confused and finding the wrong version of Python?