dockerfiles: update CentOS Stream 9 to Python 3.11, Meson to 1.12
Subsystems (2)
cover dockerfiles: update CentOS Stream 9 to Python 3.11, Meson to 1.12
Meson 1.12 has been released and allows removing almost 1000 lines of meson.build junk for Rust. However, it also requires Python 3.11 which is newer than the version available in CentOS Stream 9 as the platform Python interpreter. So adjust it in tests/lcitool/mappings.yml, similar to how it was done previously for CentOS Stream 8 and OpenSUSE LEAP 15.
However, Meson 1.12 also makes werror apply to linker warnings as well, which hits us negatively for static builds, due to glibc warning about usage of getpw* functions in statically linked code. Work around that, and make sure that will be in QEMU stable releases too.
Paolo
Paolo Bonzini (3):
meson: make linker warnings non-fatal on Linux
dockerfiles: remove packages required by Avocado
dockerfiles: update CentOS Stream 9 to Python 3.11, Meson to 1.12
meson.build | 5 ++++
tests/docker/dockerfiles/alpine.docker | 3 ---
tests/docker/dockerfiles/centos9.docker | 19 +++++++-------
.../dockerfiles/debian-all-test-cross.docker | 2 +-
.../dockerfiles/debian-amd64-cross.docker | 6 +----
.../dockerfiles/debian-arm64-cross.docker | 6 +----
.../dockerfiles/debian-armhf-cross.docker | 6 +----
.../dockerfiles/debian-i686-cross.docker | 6 +----
.../dockerfiles/debian-ppc64el-cross.docker | 6 +----
.../dockerfiles/debian-riscv64-cross.docker | 6 +----
.../dockerfiles/debian-s390x-cross.docker | 6 +----
tests/docker/dockerfiles/debian.docker | 6 +----
.../dockerfiles/fedora-rust-nightly.docker | 6 +----
.../dockerfiles/fedora-win64-cross.docker | 6 +----
tests/docker/dockerfiles/fedora.docker | 6 +----
tests/docker/dockerfiles/opensuse-leap.docker | 4 ---
tests/docker/dockerfiles/ubuntu2404.docker | 6 +----
.gitlab-ci.d/macos-14.vars | 2 +-
.../ci/setup/debian/debian-13-ppc64le.yaml | 4 ---
.../ci/setup/ubuntu/ubuntu-2404-aarch64.yaml | 4 ---
.../ci/setup/ubuntu/ubuntu-2404-s390x.yaml | 4 ---
tests/lcitool/mappings.yml | 26 ++++++++++++++++++-
tests/lcitool/projects/qemu.yml | 4 ---
...ensuse-leap-15.yml => centos-stream-9.yml} | 0
tests/vm/generated/freebsd.json | 4 ---
25 files changed, 53 insertions(+), 100 deletions(-)
rename tests/lcitool/targets/{opensuse-leap-15.yml => centos-stream-9.yml} (100%)Signature · 1 line
2.55.0
PATCH 1/3 meson: make linker warnings non-fatal on Linux
These cause a werror=true build to fail with Meson 1.12.0, as it now makes linker warnings fatal as well.
--- meson.build | 5 +++++ 1 file changed, 5 insertions(+)
meson.build +5 -0
@@ -602,6 +602,11 @@ if host_os == 'windows' qemu_ldflags += cc.get_supported_link_arguments('-Wl,--no-seh', '-Wl,--nxcompat') qemu_ldflags += cc.get_supported_link_arguments('-Wl,--dynamicbase', '-Wl,--high-entropy-va') endif +if host_os == 'linux' and get_option('werror') and get_option('prefer_static') + # On glibc systems, glib causes warnings about getpwuid, getpwuid_r + # and getpwnam_r not being supported with static linking + qemu_ldflags += cc.get_supported_link_arguments('-Wl,--no-fatal-warnings') +endif if get_option('fuzzing') # Specify a filter to only instrument code that is directly related to
Signature · 1 line
2.55.0
Re: [PATCH 1/3] meson: make linker warnings non-fatal on Linux
Quoted 2 lines · Paolo Bonzini
These cause a werror=true build to fail with Meson 1.12.0, as it now makes linker warnings fatal as well.
Signature · 1 line
Marc-André Lureau <[email protected]>
PATCH 2/3 dockerfiles: remove packages required by Avocado
In reply to Paolo BonziniMake our CI containers smaller, by removing a handful of packages that were only included as dependencies of Avocado.
--- tests/docker/dockerfiles/alpine.docker | 3 --- tests/docker/dockerfiles/centos9.docker | 3 --- tests/docker/dockerfiles/debian-amd64-cross.docker | 4 ---- tests/docker/dockerfiles/debian-arm64-cross.docker | 4 ---- tests/docker/dockerfiles/debian-armhf-cross.docker | 4 ---- tests/docker/dockerfiles/debian-i686-cross.docker | 4 ---- tests/docker/dockerfiles/debian-ppc64el-cross.docker | 4 ---- tests/docker/dockerfiles/debian-riscv64-cross.docker | 4 ---- tests/docker/dockerfiles/debian-s390x-cross.docker | 4 ---- tests/docker/dockerfiles/debian.docker | 4 ---- tests/docker/dockerfiles/fedora-rust-nightly.docker | 4 ---- tests/docker/dockerfiles/fedora-win64-cross.docker | 4 ---- tests/docker/dockerfiles/fedora.docker | 4 ---- tests/docker/dockerfiles/opensuse-leap.docker | 4 ---- tests/docker/dockerfiles/ubuntu2404.docker | 4 ---- .gitlab-ci.d/macos-14.vars | 2 +- scripts/ci/setup/debian/debian-13-ppc64le.yaml | 4 ---- scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml | 4 ---- scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml | 4 ---- tests/lcitool/projects/qemu.yml | 4 ---- tests/vm/generated/freebsd.json | 4 ---- 21 files changed, 1 insertion(+), 79 deletions(-)
tests/docker/dockerfiles/alpine.docker +0 -3
@@ -83,14 +83,11 @@ RUN apk update && \ pixman-dev \ pkgconf \ pulseaudio-dev \ - py3-numpy \ - py3-pillow \ py3-pip \ py3-setuptools \ py3-sphinx \ py3-sphinx_rtd_theme \ py3-wheel \ - py3-yaml \ python3 \ rpm2cpio \ rust \
tests/docker/dockerfiles/centos9.docker +0 -3
@@ -96,9 +96,6 @@ RUN dnf --quiet distro-sync -y && \ pkgconfig \ pulseaudio-libs-devel \ python3 \ - python3-PyYAML \ - python3-numpy \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
tests/docker/dockerfiles/debian-amd64-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-arm64-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-armhf-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-i686-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-ppc64el-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-riscv64-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian-s390x-cross.docker +0 -4
@@ -41,9 +41,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -51,7 +48,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/debian.docker +0 -4
@@ -113,9 +113,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -123,7 +120,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc \ sed \
tests/docker/dockerfiles/fedora-rust-nightly.docker +0 -4
@@ -104,10 +104,6 @@ exec "$@"\n' > /usr/bin/nosync && \ pkgconfig \ pulseaudio-libs-devel \ python3 \ - python3-PyYAML \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
tests/docker/dockerfiles/fedora-win64-cross.docker +0 -4
@@ -44,10 +44,6 @@ exec "$@"\n' > /usr/bin/nosync && \ ninja-build \ openssh-clients \ python3 \ - python3-PyYAML \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
tests/docker/dockerfiles/fedora.docker +0 -4
@@ -104,10 +104,6 @@ exec "$@"\n' > /usr/bin/nosync && \ pkgconfig \ pulseaudio-libs-devel \ python3 \ - python3-PyYAML \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
tests/docker/dockerfiles/opensuse-leap.docker +0 -4
@@ -93,12 +93,8 @@ RUN zypper update -y && \ pcre2-devel-static \ pipewire-devel \ pkgconfig \ - python3-Pillow \ - python3-PyYAML \ python3-Sphinx \ python3-base \ - python3-numpy \ - python3-opencv \ python3-pip \ python3-setuptools \ python3-sphinx_rtd_theme \
tests/docker/dockerfiles/ubuntu2404.docker +0 -4
@@ -113,9 +113,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ openssh-client \ pkgconf \ python3 \ - python3-numpy \ - python3-opencv \ - python3-pillow \ python3-pip \ python3-setuptools \ python3-sphinx \
@@ -123,7 +120,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ python3-tomli \ python3-venv \ python3-wheel \ - python3-yaml \ rpm2cpio \ rustc-1.83 \ sed \
.gitlab-ci.d/macos-14.vars +1 -1
@@ -12,5 +12,5 @@ NINJA='/opt/homebrew/bin/ninja' PACKAGING_COMMAND='brew' PIP3='/opt/homebrew/bin/pip3' PKGS='bash bc bindgen bison bzip2 capstone ccache cmocka coreutils ctags curl dbus diffutils dtc flex gcovr gettext git glib gnu-sed gnutls gtk+3 gtk-vnc jemalloc jpeg-turbo json-c libcbor libepoxy libffi libgcrypt libiscsi libnfs libpng libslirp libssh libtasn1 libusb llvm lzo make meson mtools ncurses nettle ninja pixman pkg-config python-setuptools python3 rpm2cpio rust sdl2 sdl2_image snappy socat sparse spice-protocol swtpm tesseract usbredir vde vte3 vulkan-tools xorriso zlib zstd' -PYPI_PKGS='PyYAML numpy pillow sphinx sphinx-rtd-theme tomli' +PYPI_PKGS='sphinx sphinx-rtd-theme tomli' PYTHON='/opt/homebrew/bin/python3'
scripts/ci/setup/debian/debian-13-ppc64le.yaml +0 -4
@@ -105,9 +105,6 @@ packages: - openssh-client - pkgconf - python3 - - python3-numpy - - python3-opencv - - python3-pillow - python3-pip - python3-setuptools - python3-sphinx
@@ -115,7 +112,6 @@ packages: - python3-tomli - python3-venv - python3-wheel - - python3-yaml - rpm2cpio - rustc - sed
scripts/ci/setup/ubuntu/ubuntu-2404-aarch64.yaml +0 -4
@@ -106,9 +106,6 @@ packages: - openssh-client - pkgconf - python3 - - python3-numpy - - python3-opencv - - python3-pillow - python3-pip - python3-setuptools - python3-sphinx
@@ -116,7 +113,6 @@ packages: - python3-tomli - python3-venv - python3-wheel - - python3-yaml - rpm2cpio - rustc-1.83 - sed
scripts/ci/setup/ubuntu/ubuntu-2404-s390x.yaml +0 -4
@@ -104,9 +104,6 @@ packages: - openssh-client - pkgconf - python3 - - python3-numpy - - python3-opencv - - python3-pillow - python3-pip - python3-setuptools - python3-sphinx
@@ -114,7 +111,6 @@ packages: - python3-tomli - python3-venv - python3-wheel - - python3-yaml - rpm2cpio - rustc-1.83 - sed
tests/lcitool/projects/qemu.yml +0 -4
@@ -91,11 +91,7 @@ packages: - pkg-config - pulseaudio - python3 - - python3-numpy - - python3-opencv - - python3-pillow - python3-pip - - python3-PyYAML - python3-setuptools - python3-sphinx - python3-sphinx-rtd-theme
tests/vm/generated/freebsd.json +0 -4
@@ -49,14 +49,10 @@ "ncurses", "nettle", "ninja", - "opencv", "pixman", "pkgconf", "png", - "py311-numpy", - "py311-pillow", "py311-pip", - "py311-pyyaml", "py311-setuptools", "py311-sphinx", "py311-sphinx_rtd_theme",
Signature · 1 line
2.55.0
Re: [PATCH 2/3] dockerfiles: remove packages required by Avocado
Quoted 2 lines · Paolo Bonzini
Make our CI containers smaller, by removing a handful of packages that were only included as dependencies of Avocado.
Signature · 1 line
Marc-André Lureau <[email protected]>
PATCH 3/3 dockerfiles: update CentOS Stream 9 to Python 3.11, Meson to 1.12
In reply to Paolo BonziniPython 3.10, which is a requirement for Meson 1.12.0, was never packages for CentOS Stream 9 so update directly to 3.11.
The opensuse-leap-15.yml file was not in use anymore, so delete it while touching tests/lcitool/targets/.
---
tests/docker/dockerfiles/centos9.docker | 16 +++++++-----
.../dockerfiles/debian-all-test-cross.docker | 2 +-
.../dockerfiles/debian-amd64-cross.docker | 2 +-
.../dockerfiles/debian-arm64-cross.docker | 2 +-
.../dockerfiles/debian-armhf-cross.docker | 2 +-
.../dockerfiles/debian-i686-cross.docker | 2 +-
.../dockerfiles/debian-ppc64el-cross.docker | 2 +-
.../dockerfiles/debian-riscv64-cross.docker | 2 +-
.../dockerfiles/debian-s390x-cross.docker | 2 +-
tests/docker/dockerfiles/debian.docker | 2 +-
.../dockerfiles/fedora-rust-nightly.docker | 2 +-
.../dockerfiles/fedora-win64-cross.docker | 2 +-
tests/docker/dockerfiles/fedora.docker | 2 +-
tests/docker/dockerfiles/ubuntu2404.docker | 2 +-
tests/lcitool/mappings.yml | 26 ++++++++++++++++++-
...ensuse-leap-15.yml => centos-stream-9.yml} | 0
16 files changed, 47 insertions(+), 21 deletions(-)
rename tests/lcitool/targets/{opensuse-leap-15.yml => centos-stream-9.yml} (100%)tests/docker/dockerfiles/centos9.docker +9 -7
@@ -95,13 +95,11 @@ RUN dnf --quiet distro-sync -y && \ pixman-devel \ pkgconfig \ pulseaudio-libs-devel \ - python3 \ - python3-pip \ - python3-setuptools \ - python3-sphinx \ - python3-sphinx_rtd_theme \ python3-tomli \ - python3-wheel \ + python3.11 \ + python3.11-pip \ + python3.11-setuptools \ + python3.11-wheel \ rdma-core-devel \ rust \ rust-std-static \
@@ -131,11 +129,15 @@ RUN dnf --quiet distro-sync -y && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc +RUN /usr/bin/pip3.11 install \ + sphinx \ + sphinx-rtd-theme + ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8" ENV MAKE="/usr/bin/make" ENV NINJA="/usr/bin/ninja" -ENV PYTHON="/usr/bin/python3" +ENV PYTHON="/usr/bin/python3.11" # As a final step configure the user (if env is defined) ARG USER ARG UID
tests/docker/dockerfiles/debian-all-test-cross.docker +1 -1
@@ -47,7 +47,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-amd64-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-arm64-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-armhf-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-i686-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-ppc64el-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-riscv64-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian-s390x-cross.docker +1 -1
@@ -66,7 +66,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ dpkg-reconfigure locales && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/debian.docker +1 -1
@@ -145,7 +145,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/fedora-rust-nightly.docker +1 -1
@@ -145,7 +145,7 @@ exec "$@"\n' > /usr/bin/nosync && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/fedora-win64-cross.docker +1 -1
@@ -66,7 +66,7 @@ exec "$@"\n' > /usr/bin/nosync && \ nosync dnf --quiet clean all -y && \ rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/fedora.docker +1 -1
@@ -145,7 +145,7 @@ exec "$@"\n' > /usr/bin/nosync && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/docker/dockerfiles/ubuntu2404.docker +1 -1
@@ -145,7 +145,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN /usr/bin/pip3 install meson==1.8.1 +RUN /usr/bin/pip3 install meson==1.12.0 ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers" ENV LANG="en_US.UTF-8"
tests/lcitool/mappings.yml +25 -1
@@ -3,6 +3,30 @@ mappings: bindgen: Ubuntu2204: + python3: + CentOSStream9: python3.11 + + python3-devel: + CentOSStream9: python3.11-devel + + python3-pip: + CentOSStream9: python3.11-pip + + python3-setuptools: + CentOSStream9: python3.11-setuptools + + python3-sphinx: + CentOSStream9: + + python3-sphinx-rtd-theme: + CentOSStream9: + + python3-venv: + CentOSStream9: python3.11 + + python3-wheel: + CentOSStream9: python3.11-wheel + meson: # Use Meson from PyPI wherever Rust is enabled Debian:
@@ -23,7 +47,7 @@ mappings: pypi_mappings: # Request more recent version meson: - default: meson==1.8.1 + default: meson==1.12.0 # Drop packages that need devel headers python3-tomli:
tests/lcitool/targets/centos-stream-9.yml renamed from tests/lcitool/targets/opensuse-leap-15.yml +0 -0
Signature · 1 line
2.55.0
Quoted 2 lines
Python 3.10, which is a requirement for Meson 1.12.0, was never packages for CentOS Stream 9 so update directly to 3.11.
packaged
Quoted 30 lines
The opensuse-leap-15.yml file was not in use anymore, so delete it while touching tests/lcitool/targets/.
Signed-off-by Paolo Bonzini <[email protected]>Message-ID: <[email protected]>
tests/docker/dockerfiles/centos9.docker +4
-6@@ -95,13 +95,11 @@ RUN dnf --quiet distro-sync -y && \ pixman-devel \ pkgconfig \ pulseaudio-libs-devel \ - python3 \ - python3-pip \ - python3-setuptools \ - python3-sphinx \ - python3-sphinx_rtd_theme \ python3-tomli \ - python3-wheel \ + python3.11 \ + python3.11-pip \ + python3.11-setuptools \ + python3.11-wheel \ rdma-core-devel \ rust \ rust-std-static \
tests/docker/dockerfiles/centos9.docker RUN dnf --quiet distro-sync -y && \ · line 134
Quoted 6 lines
tests/docker/dockerfiles/centos9.docker +3
-0@@ -131,11 +129,15 @@ RUN dnf --quiet distro-sync -y && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc +RUN /usr/bin/pip3.11 install \ + sphinx \ + sphinx-rtd-theme
Since it's a rust-enabled container, why not pip install meson 1.12 here?
Signature · 1 line
Marc-André Lureau <[email protected]>
Quoted 5 lines · On 8/17/26 18:56, [email protected] wrote:
tests/docker/dockerfiles/centos9.docker RUN dnf --quiet distro-sync -y && \ · line 134
Quoted 3 lines
tests/docker/dockerfiles/centos9.docker +3
-0+RUN /usr/bin/pip3.11 install \ + sphinx \ + sphinx-rtd-themeSince it's a rust-enabled container, why not pip install meson 1.12 here?
Good point, which should be mentioned somewhere. Since it's using a non-default Python, basically nothing is installed including meson. configure will install it from the bundled wheel, so that CI covers that path as well.
Paolo