On Fri, Sep 19, 2025 at 05:33:16PM +0400, [email protected] wrote: > From: Marc-André Lureau <[email protected]> > > Unfortunately, debian 11 has bindgen version 0.55... > > Should we install it with cargo install bindgen-cli?
Debian 11 is not a supported platform for QEMU anymore. We only support at most 2 releases, which means 12 & 13 now. So this dockerfile is overdue removal and/or update. > > Signed-off-by: Marc-André Lureau <[email protected]> > --- > .gitlab-ci.d/buildtest.yml | 2 +- > tests/docker/dockerfiles/debian-legacy-test-cross.docker | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml > index 94d646c5a7..efaa72f288 100644 > --- a/.gitlab-ci.d/buildtest.yml > +++ b/.gitlab-ci.d/buildtest.yml > @@ -389,7 +389,7 @@ build-legacy: > variables: > IMAGE: debian-legacy-test-cross > TARGETS: alpha-linux-user alpha-softmmu sh4-linux-user mips-linux-user > mips-softmmu mipsel-linux-user mipsel-softmmu mips64-linux-user mips64-softmmu > - CONFIGURE_ARGS: --disable-tools > + CONFIGURE_ARGS: --disable-tools --enable-rust > MAKE_CHECK_ARGS: check-tcg > > build-user-hexagon: > diff --git a/tests/docker/dockerfiles/debian-legacy-test-cross.docker > b/tests/docker/dockerfiles/debian-legacy-test-cross.docker > index 8c922b47f5..0014e59127 100644 > --- a/tests/docker/dockerfiles/debian-legacy-test-cross.docker > +++ b/tests/docker/dockerfiles/debian-legacy-test-cross.docker > @@ -25,6 +25,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ > RUN DEBIAN_FRONTEND=noninteractive eatmydata \ > apt install -y --no-install-recommends \ > bison \ > + cargo \ > ccache \ > clang \ > flex \ > @@ -41,9 +42,12 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \ > python3-pip \ > python3-setuptools \ > python3-venv \ > - python3-wheel && \ > + python3-wheel \ > + rustc-web \ > + && \ > dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' > --show > /packages.txt > > +RUN cargo install bindgen-cli > RUN /usr/bin/pip3 install tomli > > ENV QEMU_CONFIGURE_OPTS --disable-system --disable-docs --disable-tools > -- > 2.51.0 > With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
