• Bug#1103324: python-pbcore: 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-pbcore
    Version: 2.1.2+dfsg-11
    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:

    --------------------------------------------------------------------------------
    [...]
    # Package would be ignored #
    Copying pbcore.egg-info to /<<PKGBUILDDIR>>/debian/python3-pbcore/usr/lib/python3.13/dist-packages/pbcore-2.2.0.egg-info
    Skipping SOURCES.txt
    running install_scripts
    Installing .open script to /<<PKGBUILDDIR>>/debian/python3-pbcore/usr/bin
    I: pybuild pybuild:334: chmod -x /<<PKGBUILDDIR>>/debian/python3-pbcore//usr/lib/python3.13/dist-packages/pbcore/data/datasets/*.xml
    debian/rules override_dh_install
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_install
    dh_install: warning: Cannot find (any matches for) "_tmp/usr/share/doc/python3-pbcore/tests" (tried in ., debian/tmp)

    dh_install: warning: python-pbcore-doc missing files: _tmp/usr/share/doc/python3-pbcore/tests
    dh_install: error: missing files, aborting
    make[1]: *** [debian/rules:21: override_dh_install] Error 255
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:14: 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-pbcore, 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)