Bug#1021898: sfepy: FTBFS: distutils.errors.DistutilsSetupError: each element of 'ext_modules' option must be an Extension instance or 2-tuple

Sebastian Ramacher sramacher at debian.org
Sun Oct 16 20:12:26 BST 2022


Source: sfepy
Version: 2021.4-1
Severity: serious
X-Debbugs-Cc: sramacher at debian.org
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=sfepy&arch=amd64&ver=2021.4-1%2Bb1&stamp=1665944538&raw=0

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 252, in <module>
    setup_package()
  File "/<<PKGBUILDDIR>>/setup.py", line 230, in setup_package
    setup(name='sfepy',
  File "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, 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 973, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/numpy/distutils/command/build.py", line 61, in run
    old_build.run(self)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 132, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 992, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/numpy/distutils/command/build_src.py", line 144, in run
    self.build_sources()
  File "/usr/lib/python3/dist-packages/numpy/distutils/command/build_src.py", line 158, in build_sources
    self.check_extensions_list(self.extensions)
  File "/usr/lib/python3.10/distutils/command/build_ext.py", line 362, in check_extensions_list
    raise DistutilsSetupError(
distutils.errors.DistutilsSetupError: each element of 'ext_modules' option must be an Extension instance or 2-tuple
E: pybuild pybuild:379: 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.10 returned exit code 13


Cheers
-- 
Sebastian Ramacher



More information about the debian-science-maintainers mailing list