Show a patch.

GET /api/1.1/patches/23967/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 23967,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/23967/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23967/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20250725155646.2716399-1-barnabas.pocze@ideasonboard.com>",
    "date": "2025-07-25T15:56:46",
    "name": "[libcamera-ci,v2] Fix debian 13 build with gcc 13",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "52a2cbe7c8f3b815703eb5b1048aa4201f153982",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/1.1/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/23967/mbox/",
    "series": [
        {
            "id": 5332,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5332/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5332",
            "date": "2025-07-25T15:56:46",
            "name": "[libcamera-ci,v2] Fix debian 13 build with gcc 13",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/5332/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23967/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23967/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 56FADC3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Jul 2025 15:56:51 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 19B04690F9;\n\tFri, 25 Jul 2025 17:56:51 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id DCDD8690A6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Jul 2025 17:56:49 +0200 (CEST)",
            "from pb-laptop.local (185.221.140.39.nat.pool.zt.hu\n\t[185.221.140.39])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 097E18D4;\n\tFri, 25 Jul 2025 17:56:10 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"so8JEidP\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753458970;\n\tbh=F9J5Np4mER22PgcCfak/pcSPJkuZQq5y++vCsD/AyWk=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=so8JEidPYoj7uAhSlFUVo7AsLEipYog6+6aoAtbwfDn1IxYuq1p3bckg6JHXVO0Et\n\tdOPl2a1HZwW/bo/AzpJVHP5cf498ZC1GpuBP55SzkMFIlgbTItmaRD0bYUG0gj3qZQ\n\tnl2MIqiSV6nzNnKq4IazDOUhRveZR3uc6dLVu2EE=",
        "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 v2] Fix debian 13 build with gcc 13",
        "Date": "Fri, 25 Jul 2025 17:56:46 +0200",
        "Message-ID": "<20250725155646.2716399-1-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "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": "Updating the debian 13 container causes linking to fail with gcc 13.\nThe reason for this is that gcc 13 is not the native compiler, and\nthe distribution-built packages use gcc 14. So when linking against\ngtest or qt6, they will refer to symbols that are not provided by\nthe gcc 13 libraries.\n\nFix that by disabling `qcam`, the only user of qt; and forcing meson\nto fall back to the wrap dependency for gtest.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\nhttps://gitlab.freedesktop.org/pobrn/libcamera/-/jobs/81288161\n\nchanges in v2:\n   * rebuild correct container\n\nv1: https://patchwork.libcamera.org/patch/23966/\n---\n gitlab-ci.yml | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)\n\n--\n2.50.1",
    "diff": "diff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex 885c1b7..7c80f24 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -70,7 +70,7 @@ include:\n .libcamera-ci.debian:13:\n   variables:\n     FDO_DISTRIBUTION_VERSION: 'trixie'\n-    FDO_DISTRIBUTION_TAG: '2025-02-27.1'\n+    FDO_DISTRIBUTION_TAG: '2025-07-25.1'\n\n .container-debian:\n   extends:\n@@ -224,6 +224,8 @@ build-full:debian:13:\n         MESON_OPTIONS: >-\n           ${MESON_ALL_OPTIONS}\n           -D cpp_std=c++20\n+          -D force_fallback_for=['gtest']\n+          -D qcam=disabled\n       - ARCH: amd64\n         CC: gcc-14\n         CXX: g++-14\n",
    "prefixes": [
        "libcamera-ci",
        "v2"
    ]
}