• New version of mayavi2 fails to build

    From Andreas Tille@21:1/5 to All on Thu Feb 17 16:40:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Talbert@21:1/5 to Andreas Tille on Thu Feb 17 17:30:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Thu Feb 17 20:50:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)