• Bug#1048652: vulkan-loader: Fails to build source after successful buil

    From Lucas Nussbaum@21:1/5 to All on Mon Aug 14 02:40:13 2023
    XPost: linux.debian.bugs.dist

    Source: vulkan-loader
    Version: 1.3.250.0-1
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
    User: debian-qa@lists.debian.org
    Usertags: qa-doublebuild

    Hi,

    This package fails to build a source package after a successful build (dpkg-buildpackage ; dpkg-buildpackage -S).

    This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target.

    More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

    Relevant part of the build log:
    cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
    -------------------------------------------------------------------------------------------------------------------------------------

    dpkg-buildpackage: info: source package vulkan-loader
    dpkg-buildpackage: info: source version 1.3.250.0-1
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Timo Aaltonen <tjaalton@debian.org>
    dpkg-source --before-build .
    fakeroot debian/rules clean
    dh clean --builddirectory=build/
    dh_auto_clean -O--builddirectory=build/
    dh_autoreconf_clean -O--builddirectory=build/
    debian/rules override_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_clean
    rm -rf __pycache__ \
    include \
    scripts/__pycache__ \
    vulkan-headers/registry/__pycache__
    rm -f external/googletest
    rm: cannot remove 'external/googletest': Is a directory
    make[1]: *** [debian/rules:14: override_dh_clean] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:9: clean] Error 2
    dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2

    E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


    The full build log is available from: http://qa-logs.debian.net/2023/08/13/vulkan-loader_1.3.250.0-1_unstable.log

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

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