#1118326 mayavi2: FTBFS: Fatal Python error: Aborted

#1118326#5
Date:
2025-10-17 23:08:48 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mayavi2, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
	pybuild --clean -i python{version} -p 3.13
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
	rm -rf .pybuild/
	find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/mayavi2.substvars debian/files
	rm -fr -- debian/mayavi2/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
   debian/rules execute_after_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf tvtk/tvtk_classes.zip
rm -rf docs/build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
	pybuild --configure -i python{version} -p 3.13
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find /<<PKGBUILDDIR>>/* -name '*.pyx' -exec cython3 '{}' ';'
LD_PRELOAD=libgomp.so.1 xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" dh_auto_build
	pybuild --build -i python{version} -p 3.13
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
Building tvtk_classes.zip
----------------------------------------------------------------------
Building TVTK classes... python3: ./Common/DataModel/vtkGenericAttributeCollection.cxx:435: int* vtkGenericAttributeCollection::GetAttributesToInterpolate(): Assertion `"pre: not_empty" && !IsEmpty()' failed.
Fatal Python error: Aborted

Current thread 0x00007f563a10b800 (most recent call first):
  File "/<<PKGBUILDDIR>>/tvtk/vtk_parser.py", line 695 in _find_get_set_methods
  File "/<<PKGBUILDDIR>>/tvtk/vtk_parser.py", line 493 in _organize_methods
  File "/<<PKGBUILDDIR>>/tvtk/vtk_parser.py", line 159 in parse
  File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 338 in _gen_methods
  File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 239 in generate_code
  File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 241 in _write_wrapper_class
  File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 148 in generate_code
  File "/<<PKGBUILDDIR>>/tvtk/_setup.py", line 58 in gen_tvtk_classes_zip
  File "/<<PKGBUILDDIR>>/setup.py", line 247 in build_tvtk_classes_zip
  File "/<<PKGBUILDDIR>>/setup.py", line 254 in run
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1021 in run_command
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104 in run_command
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 357 in run_command
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 135 in run
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1021 in run_command
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104 in run_command
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1002 in run_commands
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 202 in run_commands
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 186 in setup
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117 in setup
  File "/<<PKGBUILDDIR>>/setup.py", line 322 in <module>

Extension modules: numpy._core._multiarray_umath, numpy.lina [too-long-redacted] tkFiltersReduction (total: 147)
Aborted
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=134: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1118326#10
Date:
2026-08-09 10:04:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mayavi2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1118326@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated mayavi2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 09 Aug 2026 11:15:35 +0200
Source: mayavi2
Architecture: source
Version: 4.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1118326
Changes:
 mayavi2 (4.9.0-1) unstable; urgency=medium
 .
   * Team upload
   * New upstream version 4.9.0 (Closes: #1118326)
   * Salsa CI: enable nocheck, disable all & any
   * Drop "Rules-Requires-Root: no": it is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
   * Rewrite d/watch in v5 format
   * Rename files under debian/ for future debhelper 14 compatibility
   * Drop runtime dependency on python3-pkg-resources
Checksums-Sha1:
 e62d822b22670a6adf64dd52bb8927d342c74673 2326 mayavi2_4.9.0-1.dsc
 445d4ea9818e62be6b3fbf4801412f073f9bb597 8578140 mayavi2_4.9.0.orig.tar.gz
 b598afcb6250329476e5e3372983a0f0a7f9d5e6 367364 mayavi2_4.9.0-1.debian.tar.xz
 ab41ae48e57f5e0070c6be7d94572d103da86879 20992 mayavi2_4.9.0-1_source.buildinfo
Checksums-Sha256:
 c87e4224b974b0963f3573be16b8a4ea63815fd4bbe2e3b3edf6918b153f59d7 2326 mayavi2_4.9.0-1.dsc
 d12cfb362a658b0d99f088184abb6dca805d8accc437bd5e8131c221987783de 8578140 mayavi2_4.9.0.orig.tar.gz
 caf446ed0b17df7f1baf6fdef6ab1ff193c2a78bf5b8cf14e09456a4b120c0ac 367364 mayavi2_4.9.0-1.debian.tar.xz
 403a62c97bac22a8fc7e85f2a2aee3726309d9ed2741c0d360781c0470d4948f 20992 mayavi2_4.9.0-1_source.buildinfo
Files:
 d17f685d2b42fb795b0b82e925d6315e 2326 science optional mayavi2_4.9.0-1.dsc
 512617b63e3334ce4eb6741407354082 8578140 science optional mayavi2_4.9.0.orig.tar.gz
 ab0b4b3dbb0f08770aabd6c791bc9bc0 367364 science optional mayavi2_4.9.0-1.debian.tar.xz
 180c3aed381c829f06182931eb60db2b 20992 science optional mayavi2_4.9.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmp4SzYRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBop5g//fPSyD2Xuba8PGKtP8JeZXRixxrv5XYhk
QMFG1MGyEdjtTSd5ww0Pj5H3xL+q9DTUzZpDUOd1Oh72hspmwZWtrseDYQp10+TO
mMW3Qp12v7Fz++WYrqe2WJlIrsaSvI3929Hn4hGInPy8su8vo5KaOM8cOVz3CqgY
8dpFQVZ9Iz/BgLdM5LSXiPeBy6vWzh+3KITpcOyQS8RHGMjxzihz0Ym9dP9HP4sQ
m0DWVRD7om/Fm/OGiFSKhnQNj5GiA/y2Tw+pIBUmsMj4iLuuYKYn7fcggBgGD25O
U6kZd6c2u/wRUJ/UcMNe3X+ccCgA0oSNf7MPiGlm7Yt0BDz4Eq/FufaRGIGtoInK
3kbJaNkAuJVlhLl1gcgdxyuhaxie54E2j5TFxso/ayvoD6oMIIV1J2meczKP9i5C
pq0bCKDGvVOEfNq8iPzeiblj7whAIe7Tz0ZLVJFo0EYe/osgT0izSiO7SfOSq6Hs
l20cQA2t8EiFPjhQoMqQnyAeIRldvXhXZPwa7XeIYmU4oBwW8mFZOpFWOWCynsbA
PmpWv23/U3M+AnX1FmeSKNNCV/yEX0mYLQEQTA93y9YFBGfOPbTEeRoIXaLgRxcS
aiEZYS5xLhUon+0A22EXdwdkdaRTn/9QoBYwo+yeuPBfAfW6gr85OBayHCBe2VHV
fwQVq8vt3Sg=
=hf7u
-----END PGP SIGNATURE-----