• Bug#1103334: yubikey-manager: FTBFS with the nocheck build profile

    From Santiago Vila@21:1/5 to All on Wed Apr 16 14:30:02 2025
    Package: src:yubikey-manager
    Version: 5.6.1-1
    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
    dh clean --with python3 --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    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
    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...
    Successfully built yubikey_manager-5.6.1-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    dh: command-omitted: The call to "dh_auto_test -O--buildsystem=pybuild" was omitted due to "DEB_BUILD_OPTIONS=nocheck"
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=pybuild
    dh_prep -O--buildsystem=pybuild
    dh_auto_install -O--buildsystem=pybuild
    I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
    dh_install -O--buildsystem=pybuild
    dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/python3*/*-packages/ykman/__pycache__/*.pyc" (tried in ., debian/tmp)

    dh_install: warning: python3-ykman missing files: debian/tmp/usr/lib/python3*/*-packages/ykman/__pycache__/*.pyc
    dh_install: error: missing files, aborting
    make: *** [debian/rules:4: binary] Error 255
    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:yubikey-manager, 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)