Package: src:python-casacore
Version: 3.5.2-1
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 --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -rf python_casacore.egg-info
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore
copying casacore/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/util.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/functionals.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/quanta.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/tables.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/measures.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/fitting.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/images.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
copying pyrap/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/measures
copying casacore/measures/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/measures
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/functionals
copying casacore/functionals/functional.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/functionals
copying casacore/functionals/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/functionals
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/fitting
copying casacore/fitting/fitting.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/fitting
copying casacore/fitting/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/fitting
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/util
copying casacore/util/substitute.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/util
copying casacore/util/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/util
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/quanta
copying casacore/quanta/quantity.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/quanta
copying casacore/quanta/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/quanta
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/images
copying casacore/images/coordinates.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/images
copying casacore/images/image.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/images
copying casacore/images/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/images
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tableiter.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/msutil.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tablerow.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tableutil.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tablehelper.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/table.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tableindex.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/tablecolumn.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/wxtablebrowser.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
copying casacore/tables/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/casacore/tables
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap/images
copying pyrap/images/coordinates.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap/images
copying pyrap/images/image.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap/images
copying pyrap/images/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_casacore/build/pyrap/images
running build_ext
/<<PKGBUILDDIR>>/setup.py:251: DeprecationWarning: distutils Version classes 
are deprecated. Use packaging.version instead.
  if casacoreversion is not None and  LooseVersion(casacoreversion) < 
LooseVersion(__mincasacoreversion__):
building 'casacore.fitting._fitting' extension
creating build/temp.linux-x86_64-cpython-313/src
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/lib/include -I/usr/lib/include -I/usr/include/python3.13 -c src/fit.cc 
-o build/temp.linux-x86_64-cpython-313/src/fit.o -std=c++11
In file included from /usr/include/casacore/casa/Containers/ValueHolderRep.h:33,
                 from /usr/include/casacore/casa/Containers/ValueHolder.h:32,
                 from /usr/include/casacore/python/Converters/PycArray.h:35,
                 from /usr/include/casacore/python/Converters/PycBasicData.h:32,
                 from src/fit.cc:31:
/usr/include/casacore/casa/Utilities/DataType.h: In function ‘constexpr 
size_t casacore::SizeOfType(DataType)’:
/usr/include/casacore/casa/Utilities/DataType.h:265:1: error: body of 
‘constexpr’ function ‘constexpr size_t casacore::SizeOfType(DataType)’ 
not a return-statement
  265 | }
      | ^
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1
E: pybuild pybuild:389: 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.13 returned exit 
code 13
make: *** [debian/rules:8: binary] Error 25
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/202503/

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

Thanks.

Reply via email to