Show a patch.

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

{
    "id": 11795,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/11795/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/11795/",
    "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": "<20210330143923.9664-1-vedantparanjape160201@gmail.com>",
    "date": "2021-03-30T14:39:23",
    "name": "[libcamera-devel,v7] Add alternative meson install command",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "47b61c367bea240bdf24da8cc10697058a3f6da6",
    "submitter": {
        "id": 85,
        "url": "https://patchwork.libcamera.org/api/1.1/people/85/?format=api",
        "name": "Vedant Paranjape",
        "email": "vedantparanjape160201@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/11795/mbox/",
    "series": [
        {
            "id": 1872,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1872/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1872",
            "date": "2021-03-30T14:39:23",
            "name": "[libcamera-devel,v7] Add alternative meson install command",
            "version": 7,
            "mbox": "https://patchwork.libcamera.org/series/1872/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/11795/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/11795/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 A059FC0DA4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 30 Mar 2021 14:40:14 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0054B68781;\n\tTue, 30 Mar 2021 16:40:13 +0200 (CEST)",
            "from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com\n\t[IPv6:2607:f8b0:4864:20::1032])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 70742602D2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 30 Mar 2021 16:40:12 +0200 (CEST)",
            "by mail-pj1-x1032.google.com with SMTP id\n\ta22-20020a17090aa516b02900c1215e9b33so9553288pjq.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 30 Mar 2021 07:40:12 -0700 (PDT)",
            "from localhost.localdomain ([1.186.78.76])\n\tby smtp.googlemail.com with ESMTPSA id\n\tmp19sm6659842pjb.2.2021.03.30.07.40.08\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 30 Mar 2021 07:40:10 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Dacu/rp7\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=pd+6+xTNAUc6P78DyTWX/ZRUf6fP9SHkRHqVWLCVeGw=;\n\tb=Dacu/rp7VHgO7EK56Gkde3zgc4Xi0GPRZknN2N7Mk61yKz8LGbQK58tj8fT4437HpG\n\t1vlOE7RjQ2cjeUExqx3unyu8XrnRc2Qhe+bQJOPIbvw2N1BmXuNs5PxGQ1XngYl/+sO1\n\tOppTih25JBMb7GY4upchdBXN0uBlHezyHg9pakZG/WRYrl9nGtc7fj0CRqYsoSXxFrtC\n\t0BIsEBVNjuoP4pGu/Oj1j79BI+lzScetRG9Jkpo7ugVCxwNwcGV+oDuqSENIV+Smgynx\n\tKO8HkJva/4IdRX5nh41StyTLEvKyxhTWyLdEygqoZPJpbCcCk8fdVgMpqKi4WlxD7e32\n\tULJg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=pd+6+xTNAUc6P78DyTWX/ZRUf6fP9SHkRHqVWLCVeGw=;\n\tb=CM5Wplgq0FIiyZMOnD6+EZguucfT/3BO3nZxdCf97zE2kz5OQvC2hLYBj91xp8WTRi\n\tg0kIwQibFWI/Pn7zQxX+H6oq1xry4Uq/IGGkn65SgKQOANhLzfmvUv27P/3HPpxQD7oP\n\tbEy/YJCp9pl0svpvERE/6XgOJPaTGQI14JjjfI0GN2pmVDw94QmZUjHIOREKS5Fsv0hH\n\tWQ8PnD/EEtAgnA5HrekO+SmnSfHmViVFmguBF8hJIetRT9lN66S3qnTnXhQZkjlUlItD\n\t8iXw+/2exzA6m4HunivQx4eE61x88SsAMTPP/zZ8t1v91d/sj1trWGm0Ve53oXL1TGhB\n\t1stg==",
        "X-Gm-Message-State": "AOAM530mxQ5qQP/wMq9P9G4tJmef22gbxWl/UrTM3gjOmXra996OqiNs\n\tnEv7V6XKs0HUhnECWSAbsoCj+DdmtQY8qId3",
        "X-Google-Smtp-Source": "ABdhPJz+B7XkNWEU2YGcUAH5ufbq617GrjyCzDy7a4A6xSPqM88irHNQYiuIp5fMtXlodXBYIvU7tA==",
        "X-Received": "by 2002:a17:902:c14c:b029:e5:cd82:a0b with SMTP id\n\t12-20020a170902c14cb02900e5cd820a0bmr33837679plj.34.1617115210497; \n\tTue, 30 Mar 2021 07:40:10 -0700 (PDT)",
        "From": "Vedant Paranjape <vedantparanjape160201@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 30 Mar 2021 20:09:23 +0530",
        "Message-Id": "<20210330143923.9664-1-vedantparanjape160201@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v7] Add alternative meson install command",
        "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>",
        "Cc": "Vedant Paranjape <vedantparanjape160201@gmail.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "While installing meson using pip3 install --user meson, due to python\npath issues, build.ninja can't be located by ninja. meson generates\nninja files fine, but then when you run ninja, it is unable to find\nmeson's build.ninja python module due to path issues.\nIt gives the following error on ninja -C build install:\n\nninja: Entering directory `build'\nninja: error: loading 'build.ninja': No such file or directory\n\nAfter uninstalling meson using pip3 and installing it again using pip\nwithout --user argument solved the issue.\n\nSigned-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>\n---\nChanges in v7:\n* Updated README.rst to describe meson install issue\n* Removed \"changelog\" heading from commit message\n* Fixed few grammatical mistakes\n* Reworded few sentences\n* Added a new troubleshooting section in readme, and shifted meson issue \nto that section\n* Fixed line width issues and some grammatical mistakes\n\n README.rst | 28 ++++++++++++++++++++++++++++\n 1 file changed, 28 insertions(+)",
    "diff": "diff --git a/README.rst b/README.rst\nindex 1427c714..d46109c8 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -104,3 +104,31 @@ onto the default video display element on your system.\n   gst-launch-1.0 libcamerasrc camera-name=\"Camera 1\" ! videoconvert ! autovideosink\n \n .. section-end-getting-started\n+\n+Troubleshooting\n+~~~~~~~~~~~~~~~\n+\n+Several users have reported issues with meson installation, crux of the issue\n+is a potential version mismatch between the version that root uses, and the\n+version that the normal user uses. On calling `ninja -C build`, it can't find\n+the build.ninja module. This the snippet of error message,\n+\n+:: \n+\n+  ninja: Entering directory `build'     \n+  ninja: error: loading 'build.ninja': No such file or directory\n+\n+This can be solved in two ways: \n+\n+1) Don't install meson again if it is already installed system-wide. 2) If a\n+version of meson which is different from the system-wide version is already\n+installed, uninstall that meson using pip3, and install again without the\n+--user argument.\n+\n+Solution to this was installing meson as root, this is not ideal, and should be\n+done as a last resort\n+\n+::\n+\n+  sudo pip3 install meson\n+\n",
    "prefixes": [
        "libcamera-devel",
        "v7"
    ]
}