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


Groups > linux.debian.maint.python > #13952 > unrolled thread

New version of mayavi2 fails to build

Started byAndreas Tille <andreas@an3as.eu>
First post2022-02-17 16:40 +0100
Last post2022-02-17 20:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  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

#13952 — New version of mayavi2 fails to build

FromAndreas Tille <andreas@an3as.eu>
Date2022-02-17 16:40 +0100
SubjectNew version of mayavi2 fails to build
Message-ID<DRR2V-2s3e-5@gated-at.bofh.it>
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?

Kind regards

      Andreas.


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

-- 
http://fam-tille.de

[toc] | [next] | [standalone]


#13953

FromScott Talbert <swt@techie.net>
Date2022-02-17 17:30 +0100
Message-ID<DRRPj-2sAy-15@gated-at.bofh.it>
In reply to#13952
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

[toc] | [prev] | [next] | [standalone]


#13958

FromAndreas Tille <andreas@an3as.eu>
Date2022-02-17 20:50 +0100
Message-ID<DRUWR-2upv-3@gated-at.bofh.it>
In reply to#13953
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web