ci: Fix kernel+rootfs.* jobs
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Wed, 19 Oct 2022 20:00:45 +0000 (17:00 -0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 20:52:49 +0000 (20:52 +0000)
commitdb2c14887bb52ec6fd05c5f8b5363f1689b4b45c
tree68c02632a9a91bdde7dd918d1078733bdf737dc5
parent71dc65ec20b6392eb924167cca8d56fabbb7a700
ci: Fix kernel+rootfs.* jobs

The rootfs generation is failing due to issues with the deqp and crosvm
build stages.

== crosvm ==

This week, crates.io released the bindgen cargo package at version
0.61.0, but this version could not be installed via `cargo install
bindgen ...`, setting the version to the previous one to avoid breaking
the Mesa rootfs builds.

See also related failed job:
https://gitlab.freedesktop.org/gallo/mesa/-/jobs/30046963

== deqp ==

The deqp build is failing due to the missing archive of an old zlib
release version, which was deleted due to a CVE, see zlib 1.2.13 release
notes.

As the deqp uprev to 1.3.4.0, which contains the fix, was not
straightforward, let's only apply the necessary patch to fix zlib
source code download link and then remove this indirection in an
eventual deqp uprev.

Example of a failed kernel+rootfs build job:
  https://gitlab.freedesktop.org/gallo/mesa/-/jobs/30045324

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19183>
.gitlab-ci/container/build-crosvm.sh
.gitlab-ci/container/build-deqp.sh
.gitlab-ci/image-tags.yml