Package: src:casacore-data-observatories
Version: 0+git2018.12.08-3
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 tools/create_casacore_table.py

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File 
"/<<PKGBUILDDIR>>/tools/create_casacore_table.py", line 62, in <module>
    with tables.table(args.output_path, tables.tablecreatedesc(columns),
  File "/usr/lib/python3/dist-packages/casacore/tables/table.py", line 352, in 
__init__
    Table.__init__(self, tabname, lockopt, endian,
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/numpy/core/_multiarray_umath.py", line 
44, in __getattr__
    raise ImportError(msg)
ImportError: 
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.


Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tools/create_casacore_table.py", line 62, in <module>
    with tables.table(args.output_path, tables.tablecreatedesc(columns),
         ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      len(obstable)) as tbl:
                      ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/casacore/tables/table.py", line 352, in 
__init__
    Table.__init__(self, tabname, lockopt, endian,
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                   memtype, nrow, tabledesc, dminfo)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PycArray: failed to load the numpy API
make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

Thanks.

Reply via email to