]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
.gitlab-ci.d/buildtest.yml: Install 'file' for the Coverity job
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Oct 2025 13:31:56 +0000 (14:31 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 19 Oct 2025 18:49:36 +0000 (11:49 -0700)
The coverity-scan upload job has started failing as of 30th
September:

[ERROR] Cannot find '/usr/bin/file' command, and no 'file' command is found in the PATH
        Coverity Capture uses this tool to identify the file type of executables.
        Please ensure '/usr/bin/file' is available, or add the 'file' utility to your PATH.

This seems to have broken when we moved our containers from Fedora 40
to 41 -- probably F40 indirectly pulled in 'file' via some other
dependency, but in F41 it does not.

Explicitly install 'file' for the coverity job, in the same way we
already do for curl and wget.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251017133156.926094-1-peter.maydell@linaro.org>

.gitlab-ci.d/buildtest.yml

index 0502094b9aa67868c420889a823de5ff66686e3a..21f6d7e96fedc11e52af7496b57494482217b2ae 100644 (file)
@@ -759,7 +759,7 @@ coverity:
     - job: amd64-fedora-container
       optional: true
   before_script:
-    - dnf install -y curl wget
+    - dnf install -y curl wget file
   script:
     # would be nice to cancel the job if over quota (https://gitlab.com/gitlab-org/gitlab/-/issues/256089)
     # for example: