Package: src:python-mapbox-earcut
Version: 2.0.0-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:python-mapbox-earcut, 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 "/usr/share/nanobind/stubgen.py", line 1553, in <module>
    main()
  File "/usr/share/nanobind/stubgen.py", line 1543, in main
    f.write(sg.get())
  File "/usr/share/nanobind/stubgen.py", line 1234, in get
    for module in sorted(self.imports, key=lambda i: str(self.check_party(i)) + 
i):
  File "/usr/share/nanobind/stubgen.py", line 1234, in <lambda>
    for module in sorted(self.imports, key=lambda i: str(self.check_party(i)) + 
i):
  File "/usr/share/nanobind/stubgen.py", line 1211, in check_party
    spec = importlib.util.find_spec(module)
  File "<frozen importlib.util>", line 90, in find_spec
  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'

gmake[3]: *** [CMakeFiles/mapbox_earcut_stubs.dir/build.make:75: py.typed] 
Error 1
gmake[2]: *** [CMakeFiles/Makefile2:155: 
CMakeFiles/mapbox_earcut_stubs.dir/all] Error 2
gmake[1]: *** [Makefile:136: all] Error 2
gmake[1]: Leaving directory '/<<PKGBUILDDIR>>/build/cp315-cp315-linux_x86_64'

*** CMake build failed

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and 
sources, then see 
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
 for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: 
python3.15 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_mapbox-earcut  
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:383: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_mapbox-earcut  
* Building wheel...
*** scikit-build-core 0.12.2 using CMake 4.3.4 (wheel)
*** Configuring CMake...
loading initial cache file build/cp314-cp314-linux_x86_64/CMakeInit.txt
-- The CXX compiler identification is GNU 16.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.14 (found version "3.14.8") found components: 
Interpreter Development.Module
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: 
/<<PKGBUILDDIR>>/build/cp314-cp314-linux_x86_64
*** Building project with Unix Makefiles...
gmake[1]: Entering directory '/<<PKGBUILDDIR>>/build/cp314-cp314-linux_x86_64'
[  7%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_internals.cpp.o
[ 14%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_func.cpp.o
[ 21%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_type.cpp.o
[ 28%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_enum.cpp.o
[ 35%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_ndarray.cpp.o
[ 42%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/nb_static_property.cpp.o
[ 50%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/common.cpp.o
[ 57%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/error.cpp.o
[ 64%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/trampoline.cpp.o
[ 71%] Building CXX object 
CMakeFiles/nanobind-static.dir/usr/share/nanobind/src/implicit.cpp.o
[ 78%] Linking CXX static library libnanobind-static.a
[ 78%] Built target nanobind-static
[ 85%] Building CXX object CMakeFiles/_core.dir/src/main.cpp.o
[ 92%] Linking CXX shared module _core.cpython-314-x86_64-linux-gnu.so
[ 92%] Built target _core
[100%] Generating py.typed, _core.pyi
[100%] Built target mapbox_earcut_stubs
gmake[1]: Leaving directory '/<<PKGBUILDDIR>>/build/cp314-cp314-linux_x86_64'
*** Installing project into wheel...
-- Install configuration: "Release"
-- Installing: 
/tmp/tmpjj0z6i43/wheel/platlib/mapbox_earcut/_core.cpython-314-x86_64-linux-gnu.so
-- Installing: /tmp/tmpjj0z6i43/wheel/platlib/mapbox_earcut/_core.pyi
-- Installing: /tmp/tmpjj0z6i43/wheel/platlib/mapbox_earcut/py.typed
-- Installing: /tmp/tmpjj0z6i43/wheel/platlib/mapbox_earcut/__init__.py
*** Making wheel...
*** Created mapbox_earcut-2.0.0-cp314-cp314-linux_x86_64.whl
Successfully built mapbox_earcut-2.0.0-cp314-cp314-linux_x86_64.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with 
"installer" module
dh_auto_build: error: pybuild --build -i python{version} -p "3.15 3.14" 
--parallel=2 returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to