Your message dated Sun, 9 Feb 2025 11:41:09 +0100
with message-id <[email protected]>
and subject line Close bug that is no longer actual
has caused the Debian Bug report #1095331,
regarding casacore-data-observatories: FTBFS: RuntimeError: PycArray: failed to
load the numpy API
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1095331: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095331
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
This bug is not longer reproducible. From the report, the primary
problem is not this package but seems to had the cause in a incomplete
transition to numpy 2, which is now (more) complete. Therefore I am closing.
--- End Message ---