• Bug#1103320: python-aiohomekit: FTBFS with the nocheck build profile

    From Santiago Vila@21:1/5 to All on Wed Apr 16 14:30:02 2025
    Package: src:python-aiohomekit
    Version: 3.2.1-2
    Severity: important
    Tags: trixie sid ftbfs
    User: debian-qa@lists.debian.org
    Usertags: ftbfs-nocheck-profile

    Dear maintainer:

    During a rebuild of all packages in unstable using the nocheck build profile, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    dh clean --buildsystem=pybuild --with python3
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules binary
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    dh binary --buildsystem=pybuild --with python3
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
    I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
    * Building wheel...
    The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
    Successfully built aiohomekit-3.2.1-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    dh_auto_test -O--buildsystem=pybuild
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=pybuild
    dh_prep -O--buildsystem=pybuild
    dh_auto_install --destdir=debian/python3-aiohomekit/ -O--buildsystem=pybuild I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
    dh_installdocs -O--buildsystem=pybuild
    debian/rules override_dh_installchangelogs
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    if [ -e /<<PKGBUILDDIR>>/debian/CHANGELOG ] ; then \
    dh_installchangelogs /<<PKGBUILDDIR>>/debian/CHANGELOG ; \
    else \
    dh_installchangelogs ; \
    fi
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_python3 -O--buildsystem=pybuild
    I: dh_python3 tools:114: replacing shebang in debian/python3-aiohomekit/usr/bin/aiohomekitctl
    debian/rules override_dh_installinit
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    # Create the init scripts and systemd unit files from the template
    set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \
    MYINIT=`echo $i | sed s/.init.in//` ; \
    cp $i $MYINIT.init ; \
    cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \
    pkgos-gen-systemd-unit $i ; \
    done
    + ls -1 debian/*.init.in
    ls: cannot access 'debian/*.init.in': No such file or directory
    # If there's a service.in file, use that one instead of the generated one
    set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \
    MYPKG=`echo $i | sed s/.service.in//` ; \
    cp $MYPKG.service.in $MYPKG.service ; \
    done
    + ls -1 debian/*.service.in
    ls: cannot access 'debian/*.service.in': No such file or directory
    # Generate the systemd unit if there's no already existing .service.in
    set -e ; set -x ; for i in `ls debian/*.init.in` ; do \
    MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \
    if ! [ -e $MYINIT ] ; then \
    pkgos-gen-systemd-unit $i ; \
    fi \
    done
    + ls debian/*.init.in
    ls: cannot access 'debian/*.init.in': No such file or directory
    dh_installinit --error-handler=true
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_installsystemd
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    # Create the init scripts and systemd unit files from the template
    set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \
    MYINIT=`echo $i | sed s/.init.in//` ; \
    cp $i $MYINIT.init ; \
    cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \
    pkgos-gen-systemd-unit $i ; \
    done
    + ls -1 debian/*.init.in
    ls: cannot access 'debian/*.init.in': No such file or directory
    # If there's a service.in file, use that one instead of the generated one
    set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \
    MYPKG=`echo $i | sed s/.service.in//` ; \
    cp $MYPKG.service.in $MYPKG.service ; \
    done
    + ls -1 debian/*.service.in
    ls: cannot access 'debian/*.service.in': No such file or directory
    # Generate the systemd unit if there's no already existing .service.in
    set -e ; set -x ; for i in `ls debian/*.init.in` ; do \
    MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \
    if ! [ -e $MYINIT ] ; then \
    pkgos-gen-systemd-unit $i ; \
    fi \
    done
    + ls debian/*.init.in
    ls: cannot access 'debian/*.init.in': No such file or directory dh_installsystemd
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_perl -O--buildsystem=pybuild
    dh_link -O--buildsystem=pybuild
    dh_strip_nondeterminism -O--buildsystem=pybuild
    dh_compress -O--buildsystem=pybuild
    debian/rules override_dh_fixperms
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions dh_fixperms
    rm /<<PKGBUILDDIR>>/debian/python3-aiohomekit/usr/lib/python3/dist-packages/tests-pairing.json
    rm: cannot remove '/<<PKGBUILDDIR>>/debian/python3-aiohomekit/usr/lib/python3/dist-packages/tests-pairing.json': No such file or directory
    make[1]: *** [debian/rules:13: override_dh_fixperms] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:9: 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/202504/

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

    Notes:

    * When a package is built with the nocheck profile, it means:

    - DEB_BUILD_OPTIONS=nocheck
    (the tests should be skipped during the build)

    - DEB_BUILD_PROFILES=nocheck
    (Build-Depends marked <!nocheck> are not installed)

    - The contents of the package is allowed to be different than normal

    * This category of bugs was going to be RC for trixie, but
    according to the Release Managers it's a little bit late in the
    release cycle to introduce a bunch of RC bugs of this type.

    * In addition to the above, this package also fails when
    using DEB_BUILD_OPTIONS=nocheck alone. In this mode:

    - DEB_BUILD_OPTIONS=nocheck
    (the tests should be skipped during the build)

    - Build-Depends marked <!nocheck> are installed as normal

    - The contents of the package should not change compared
    to a regular build

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)