[{"id":38013,"web_url":"https://patchwork.libcamera.org/comment/38013/","msgid":"<20260129141154.GB3327197@killaraus>","date":"2026-01-29T14:11:54","subject":"Re: [libcamera-ci] [PATCH v3 1/2] Move kvm tests and cross\n\tcompilation to debian 13","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Thu, Jan 29, 2026 at 01:49:08PM +0100, Barnabás Pőcze wrote:\n> Debian 13 is the current stable edition, and virtme-ng 1.18 no longer\n> compiles on debian 12 due to rustc version incompatibilities. So move\n> the kvm tests (and kernel compilation), as well as cross compilation\n> tests to debian 13.\n> \n> Unfortunately, there is a debian peculiarity that has to be worked\n> around. In contrast to debian 12, the `libclang-rt-dev` package does\n> not exist for armhf. So its versioned variant needs to be used.\n> \n> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\n> ---\n> changes in v3: none\n> \n> v2: https://patchwork.libcamera.org/patch/25956/\n> ---\n>  .gitlab-ci/setup-container.sh | 12 ++++++------\n>  gitlab-ci.yml                 | 20 ++++++++++----------\n>  2 files changed, 16 insertions(+), 16 deletions(-)\n> \n> diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh\n> index 2ba94bb..3506271 100755\n> --- a/.gitlab-ci/setup-container.sh\n> +++ b/.gitlab-ci/setup-container.sh\n> @@ -132,9 +132,6 @@ case $FDO_DISTRIBUTION_VERSION in\n>  \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev )\n>  \t# For the Android camera HAL and the virtual pipeline handler.\n>  \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libyuv-dev )\n> -\t# For cam and lc-compliance\n> -\t# libevent-dev cannot be used here, see build-libcamera-common.sh\n> -\tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libevent-2.1-7 libevent-pthreads-2.1-7 )\n>  \t;;\n>  'trixie')\n>  \t# gcc 13 to expand compilation testing coverage.\n> @@ -142,15 +139,18 @@ case $FDO_DISTRIBUTION_VERSION in\n>  \t# Sphinx theme for the documentation.\n>  \tPKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme )\n>  \t# libclang-rt-dev for the clang ASan runtime.\n> -\tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev )\n> +\tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-19-dev )\n>  \t# For the Android camera HAL and the virtual pipeline handler.\n>  \tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libyuv-dev )\n> +\t# For lc-compliance in the `test-lc-compliance:virtual` job\n> +\t# libevent-dev cannot be used here, see build-libcamera-common.sh\n> +\tPKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libevent-2.1-7t64 libevent-pthreads-2.1-7t64 )\n>  \t;;\n>  esac\n> \n> -# We use Debian bookworm containers to produce ARM binaries and run unit tests\n> +# We use Debian 13 (trixie) containers to produce ARM binaries and run unit tests\n>  # with virtme, and other Debian versions for compilation-testing on amd64 only.\n> -if [[ $FDO_DISTRIBUTION_VERSION == 'bookworm' ]] ; then\n> +if [[ $FDO_DISTRIBUTION_VERSION == 'trixie' ]] ; then\n>  \tarchs+=( arm64 armhf )\n>  \tcomponents['kernel']=1\n>  \tcomponents['virtme']=1\n> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> index b1d5f0e..bd5df66 100644\n> --- a/gitlab-ci.yml\n> +++ b/gitlab-ci.yml\n> @@ -65,12 +65,12 @@ include:\n>  .libcamera-ci.debian:12:\n>    variables:\n>      FDO_DISTRIBUTION_VERSION: 'bookworm'\n> -    FDO_DISTRIBUTION_TAG: '2025-11-02.0'\n> +    FDO_DISTRIBUTION_TAG: '2026-01-23.0'\n> \n>  .libcamera-ci.debian:13:\n>    variables:\n>      FDO_DISTRIBUTION_VERSION: 'trixie'\n> -    FDO_DISTRIBUTION_TAG: '2025-11-02.0'\n> +    FDO_DISTRIBUTION_TAG: '2026-01-23.0'\n> \n>  .container-debian:\n>    extends:\n> @@ -208,8 +208,6 @@ build-full:debian:12:\n>            ${MESON_ALL_OPTIONS}\n>            ${MESON_CLANG_OPTIONS}\n>            -D qcam=disabled\n> -      - ARCH: armhf\n> -      - ARCH: arm64\n> \n>  build-full:debian:13:\n>    extends:\n> @@ -241,6 +239,8 @@ build-full:debian:13:\n>            -D cpp_debugstl=false\n>          # `cpp_debugstl=false` needed approximately between meson 1.4.0 and 1.9.3\n>          # with clang 18 or later due to https://github.com/mesonbuild/meson/issues/13812\n> +      - ARCH: armhf\n> +      - ARCH: arm64\n> \n>  # Build each commit in the branch individually to detect compilation breakages.\n>  build-history:\n> @@ -267,11 +267,11 @@ build-history:\n>  build-package:debug:\n>    extends:\n>      - .fdo.distribution-image@debian\n> -    - .libcamera-ci.debian:12\n> +    - .libcamera-ci.debian:13\n>      - .libcamera-ci.scripts\n>    stage: build\n>    needs:\n> -    - job: container-debian:12\n> +    - job: container-debian:13\n>        artifacts: false\n>    script:\n>      - $CI_PROJECT_DIR/.gitlab-ci/build-libcamera.sh\n> @@ -366,11 +366,11 @@ merge-check:\n>  test-unit:\n>    extends:\n>      - .fdo.distribution-image@debian\n> -    - .libcamera-ci.debian:12\n> +    - .libcamera-ci.debian:13\n>      - .libcamera-ci.scripts\n>    stage: test\n>    needs:\n> -    - job: container-debian:12\n> +    - job: container-debian:13\n>        artifacts: false\n>    tags:\n>      - kvm\n> @@ -404,7 +404,7 @@ test-unit:\n>  test-lc-compliance:virtual:\n>    extends:\n>      - .fdo.distribution-image@debian\n> -    - .libcamera-ci.debian:12\n> +    - .libcamera-ci.debian:13\n>      - .libcamera-ci.scripts\n>    stage: test\n>    needs:\n> @@ -412,7 +412,7 @@ test-lc-compliance:virtual:\n>        parallel:\n>          matrix:\n>            - ARCH: amd64\n> -    - job: container-debian:12\n> +    - job: container-debian:13\n>        artifacts: false\n>    tags:\n>      - kvm","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 291AEC3200\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Jan 2026 14:11:59 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 65D0C61FD2;\n\tThu, 29 Jan 2026 15:11:58 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F38F615B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Jan 2026 15:11:56 +0100 (CET)","from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 674771661; \n\tThu, 29 Jan 2026 15:11:18 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"fRzjCJj+\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769695878;\n\tbh=ynSgMzL1byxuxCD8MFuI0C2qVCavlt8P2CGLDX1D4h8=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=fRzjCJj+Fh229mMihNQo/nCv24rV3/ajJ6qbZuXP/z14k4vQ8sHIwr6l8cTvcpNrZ\n\tXXJ7XuxEmXDIFik9Ja+VnvqlMVpsSGgqnpanKvje/PbtUk6wp/ebSRb8N/1RDJALC1\n\tD1pnolV4KORjvtd3YxZC66P3jNfmdAGlNTe6g+u0=","Date":"Thu, 29 Jan 2026 16:11:54 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Subject":"Re: [libcamera-ci] [PATCH v3 1/2] Move kvm tests and cross\n\tcompilation to debian 13","Message-ID":"<20260129141154.GB3327197@killaraus>","References":"<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]