Patch Detail
Show a patch.
GET /api/patches/11803/?format=api
{ "id": 11803, "url": "https://patchwork.libcamera.org/api/patches/11803/?format=api", "web_url": "https://patchwork.libcamera.org/patch/11803/", "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": "<20210331071600.33845-1-vedantparanjape160201@gmail.com>", "date": "2021-03-31T07:16:00", "name": "[libcamera-devel,v8] Add alternative meson install command", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e57bd0d454a416b4fa81ce1f5e8a5da98003dc1d", "submitter": { "id": 85, "url": "https://patchwork.libcamera.org/api/people/85/?format=api", "name": "Vedant Paranjape", "email": "vedantparanjape160201@gmail.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/11803/mbox/", "series": [ { "id": 1875, "url": "https://patchwork.libcamera.org/api/series/1875/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1875", "date": "2021-03-31T07:16:00", "name": "[libcamera-devel,v8] Add alternative meson install command", "version": 8, "mbox": "https://patchwork.libcamera.org/series/1875/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/11803/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/11803/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 DC793C0DA3\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 31 Mar 2021 07:16:29 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4CACE68783;\n\tWed, 31 Mar 2021 09:16:29 +0200 (CEST)", "from mail-pg1-x529.google.com (mail-pg1-x529.google.com\n\t[IPv6:2607:f8b0:4864:20::529])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 733826051B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 31 Mar 2021 09:16:27 +0200 (CEST)", "by mail-pg1-x529.google.com with SMTP id k8so4394282pgf.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 31 Mar 2021 00:16:27 -0700 (PDT)", "from localhost.localdomain ([1.186.78.76])\n\tby smtp.googlemail.com with ESMTPSA id\n\ty9sm1506900pgc.9.2021.03.31.00.16.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 31 Mar 2021 00:16:25 -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=\"EFrEfzBm\"; 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=INZaBRYLWnl1JW8mrGGLCqbOwvNiBZPaHhDzsDVYXig=;\n\tb=EFrEfzBmQYaZH5QCbaq1vmFvfJYwbIFKvRbqCTUJ35C02dsZC2odAt4Wdj898EU2Mw\n\tOrlazzR0AS9rJf+fOHWk2EHGtUQOh8n6GrWFWScpgPSgj49RejLRlJMKIk/LrUL1R0xR\n\tPe0XQ2uBAzuptzxu8cKOmBuxJu9J4XO8UVC9J9Mkpl3Tpw5qk+17Z6MfytBzNzCLQgAo\n\tnc6oNPfTI6KjxJCuGcbyuc0I0KkunJhcFv9Cr/pVuPfeDMPoYzMjfkkMFIOFlneyY0Gq\n\tw9RxRMs5qsjADir4mnkmIUw6CiDywQW9iMStcm0dNbnn8zo8i0Zt+q3JyY9aVbZs39hx\n\t1MFg==", "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=INZaBRYLWnl1JW8mrGGLCqbOwvNiBZPaHhDzsDVYXig=;\n\tb=b0DQfphO0rKYPsa0iYAXBoQ6r6h7fWiu3Hfh0cTk0qG8kZu5ZZB89WAPL8ebLAPeZN\n\tV2ZrtBjckPkefstz8cRaklGfdVLhE3O/ui8A27YCIVUV6h2T4KJN+Xh5PKOcMgK/z8oq\n\tN5v1ZIorRkWaO+JLR+Uf5fPaaLUwvoyAJXjr0P2UnxtwUzgHM6HlPHkaseiVFQrzXOvd\n\t8msiPVh7qegi6eiOp9aJHOZ0dpBiyFUPAexHSi6lzJgdpxi5/paDpyNKiFziuJxrPoMN\n\tzfWC19d9YAw1xPA9h0vh0cmrPYWVvcQJvDXrFB73Z39bEegWxzZp2lZ3xUmjEtTIg6kc\n\tS/dg==", "X-Gm-Message-State": "AOAM533VSABD7fBMuSo3IcBUJjJuD7fer0hPsPlbxmc6aZTvgmfTXj9G\n\thDsLNxX3Ik5RWoZMqpIQzRkwIr3Ej/i3OCh1", "X-Google-Smtp-Source": "ABdhPJykNPR7uTL1UV6UwhEkrCsVuz0pdSRE0Zgvk5CNvrljGDGWpo+63uXRN+rC3Ljsa3+Mtwndtg==", "X-Received": "by 2002:a63:5f0c:: with SMTP id\n\tt12mr1903051pgb.381.1617174985605; \n\tWed, 31 Mar 2021 00:16:25 -0700 (PDT)", "From": "Vedant Paranjape <vedantparanjape160201@gmail.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 31 Mar 2021 12:46:00 +0530", "Message-Id": "<20210331071600.33845-1-vedantparanjape160201@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v8] 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 v8:\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* Fixed line width issues and some grammatical mistakes\n* Added a troubleshooting section to the readme to describe this issue and \nsuggest possible solutions.\n\n README.rst | 22 ++++++++++++++++++++++\n 1 file changed, 22 insertions(+)", "diff": "diff --git a/README.rst b/README.rst\nindex 1427c714..5ebe3938 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -104,3 +104,25 @@ 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 is a snippet of the 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. \n+\n+2) If a version of meson which is different from the system-wide version is\n+already installed, uninstall that meson using pip3, and install again without\n+the --user argument.\n+\n", "prefixes": [ "libcamera-devel", "v8" ] }