Re: New version of mayavi2 fails to build

2022-02-17 Thread Andreas Tille
Hi Scott,

Am Thu, Feb 17, 2022 at 11:27:12AM -0500 schrieb Scott Talbert:
> 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?

Yes, thanks for the very helpful hint

  Andreas.

-- 
http://fam-tille.de



Re: New version of mayavi2 fails to build

2022-02-17 Thread Scott Talbert

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 
 File "", line 228 in _call_with_frames_removed
 File "", line 850 in exec_module
 File "", line 680 in _load_unlocked
 File "", line 986 in _find_and_load_unlocked
 File "", line 1007 in _find_and_load
 File "", line 228 in _call_with_frames_removed
 File "", 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



New version of mayavi2 fails to build

2022-02-17 Thread Andreas Tille
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 
  File "", line 228 in _call_with_frames_removed
  File "", line 850 in exec_module
  File "", line 680 in _load_unlocked
  File "", line 986 in _find_and_load_unlocked
  File "", line 1007 in _find_and_load
  File "", line 228 in _call_with_frames_removed
  File "", 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?

Kind regards

  Andreas.


[1] https://salsa.debian.org/python-team/packages/mayavi2/-/pipelines/349803

-- 
http://fam-tille.de