[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New version of mayavi2 fails to build



On Thu, 17 Feb 2022, Andreas Tille wrote:

Hi,

as you can see in Salsa-CI build log[1] the new version of mayavi2 fails
with something like:

...
File "/builds/python-team/packages/mayavi2/debian/output/source_dir/mayavi/mlab.py", line 16 in <module>
 File "<frozen importlib._bootstrap>", line 228 in _call_with_frames_removed
 File "<frozen importlib._bootstrap_external>", line 850 in exec_module
 File "<frozen importlib._bootstrap>", line 680 in _load_unlocked
 File "<frozen importlib._bootstrap>", line 986 in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 1007 in _find_and_load
 File "<frozen importlib._bootstrap>", line 228 in _call_with_frames_removed
 File "<frozen importlib._bootstrap>", line 1058 in _handle_fromlist
 File "/builds/python-team/packages/mayavi2/debian/output/source_dir/setup.py", line 138 in mlab_reference
 File "/builds/python-team/packages/mayavi2/debian/output/source_dir/setup.py", line 176 in run
 ...
Aborted (core dumped)
E: pybuild pybuild:367: build: plugin distutils failed with: exit code=134: /usr/bin/python3 setup.py build

Any idea what might be wrong here?

Looking at the full log, it appears as if something in the build process is trying to open an X display and fails. Perhaps try running dh_auto_build with Xvfb?

Scott


Reply to: