Patch Detail
Show a patch.
GET /api/patches/25956/?format=api
{ "id": 25956, "url": "https://patchwork.libcamera.org/api/patches/25956/?format=api", "web_url": "https://patchwork.libcamera.org/patch/25956/", "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": "<20260126085747.36043-1-barnabas.pocze@ideasonboard.com>", "date": "2026-01-26T08:57:46", "name": "[libcamera-ci,v2,1/2] Move kvm tests and cross compilation to debian 13", "commit_ref": null, "pull_url": null, "state": "superseded", "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/25956/mbox/", "series": [ { "id": 5738, "url": "https://patchwork.libcamera.org/api/series/5738/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5738", "date": "2026-01-26T08:57:46", "name": "[libcamera-ci,v2,1/2] Move kvm tests and cross compilation to debian 13", "version": 2, "mbox": "https://patchwork.libcamera.org/series/5738/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/25956/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/25956/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 5A5D4C3200\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 26 Jan 2026 08:57:54 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9C81561FCB;\n\tMon, 26 Jan 2026 09:57:53 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 58CE161A35\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Jan 2026 09:57:51 +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 EAE02557\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Jan 2026 09:57:15 +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=\"IHnFIlWE\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769417836;\n\tbh=qmZ1tQfOmounWdNEgN5XLJOoN8gOzcU/lBylSAZ/W/c=;\n\th=From:To:Subject:Date:From;\n\tb=IHnFIlWEoXHu7H83phE50TQRTERXXI1ivKdNw+B0IHEIyxeja+4yWqwCP5rsWAhp8\n\tXnC8cnl2XtYT2qLZcnI/4cR6mOJcA+WAo5STavRX0px7kp8MdF2/gxIDQz671vst4G\n\tKFqbtY/v4jPRBmzTfnSr/9x7roZEvqp8w8Aj7zpk=", "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Subject": "[libcamera-ci] [PATCH v2 1/2] Move kvm tests and cross compilation\n\tto debian 13", "Date": "Mon, 26 Jan 2026 09:57:46 +0100", "Message-ID": "<20260126085747.36043-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 v2:\n * move virtme-ng update to a separate commit\n\nv1: https://patchwork.libcamera.org/patch/25942/\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", "v2", "1/2" ] }