Bug#997902: llvm-toolchain-13: autopkgtest regression on amd64|arm64: debian/qualify-clang.sh: llvm manpage are missing (using llc as an example)

Simon McVittie smcv at debian.org
Tue Oct 26 19:57:17 BST 2021


Source: llvm-toolchain-13
Version: 1:13.0.0-6
Severity: serious
Justification: Release Team policy
Tags: patch

The autopkgtest that uses debian/qualify-clang.sh seems to be failing.
I think this is a bug in debian/qualify-clang.sh rather than a bug in
the actual packages: /usr/share/man/man1/llc-13.1.gz does exist in
llvm-13_*.deb.

The check that is failing is

> # Test #995684
> if test /usr/share/man/man1/llc-$VERSION.1.gz; then
>     echo "llvm manpage are missing (using llc as an example)"
>     exit 1
> fi

but I assume this should have been something more like:

----8<----
# Test #995684
if ! test -f "/usr/share/man/man1/llc-$VERSION.1.gz"; then
    echo "llvm man pages are missing (using llc as an example)"
    exit 1
fi
----8<----

I would suggest running the autopkgtests and making sure they pass locally
on at least one architecture before uploading a new version to unstable.
If llvm-toolchain-13 is too big to build locally, porterboxes and
experimental are also useful routes to get things tested.

    smcv



More information about the Pkg-llvm-team mailing list