• Bug#1101249: python-casacore: FTBFS: /usr/include/casacore/casa/Utiliti

    From Santiago Vila@21:1/5 to All on Tue Mar 25 01:20:01 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 25 11:40:01 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 25 Mar 2025 10:35:38 +0000
    with message-id <[email protected]>
    and subject line Bug#1101170: fixed in python-casacore 3.6.1-1
    has caused the Debian Bug report #1101170,
    regarding python-casacore: FTBFS: /usr/include/casacore/casa/Utilities/DataType.h:265:1: error: body of 'constexpr' function 'constexpr size_t casacore::SizeOfType(DataType)' not a return-statement
    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.)


    --
    1101170: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101170
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 25 Mar 2025 00:11:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-119.9 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 74; hammy, 150; neutral, 218; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <[email protected]>
    Received: from mitropoulos.debian.org ([2001