]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Introduce Ubuntu 24.04
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 3 May 2024 13:58:20 +0000 (15:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 14 May 2024 13:17:23 +0000 (15:17 +0200)
Ubuntu 24.04 was released recently. Add it to our CI. Also, to be
able to run ASAN/UBSAN builds on Ubuntu 24.04 libclang-rt-dev
needs to be installed (because clang's runtime was moved into a
separate package). Hence so many seemingly unrelated changes.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
56 files changed:
ci/buildenv/centos-stream-9.sh
ci/buildenv/debian-12-cross-aarch64.sh
ci/buildenv/debian-12-cross-armv6l.sh
ci/buildenv/debian-12-cross-armv7l.sh
ci/buildenv/debian-12-cross-i686.sh
ci/buildenv/debian-12-cross-mips64el.sh
ci/buildenv/debian-12-cross-mipsel.sh
ci/buildenv/debian-12-cross-ppc64le.sh
ci/buildenv/debian-12-cross-s390x.sh
ci/buildenv/debian-12.sh
ci/buildenv/debian-sid-cross-aarch64.sh
ci/buildenv/debian-sid-cross-armv6l.sh
ci/buildenv/debian-sid-cross-armv7l.sh
ci/buildenv/debian-sid-cross-i686.sh
ci/buildenv/debian-sid-cross-mips64el.sh
ci/buildenv/debian-sid-cross-ppc64le.sh
ci/buildenv/debian-sid-cross-s390x.sh
ci/buildenv/debian-sid.sh
ci/buildenv/fedora-39.sh
ci/buildenv/fedora-40-cross-mingw32.sh
ci/buildenv/fedora-40-cross-mingw64.sh
ci/buildenv/fedora-40.sh
ci/buildenv/fedora-rawhide-cross-mingw32.sh
ci/buildenv/fedora-rawhide-cross-mingw64.sh
ci/buildenv/fedora-rawhide.sh
ci/buildenv/ubuntu-2404.sh [new file with mode: 0644]
ci/containers/centos-stream-9.Dockerfile
ci/containers/debian-12-cross-aarch64.Dockerfile
ci/containers/debian-12-cross-armv6l.Dockerfile
ci/containers/debian-12-cross-armv7l.Dockerfile
ci/containers/debian-12-cross-i686.Dockerfile
ci/containers/debian-12-cross-mips64el.Dockerfile
ci/containers/debian-12-cross-mipsel.Dockerfile
ci/containers/debian-12-cross-ppc64le.Dockerfile
ci/containers/debian-12-cross-s390x.Dockerfile
ci/containers/debian-12.Dockerfile
ci/containers/debian-sid-cross-aarch64.Dockerfile
ci/containers/debian-sid-cross-armv6l.Dockerfile
ci/containers/debian-sid-cross-armv7l.Dockerfile
ci/containers/debian-sid-cross-i686.Dockerfile
ci/containers/debian-sid-cross-mips64el.Dockerfile
ci/containers/debian-sid-cross-ppc64le.Dockerfile
ci/containers/debian-sid-cross-s390x.Dockerfile
ci/containers/debian-sid.Dockerfile
ci/containers/fedora-39.Dockerfile
ci/containers/fedora-40-cross-mingw32.Dockerfile
ci/containers/fedora-40-cross-mingw64.Dockerfile
ci/containers/fedora-40.Dockerfile
ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
ci/containers/fedora-rawhide.Dockerfile
ci/containers/ubuntu-2404.Dockerfile [new file with mode: 0644]
ci/gitlab/builds.yml
ci/gitlab/containers.yml
ci/lcitool/projects/libvirt.yml
ci/manifest.yml

index 8dabda22b30c12218b8618e1fee33993537ff425..c23c60e026ffb5733b1a0a3b0d97d6566fc0e352 100644 (file)
@@ -17,6 +17,7 @@ function install_buildenv() {
         ca-certificates \
         ccache \
         clang \
+        compiler-rt \
         cpp \
         cyrus-sasl-devel \
         device-mapper-devel \
index efe5548097084aaa97eaa9f7ce25c98187d25691..5fc7e8a801f88ba0f7f9f73f3ed7eddaece33e01 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 0b3963f020c8ab5b46563ba7926332acfde79d9a..24d7d8038033a485b62bdeb6e95612538dd361d4 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index bc489c342aebcda06809730ef91a4c3e86c33b46..35738e6bb21df001232923e927454256589cfebd 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 66bdab1e71598d8684edd72554d5042a1bf7b3d0..dce90645c0e68a927b441be1dc97340d4555558e 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 58d38222430e4a35e694dece99e28f6fb6d8bb9c..6d3e43aeb004ff9b5f164bc4bc99a6f34f5d3bd6 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 908e8ed54386550b0ee5fef5b1e54ff758fdeeb0..b3a9ba1f402c0bb3040d3b2940bebecc6f3d2304 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 171bc840faa39023a5ec95228f2c63bbd84e2669..1cda4f7928b22ec5082cf74dcf9e4c81356ea633 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index cecc2ebffa41d8ec174ec41aec41152a59db11b4..f0cbfad5a457ef30610565d3c56764fa63ee776e 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 96caa4ea0e2858fcf54426db1697906451131dfa..5f19ba75261e597c1abbd002ecbfc1b88010161b 100644 (file)
@@ -36,6 +36,7 @@ function install_buildenv() {
             libblkid-dev \
             libc6-dev \
             libcap-ng-dev \
+            libclang-rt-dev \
             libcurl4-gnutls-dev \
             libdevmapper-dev \
             libfuse-dev \
index efe5548097084aaa97eaa9f7ce25c98187d25691..5fc7e8a801f88ba0f7f9f73f3ed7eddaece33e01 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index e5a8249f12188ab50d20f8d5d7746d48abb15dbd..46e374ea885b5ab22e0bfdf5ac339e75a1f927cf 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 2f6cb045da5c479867f00720e56242dc7635912a..c8bb1b95391fe2009f2a7156ade101bedb48d690 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index a5d553c3323d5d9818e5e354ffec9140ad95877b..e74b2cee732d3c4facabce218566c6a899935afc 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 58d38222430e4a35e694dece99e28f6fb6d8bb9c..6d3e43aeb004ff9b5f164bc4bc99a6f34f5d3bd6 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 171bc840faa39023a5ec95228f2c63bbd84e2669..1cda4f7928b22ec5082cf74dcf9e4c81356ea633 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index cecc2ebffa41d8ec174ec41aec41152a59db11b4..f0cbfad5a457ef30610565d3c56764fa63ee776e 100644 (file)
@@ -27,6 +27,7 @@ function install_buildenv() {
             iproute2 \
             iptables \
             kmod \
+            libclang-rt-dev \
             libnbd-dev \
             libxml2-utils \
             locales \
index 96caa4ea0e2858fcf54426db1697906451131dfa..5f19ba75261e597c1abbd002ecbfc1b88010161b 100644 (file)
@@ -36,6 +36,7 @@ function install_buildenv() {
             libblkid-dev \
             libc6-dev \
             libcap-ng-dev \
+            libclang-rt-dev \
             libcurl4-gnutls-dev \
             libdevmapper-dev \
             libfuse-dev \
index 0cce268050c8b58a7f850941bccbcb07bda225dd..db9d88eff4962dd676dad6bacf4bc1a4b1f5f5b2 100644 (file)
@@ -14,6 +14,7 @@ function install_buildenv() {
         ccache \
         clang \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         cyrus-sasl-devel \
index f349d1f60d2f1460ee550bc1be940cd267faafca..9104b2e20eafb4a5a4db27ec1ca9cea3f8e72103 100644 (file)
@@ -12,6 +12,7 @@ function install_buildenv() {
         ca-certificates \
         ccache \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         diffutils \
index fd20ff812ba6ca3390127d1187cb5e5e53ebe600..35120064ec08d6d85d0aaed6b9e51336616ac843 100644 (file)
@@ -12,6 +12,7 @@ function install_buildenv() {
         ca-certificates \
         ccache \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         diffutils \
index 0cce268050c8b58a7f850941bccbcb07bda225dd..db9d88eff4962dd676dad6bacf4bc1a4b1f5f5b2 100644 (file)
@@ -14,6 +14,7 @@ function install_buildenv() {
         ccache \
         clang \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         cyrus-sasl-devel \
index de0f16222ea8bceb8b6dca6fb93b0a4f1c99c63f..dadc40dc4e1bf84f8629976ac2e111c5f6030ca0 100644 (file)
@@ -13,6 +13,7 @@ function install_buildenv() {
         ca-certificates \
         ccache \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         diffutils \
index 30d2654f0ec5fa2f095b8f06f495a584d2eb2c12..c484250272bd67c362fe15b0f73c46f2024d5464 100644 (file)
@@ -13,6 +13,7 @@ function install_buildenv() {
         ca-certificates \
         ccache \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         diffutils \
index 399b1bae977e0784956468bc94d8bd421a4b787c..f89a87ad6308dc7f8f81656776653be0856ca05b 100644 (file)
@@ -15,6 +15,7 @@ function install_buildenv() {
         ccache \
         clang \
         codespell \
+        compiler-rt \
         cpp \
         cppi \
         cyrus-sasl-devel \
diff --git a/ci/buildenv/ubuntu-2404.sh b/ci/buildenv/ubuntu-2404.sh
new file mode 100644 (file)
index 0000000..3eacaa6
--- /dev/null
@@ -0,0 +1,101 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool manifest ci/manifest.yml
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
+function install_buildenv() {
+    export DEBIAN_FRONTEND=noninteractive
+    apt-get update
+    apt-get dist-upgrade -y
+    apt-get install --no-install-recommends -y \
+            augeas-lenses \
+            augeas-tools \
+            bash-completion \
+            black \
+            ca-certificates \
+            ccache \
+            clang \
+            codespell \
+            cpp \
+            diffutils \
+            dwarves \
+            ebtables \
+            flake8 \
+            gcc \
+            gettext \
+            git \
+            grep \
+            iproute2 \
+            iptables \
+            kmod \
+            libacl1-dev \
+            libapparmor-dev \
+            libattr1-dev \
+            libaudit-dev \
+            libblkid-dev \
+            libc6-dev \
+            libcap-ng-dev \
+            libclang-rt-dev \
+            libcurl4-gnutls-dev \
+            libdevmapper-dev \
+            libfuse-dev \
+            libglib2.0-dev \
+            libglusterfs-dev \
+            libgnutls28-dev \
+            libiscsi-dev \
+            libnbd-dev \
+            libnl-3-dev \
+            libnl-route-3-dev \
+            libnuma-dev \
+            libopenwsman-dev \
+            libparted-dev \
+            libpcap0.8-dev \
+            libpciaccess-dev \
+            librbd-dev \
+            libreadline-dev \
+            libsanlock-dev \
+            libsasl2-dev \
+            libselinux1-dev \
+            libssh-dev \
+            libssh2-1-dev \
+            libtirpc-dev \
+            libudev-dev \
+            libxen-dev \
+            libxml2-dev \
+            libxml2-utils \
+            libyajl-dev \
+            locales \
+            lvm2 \
+            make \
+            meson \
+            nfs-common \
+            ninja-build \
+            numad \
+            open-iscsi \
+            perl-base \
+            pkgconf \
+            policykit-1 \
+            python3 \
+            python3-docutils \
+            python3-pytest \
+            qemu-utils \
+            sed \
+            systemtap-sdt-dev \
+            wireshark-dev \
+            xsltproc
+    sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen
+    dpkg-reconfigure locales
+    rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
+    dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt
+    mkdir -p /usr/libexec/ccache-wrappers
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+}
+
+export CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
+export LANG="en_US.UTF-8"
+export MAKE="/usr/bin/make"
+export NINJA="/usr/bin/ninja"
+export PYTHON="/usr/bin/python3"
index 082b18d06f5b4b95df5a204bb5d62afb56b1e136..93549eefad3fb1e034a541545e78998d92040422 100644 (file)
@@ -18,6 +18,7 @@ RUN dnf distro-sync -y && \
         ca-certificates \
         ccache \
         clang \
+        compiler-rt \
         cpp \
         cyrus-sasl-devel \
         device-mapper-devel \
index b8b6b47ad6a989b8bf68cddf585b9f53e93a6c90..cc26cc2d11a1aa085d8bec413d54bb6d0f44dea7 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index e01423cb338bb74b62c1eeddd94b8f3820dbfaae..28235d9ba187aec6dd9eb50d844406269648e59f 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 0ef8a45788889895cf406162d758653787795012..56fbb73ebd016a069946d523215e5b62bbc29042 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index bee9af8f08f911d14335e176e5eb01ab364c2fac..4601cd297f19c5617320a852e9b39d649e18cbc4 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 700c566f0719909814094a3b03a1d3296b6541fb..3d3c0615facf4ffcbde90e529ba17a029f9d4455 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 67e032bbc98cfb938443ca6051371d4926c14da1..a1e1167f565d6a5f9ab03306e6f867ca0bd14e0a 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 5f91e15284ec80723a6bbf233c3d25cc50dc00d1..836b1c2ec54c0a381533353d44bd71ea89ea4a58 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 29e76ebb808120173713ff2000f6724eb65aa985..000e357b97477ce5e6ae952b0612cea5fa8fe50b 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 0df1d0190d19dd392d8b9409976642901cbbf756..bacfd9ada4cee927d44a39ace9bb196660bca843 100644 (file)
@@ -38,6 +38,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       libblkid-dev \
                       libc6-dev \
                       libcap-ng-dev \
+                      libclang-rt-dev \
                       libcurl4-gnutls-dev \
                       libdevmapper-dev \
                       libfuse-dev \
index 211e35fad0c9ad312d2d117df7d2b66cf73674e5..48335d5221beec54d6fd74a17f88b40c8a0f1ace 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 45459bb896cdb478949e9484665b58f73a5b9f78..b9cdd9554883f1df08034018dd1111190aba2837 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 8c994cdcec558b72b4b2eef6042f2be3e9b13123..4787aea1cd9bf38b9cc8e4ba4ce664fc6a6e9308 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 0b2d35188b32b68f9f9b49fb255328d9211f906a..66d84474dcb0d0260b8fc3420f6aab7128f03334 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 7b58dfdbf3e1d7ae227cc7aeb222fbbf7499ff5b..4e325bf07632b960f852f803ad12c075ad88d7ff 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index 5d247f80f7762778aa5d9667a81f79d6b501d89c..8a53dd73bd28c0e1224e88f5f9525e8886cfd005 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index c9bbf0dfa277ecab7843c3c2a463f3d5b0c8a399..f9c91d56de8c851d9127480bca99634583647ae8 100644 (file)
@@ -29,6 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       iproute2 \
                       iptables \
                       kmod \
+                      libclang-rt-dev \
                       libnbd-dev \
                       libxml2-utils \
                       locales \
index ddc220b45da5ea33e21e9341dcbc91125ab02c3b..0084e418d3ea9412d315bc1b21f2e53314655a13 100644 (file)
@@ -38,6 +38,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
                       libblkid-dev \
                       libc6-dev \
                       libcap-ng-dev \
+                      libclang-rt-dev \
                       libcurl4-gnutls-dev \
                       libdevmapper-dev \
                       libfuse-dev \
index ec67082a359e35281b3b7fc175ba78ab8aac650a..91135bf15f0200e0651054c275da4f51ce4a473d 100644 (file)
@@ -25,6 +25,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ccache \
                clang \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                cyrus-sasl-devel \
index 97214811713d7cba776acc76b44d1ec787ec4d4e..ed8566f273e40acf264bf0f3a02048d4bcaec995 100644 (file)
@@ -23,6 +23,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ca-certificates \
                ccache \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                diffutils \
index f25012abb62e93ef6ef460ab403eb4da1ba5ed81..b030427e0c9262097ef7e117acd7ea9d6e22e696 100644 (file)
@@ -23,6 +23,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ca-certificates \
                ccache \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                diffutils \
index 32a9cdae1249a7b07997c95405c7ebc33a8a7bd1..97e18584732abff55e1896a161461edabcc89303 100644 (file)
@@ -25,6 +25,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ccache \
                clang \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                cyrus-sasl-devel \
index 3c6653affdabeca6e06dabb9b46d53b91942ff7d..4e679991efeef670a12c424ae774d36b6f9c0a5f 100644 (file)
@@ -24,6 +24,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ca-certificates \
                ccache \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                diffutils \
index c668d9dcaeef4124d801a301545345fb80d5dcb2..bd2641548a61cd098c310da8907a0385db4fa722 100644 (file)
@@ -24,6 +24,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ca-certificates \
                ccache \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                diffutils \
index 232d76b95ac2c59a89fe4d681c9c53b8772b449c..6f06843985a43b671fcc43847cbe81fa2a791b5b 100644 (file)
@@ -26,6 +26,7 @@ exec "$@"\n' > /usr/bin/nosync && \
                ccache \
                clang \
                codespell \
+               compiler-rt \
                cpp \
                cppi \
                cyrus-sasl-devel \
diff --git a/ci/containers/ubuntu-2404.Dockerfile b/ci/containers/ubuntu-2404.Dockerfile
new file mode 100644 (file)
index 0000000..4a6c63b
--- /dev/null
@@ -0,0 +1,104 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+#  $ lcitool manifest ci/manifest.yml
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
+FROM docker.io/library/ubuntu:24.04
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+    apt-get update && \
+    apt-get install -y eatmydata && \
+    eatmydata apt-get dist-upgrade -y && \
+    eatmydata apt-get install --no-install-recommends -y \
+                      augeas-lenses \
+                      augeas-tools \
+                      bash-completion \
+                      black \
+                      ca-certificates \
+                      ccache \
+                      clang \
+                      codespell \
+                      cpp \
+                      diffutils \
+                      dwarves \
+                      ebtables \
+                      flake8 \
+                      gcc \
+                      gettext \
+                      git \
+                      grep \
+                      iproute2 \
+                      iptables \
+                      kmod \
+                      libacl1-dev \
+                      libapparmor-dev \
+                      libattr1-dev \
+                      libaudit-dev \
+                      libblkid-dev \
+                      libc6-dev \
+                      libcap-ng-dev \
+                      libclang-rt-dev \
+                      libcurl4-gnutls-dev \
+                      libdevmapper-dev \
+                      libfuse-dev \
+                      libglib2.0-dev \
+                      libglusterfs-dev \
+                      libgnutls28-dev \
+                      libiscsi-dev \
+                      libnbd-dev \
+                      libnl-3-dev \
+                      libnl-route-3-dev \
+                      libnuma-dev \
+                      libopenwsman-dev \
+                      libparted-dev \
+                      libpcap0.8-dev \
+                      libpciaccess-dev \
+                      librbd-dev \
+                      libreadline-dev \
+                      libsanlock-dev \
+                      libsasl2-dev \
+                      libselinux1-dev \
+                      libssh-dev \
+                      libssh2-1-dev \
+                      libtirpc-dev \
+                      libudev-dev \
+                      libxen-dev \
+                      libxml2-dev \
+                      libxml2-utils \
+                      libyajl-dev \
+                      locales \
+                      lvm2 \
+                      make \
+                      meson \
+                      nfs-common \
+                      ninja-build \
+                      numad \
+                      open-iscsi \
+                      perl-base \
+                      pkgconf \
+                      policykit-1 \
+                      python3 \
+                      python3-docutils \
+                      python3-pytest \
+                      qemu-utils \
+                      sed \
+                      systemtap-sdt-dev \
+                      wireshark-dev \
+                      xsltproc && \
+    eatmydata apt-get autoremove -y && \
+    eatmydata apt-get autoclean -y && \
+    sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+    dpkg-reconfigure locales && \
+    rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED && \
+    dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+    mkdir -p /usr/libexec/ccache-wrappers && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
+    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
+
+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"
index 859dea89d952adf5656e551ad7c51e0cf76ea048..a0a64c1ec19dacde50007ec881d40df59ee11335 100644 (file)
@@ -213,22 +213,33 @@ x86_64-ubuntu-2204:
       optional: true
   allow_failure: false
   variables:
-    JOB_OPTIONAL: 1
     NAME: ubuntu-2204
     TARGET_BASE_IMAGE: docker.io/library/ubuntu:22.04
 
 
-x86_64-ubuntu-2204-clang:
+x86_64-ubuntu-2404:
   extends: .native_build_job
   needs:
-    - job: x86_64-ubuntu-2204-container
+    - job: x86_64-ubuntu-2404-container
+      optional: true
+  allow_failure: false
+  variables:
+    JOB_OPTIONAL: 1
+    NAME: ubuntu-2404
+    TARGET_BASE_IMAGE: docker.io/library/ubuntu:24.04
+
+
+x86_64-ubuntu-2404-clang:
+  extends: .native_build_job
+  needs:
+    - job: x86_64-ubuntu-2404-container
       optional: true
   allow_failure: false
   variables:
     CC: clang
     MESON_ARGS: -Db_lundef=false -Db_sanitize=address,undefined
-    NAME: ubuntu-2204
-    TARGET_BASE_IMAGE: docker.io/library/ubuntu:22.04
+    NAME: ubuntu-2404
+    TARGET_BASE_IMAGE: docker.io/library/ubuntu:24.04
     UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
 
 
index ff0396b79915c11c0205a52dca244ec63f4a5126..55137dc1c37a3f5b91ee7eb284f00cde1f1a8c3c 100644 (file)
@@ -99,6 +99,13 @@ x86_64-ubuntu-2204-container:
     NAME: ubuntu-2204
 
 
+x86_64-ubuntu-2404-container:
+  extends: .container_job
+  allow_failure: false
+  variables:
+    NAME: ubuntu-2404
+
+
 
 # Cross container jobs
 
index 66c1fb64f8544e10ac582592d364bcda8e78d97c..a5d22484374e21842667245a7da294fcbbd9c4db 100644 (file)
@@ -36,6 +36,7 @@ packages:
   - libblkid
   - libc
   - libcap-ng
+  - libclang-rt-dev
   - libcurl
   - libiscsi
   - libnbd
index 80a341034e0b37e9097756aee0c2cab53b0afc64..647510ed2fa3580b6100912f92d356a3e7a86a28 100644 (file)
@@ -218,6 +218,10 @@ targets:
           PKG_CONFIG_PATH: /usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libpcap/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig
 
   ubuntu-2204:
+    jobs:
+      - arch: x86_64
+
+  ubuntu-2404:
     jobs:
       - arch: x86_64
         builds: false