From c5a6cdfeb985c2a35ea71c2ebb3d0a9ebc1dc52b Mon Sep 17 00:00:00 2001 From: Helen Koike Date: Thu, 14 Sep 2023 10:40:08 -0300 Subject: [PATCH] ci: add locked flag to bindgen-cli on x86_64_build.sh since the dependencies were not locked, they got updated and generating a new container is throwing errors like the following: error: failed to compile `bindgen-cli v0.62.0`, intermediate artifacts can be found at `/tmp/cargo-installcP54m7` Caused by: package `memchr v2.6.3` cannot be built because it requires rustc 1.61 or newer, while the currently active rustc version is 1.60.0 rust packages have Cargo.lock file from when they were released, so add --locked flag to use it. Signed-off-by: Helen Koike Part-of: --- .gitlab-ci/container/debian/x86_64_build.sh | 1 + .gitlab-ci/image-tags.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/container/debian/x86_64_build.sh b/.gitlab-ci/container/debian/x86_64_build.sh index dc67396c14f..85d03038ce2 100644 --- a/.gitlab-ci/container/debian/x86_64_build.sh +++ b/.gitlab-ci/container/debian/x86_64_build.sh @@ -93,6 +93,7 @@ python3 -m pip install --break-system-packages -r .gitlab-ci/lava/requirements.t # install bindgen RUSTFLAGS='-L native=/usr/local/lib' cargo install \ bindgen-cli --version 0.62.0 \ + --locked \ -j ${FDO_CI_CONCURRENT:-4} \ --root /usr/local diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml index 3a9d4597c5f..d4939c4e103 100644 --- a/.gitlab-ci/image-tags.yml +++ b/.gitlab-ci/image-tags.yml @@ -10,7 +10,7 @@ variables: DEBIAN_BASE_TAG: "2023-08-30-bindgen-cli" DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build" - DEBIAN_BUILD_TAG: "2023-06-24-agility-711" + DEBIAN_BUILD_TAG: "2023-09-14-bindgen-cli" DEBIAN_X86_64_BUILD_MINGW_IMAGE_PATH: "debian/x86_64_build-mingw" DEBIAN_BUILD_MINGW_TAG: "2023-05-25-bookworm"