Patch Detail
Show a patch.
GET /api/patches/26039/?format=api
{ "id": 26039, "url": "https://patchwork.libcamera.org/api/patches/26039/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26039/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>", "date": "2026-01-29T12:49:08", "name": "[libcamera-ci,v3,1/2] Move kvm tests and cross compilation to debian 13", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0a2a5a2fa9590969bbdbe32e9861bfb31bec02c3", "submitter": { "id": 216, "url": "https://patchwork.libcamera.org/api/people/216/?format=api", "name": "Barnabás Pőcze", "email": "barnabas.pocze@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26039/mbox/", "series": [ { "id": 5756, "url": "https://patchwork.libcamera.org/api/series/5756/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5756", "date": "2026-01-29T12:49:08", "name": "[libcamera-ci,v3,1/2] Move kvm tests and cross compilation to debian 13", "version": 3, "mbox": "https://patchwork.libcamera.org/series/5756/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26039/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26039/checks/", "tags": {}, "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 60A51C3226\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Jan 2026 12:49:16 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A483A61FD3;\n\tThu, 29 Jan 2026 13:49:15 +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 6050B615B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Jan 2026 13:49:13 +0100 (CET)", "from pb-laptop.local (185.221.142.123.nat.pool.zt.hu\n\t[185.221.142.123])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4FF5A1AED;\n\tThu, 29 Jan 2026 13:48:35 +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=\"wkkl03aA\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769690915;\n\tbh=PTv4W5UbMq5yMSXS+0tZUxtCMtFZ824+dg4yqGz4s3E=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=wkkl03aAEAymr5x53Illx0sGqwci0hMP6Rj5sqEvCf8lA0Kmz5/Z3kt+MH0bB7ffL\n\tZz+VHLt383hzvizJyc2syYAb2tdV/A8fLf2ABy31kZJKMEjTBH/CqvG+5FbCSYK+bG\n\tamfT0t8B7cqhW5sdBt60wElDioikvj+cIAjOhc/g=", "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Subject": "[libcamera-ci] [PATCH v3 1/2] Move kvm tests and cross compilation\n\tto debian 13", "Date": "Thu, 29 Jan 2026 13:49:08 +0100", "Message-ID": "<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>", "X-Mailer": "git-send-email 2.52.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "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>" }, "content": "Debian 13 is the current stable edition, and virtme-ng 1.18 no longer\ncompiles on debian 12 due to rustc version incompatibilities. So move\nthe kvm tests (and kernel compilation), as well as cross compilation\ntests to debian 13.\n\nUnfortunately, there is a debian peculiarity that has to be worked\naround. In contrast to debian 12, the `libclang-rt-dev` package does\nnot exist for armhf. So its versioned variant needs to be used.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\nchanges in v3: none\n\nv2: 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--\n2.52.0", "diff": "diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh\nindex 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\ndiff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex 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\n", "prefixes": [ "libcamera-ci", "v3", "1/2" ] }