--- Begin Message ---
Source: mayavi2
Version: 4.8.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> find /<<PKGBUILDDIR>>/* -name '*.pyx' -exec cython3 '{}' ';'
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning:
> Cython directive 'language_level' not set, using 2 for now (Py2). This will
> change in a later release! File: /<<PKGBUILDDIR>>/tvtk/src/array_ext.pyx
> tree = Parsing.p_module(s, pxd, full_module_name)
> LD_PRELOAD=libgomp.so.1 xvfb-run --auto-servernum --server-args="-screen 0
> 1024x768x24" dh_auto_build
> I: pybuild base:311: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:13: DeprecationWarning:
>
> `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
> of the deprecation of `distutils` itself. It will be removed for
> Python >= 3.12. For older Python versions it will remain present.
> It is recommended to use `setuptools < 60.0` for those Python versions.
> For more details, see:
> https://numpy.org/devdocs/reference/distutils_status_migration.html
>
>
> from numpy.distutils.command import build, install_data, build_src
> running build
> Building tvtk_classes.zip
> ----------------------------------------------------------------------
> Building TVTK classes... vtkAnimationCue: Ignoring method: Get/SetDirection
> default: 1, range: None
> vtkContextDevice2D: Ignoring method: Get/SetViewportRect
> default: [0, 0, 0, 0], range: None
> vtkContextDevice2D: Ignoring method: Get/SetViewportSize
> default: [0, 0], range: None
> vtkEventDataForDevice: Ignoring method: Get/SetAction
> default: -1, range: None
> vtkEventDataForDevice: Ignoring method: Get/SetDevice
> default: -1, range: None
> vtkFXAAOptions: Ignoring method: Get/SetDebugOptionValue
> default: 0, range: None
> vtkIncrementalForceLayout: Ignoring method: Get/SetGravityPoint
> default: [200.0, 200.0], range: None
> vtkLineIntegralConvolution2D: MaxNoiseValue not updatable (VTK 9.2 bug -
> value not properly initialized)
> vtkOpenGLBufferObject: Ignoring method: Get/SetType
> default: 0, range: None
> vtkOpenGLFXAAFilter: Ignoring method: Get/SetDebugOptionValue
> default: 0, range: None
> vtkRenderWidget: Ignoring method: Get/SetPosition
> default: [0, 0], range: None
> vtkRenderWidget: Ignoring method: Get/SetSize
> default: [300, 300], range: None
> vtkShader: Ignoring method: Get/SetType
> default: 3, range: None
> vtkViewport: Ignoring method: Get/SetGradientMode
> default: 0, range: None
> vtkVolumeTexture: Ignoring method: Get/SetPartitions
> default: [1, 1, 1], range: None
> vtkChartMatrix: Ignoring method: Get/SetFillStrategy
> default: 0, range: None
> vtkChartMatrix: Ignoring method: Get/SetGutter
> default: [15.0, 15.0], range: None
> vtkChartMatrix: Ignoring method: Get/SetRect
> default: [0, 0, 100, 100], range: None
> vtkChartMatrix: Ignoring method: Get/SetSize
> default: [0, 0], range: None
> vtkContextArea: Ignoring method: Get/SetDrawAreaBounds
> default: [0.0, 0.0, 300.0, 300.0], range: None
> vtkContextArea: Ignoring method: Get/SetDrawAreaResizeBehavior
> default: 0, range: None
> vtkContextArea: Ignoring method: Get/SetFixedMargins
> default: [0, 0, 0, 0], range: None
> vtkContextArea: Ignoring method: Get/SetFixedRect
> default: [0, 0, 300, 300], range: None
> vtkContextArea: Ignoring method: Get/SetGeometry
> default: [0, 0, 300, 300], range: None
> vtkImplicitProjectOnPlaneDistance: Ignoring method: Get/SetNorm
> default: 2, range: None
>
>
> Failed on OpenGLCellGridRenderRequest
> (#5 of 11 nodes, #219 of 452 subnodes):
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 142, in generate_code
> self._write_wrapper_class(node, tvtk_name)
> File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 235, in _write_wrapper_class
> self.wrap_gen.generate_code(node, out)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 242, in generate_code
> self._gen_methods(node, out)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 361, in _gen_methods
> get_set, allow_update_failure = self._gen_get_set_methods(klass, out)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 774, in
> _gen_get_set_methods
> self._write_trait_with_range(klass, out, vtk_attr_name)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 1550, in
> _write_trait_with_range
> if (default > rng[1]) and (default - rng[1]) < 2:
> ~~~~~~~~^~~~~~~~
> TypeError: unsupported operand type(s) for -: 'str' and 'str'
>
>
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 432, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line 170, in
> setup
> return old_setup(**new_attr)
> ^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, in
> setup
> return distutils.core.setup(**attrs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 185, in setup
> return run_commands(dist)
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 201, in run_commands
> dist.run_commands()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 969, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 988, in run_command
> cmd_obj.run()
> File "/<<PKGBUILDDIR>>/setup.py", line 287, in run
> build_tvtk_classes_zip()
> File "/<<PKGBUILDDIR>>/setup.py", line 273, in build_tvtk_classes_zip
> gen_tvtk_classes_zip()
> File "/<<PKGBUILDDIR>>/tvtk/setup.py", line 98, in gen_tvtk_classes_zip
> gen.generate_code()
> File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 142, in generate_code
> self._write_wrapper_class(node, tvtk_name)
> File "/<<PKGBUILDDIR>>/tvtk/code_gen.py", line 235, in _write_wrapper_class
> self.wrap_gen.generate_code(node, out)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 242, in generate_code
> self._gen_methods(node, out)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 361, in _gen_methods
> get_set, allow_update_failure = self._gen_get_set_methods(klass, out)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 774, in
> _gen_get_set_methods
> self._write_trait_with_range(klass, out, vtk_attr_name)
> File "/<<PKGBUILDDIR>>/tvtk/wrapper_gen.py", line 1550, in
> _write_trait_with_range
> if (default > rng[1]) and (default - rng[1]) < 2:
> ~~~~~~~~^~~~~~~~
> TypeError: unsupported operand type(s) for -: 'str' and 'str'
> E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3 setup.py build
> dh_auto_build: error: pybuild --build -i python{version} -p 3.11 returned
> exit code 13
> make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/mayavi2_4.8.1-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---