Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13953

Re: New version of mayavi2 fails to build

From Scott Talbert <swt@techie.net>
Newsgroups linux.debian.maint.python
Subject Re: New version of mayavi2 fails to build
Date 2022-02-17 17:30 +0100
Message-ID <DRRPj-2sAy-15@gated-at.bofh.it> (permalink)
References <DRR2V-2s3e-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

New version of mayavi2 fails to build Andreas Tille <andreas@an3as.eu> - 2022-02-17 16:40 +0100
  Re: New version of mayavi2 fails to build Scott Talbert <swt@techie.net> - 2022-02-17 17:30 +0100
    Re: New version of mayavi2 fails to build Andreas Tille <andreas@an3as.eu> - 2022-02-17 20:50 +0100

csiph-web