[Debian-astro-maintainers] Bug#1151762: galpy: FTBFS: ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'

Santiago Vila sanvila at debian.org
Fri Oct 23 17:26:51 BST 2026


Package: src:galpy
Version: 1.10.2-1
Severity: serious
Tags: ftbfs forky sid

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/202610/

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:galpy, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
    from . import multiarray
  File "/usr/lib/python3/dist-packages/numpy/_core/multiarray.py", line 11, in <module>
    from . import _multiarray_umath, overrides
  File "/usr/lib/python3/dist-packages/numpy/_core/overrides.py", line 6, in <module>
    from numpy._core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy._core._multiarray_umath'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 201, in _run_module_as_main
  File "<frozen runpy>", line 87, in _run_code
  File "/usr/lib/python3.15/unittest/__main__.py", line 18, in <module>
    main(module=None)
  File "/usr/lib/python3.15/unittest/main.py", line 103, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.15/unittest/main.py", line 119, in parseArgs
    self._do_discovery(argv[2:])
  File "/usr/lib/python3.15/unittest/main.py", line 242, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/usr/lib/python3.15/unittest/main.py", line 149, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/usr/lib/python3.15/unittest/loader.py", line 344, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/usr/lib/python3.15/unittest/loader.py", line 402, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/usr/lib/python3.15/unittest/loader.py", line 472, in _find_test_path
    _make_failed_import_test(name, self.suiteClass)
  File "/usr/lib/python3.15/unittest/loader.py", line 40, in _make_failed_import_test
    name, traceback.format_exc())
  File "/usr/lib/python3.15/traceback.py", line 255, in format_exc
    return "".join(format_exception(sys.exception(), limit=limit, chain=chain))
  File "/usr/lib/python3.15/traceback.py", line 199, in format_exception
    te = TracebackException(type(value), value, tb, limit=limit, compact=True)
  File "/usr/lib/python3.15/traceback.py", line 1259, in __init__
    cause = TracebackException(
  File "/usr/lib/python3.15/traceback.py", line 1206, in __init__
    elif abi_tag := _find_incompatible_extension_module(module_name):
  File "/usr/lib/python3.15/traceback.py", line 2075, in _find_incompatible_extension_module
    traversable = importlib.resources.files(parent)
  File "/usr/lib/python3.15/importlib/resources/_common.py", line 22, in files
    return from_package(resolve(anchor))
  File "/usr/lib/python3.15/functools.py", line 1003, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/usr/lib/python3.15/importlib/resources/_common.py", line 48, in _
    return importlib.import_module(cand)
  File "/usr/lib/python3.15/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1390, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1350, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1277, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 549, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1390, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1350, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1309, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 915, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 747, in exec_module
  File "<frozen importlib._bootstrap>", line 549, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 112, in <module>
    from numpy.__config__ import show_config
  File "/usr/lib/python3/dist-packages/numpy/__config__.py", line 4, in <module>
    from numpy._core._multiarray_umath import (
  File "/usr/lib/python3/dist-packages/numpy/_core/__init__.py", line 85, in <module>
    raise ImportError(msg) from exc
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
The following compiled module files exist, but seem incompatible
with with either python 'cpython-315' or the platform 'linux':

  * _multiarray_umath.cpython-314-x86_64-linux-gnu.so

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python 3.15 from "/usr/bin/python3.15"
  * The NumPy version is: "2.4.6"

and make sure that they are the versions you expect.

Please carefully study the information and documentation linked above.
This is unlikely to be a NumPy issue but will be caused by a bad install
or environment on your machine.

Original error was: No module named 'numpy._core._multiarray_umath'

E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_galpy/build; python3.15 -m unittest discover -v 
W: pybuild base:326: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_galpy/build; python3.14 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
dh_auto_test: error: pybuild --test -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Debian-astro-maintainers mailing list