[{"id":37727,"web_url":"https://patchwork.libcamera.org/comment/37727/","msgid":"<20260119121809.GC26642@pendragon.ideasonboard.com>","date":"2026-01-19T12:18:09","subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Mon, Jan 19, 2026 at 10:26:17AM +0100, Barnabás Pőcze wrote:\n> It is useful for debugging problems related to compilation or linking.\n\nSlightly less convinced by this one compared to 1/2, but I assume you\nhave found it useful, so I don't object.\n\n> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n> ---\n>  gitlab-ci.yml | 4 ++++\n>  1 file changed, 4 insertions(+)\n> \n> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> index 4edb6a7..249e3ef 100644\n> --- a/gitlab-ci.yml\n> +++ b/gitlab-ci.yml\n> @@ -142,6 +142,7 @@ container-debian:13:\n>      expire_in: 1 week\n>      paths:\n>        - build/meson-logs/\n> +      - build/build.ninja\n>    variables:\n>      BUILD_TYPE: debug\n>      MESON_OPTIONS: ${MESON_ALL_OPTIONS}\n> @@ -282,6 +283,7 @@ build-package:debug:\n>      expire_in: 1 week\n>      paths:\n>        - build/meson-logs/\n> +      - build/build.ninja\n>        - libcamera-${CI_COMMIT_SHA}.tar.xz\n>    variables:\n>      BUILD_TYPE: debug\n> @@ -316,6 +318,7 @@ build-package:cros:\n>      name: libcamera-cros-${CI_COMMIT_SHA}\n>      paths:\n>        - build/meson-logs/\n> +      - build/build.ninja\n>        - libcamera-upstream-9999.tbz2\n> \n>  # ------------------------------------------------------------------------------\n> @@ -381,6 +384,7 @@ test-unit:\n>      expire_in: 1 week\n>      paths:\n>        - build/meson-logs/\n> +      - build/build.ninja\n\nIs it needed here though ? If the goal is to debug compilation,\nshouldn't we limit it to the build jobs ?\n\n>      reports:\n>        junit: build/meson-logs/testlog.junit.xml\n>    variables:","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 15579BDCBF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 19 Jan 2026 12:18:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3C4C861FC3;\n\tMon, 19 Jan 2026 13:18:33 +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 554F0606D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 19 Jan 2026 13:18:31 +0100 (CET)","from pendragon.ideasonboard.com (81-175-209-152.bb.dnainternet.fi\n\t[81.175.209.152])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id A0DC3C79;\n\tMon, 19 Jan 2026 13:18:00 +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=\"GWXVlX4K\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768825080;\n\tbh=4obVFmF3q5AsxFLQhghVBYe5lT+geJ9eVTGZwktwgtM=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=GWXVlX4KwJSLBc9u8VAdYZeKW/Xus4MzBg1KIVmiyBOr4LI93uBp7+xuGHeJORcud\n\tY5WjaPNNSL9MUyH+kP/VqwnN6ZxSKsvNAM2ocWUiaURI86knS8NuafEJ++UXfVXDCE\n\tyKdaJ7YV/BvfnzA/asT8Mx0K+krNYUwfWiwo8j1o=","Date":"Mon, 19 Jan 2026 14:18:09 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","Message-ID":"<20260119121809.GC26642@pendragon.ideasonboard.com>","References":"<20260119092617.3506559-1-barnabas.pocze@ideasonboard.com>\n\t<20260119092617.3506559-2-barnabas.pocze@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<20260119092617.3506559-2-barnabas.pocze@ideasonboard.com>","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>"}},{"id":37728,"web_url":"https://patchwork.libcamera.org/comment/37728/","msgid":"<a064fa5f-40fb-4106-b898-8497d61d8f82@ideasonboard.com>","date":"2026-01-19T12:35:51","subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/people/216/","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"content":"2026. 01. 19. 13:18 keltezéssel, Laurent Pinchart írta:\n> On Mon, Jan 19, 2026 at 10:26:17AM +0100, Barnabás Pőcze wrote:\n>> It is useful for debugging problems related to compilation or linking.\n> \n> Slightly less convinced by this one compared to 1/2, but I assume you\n> have found it useful, so I don't object.\n> \n>> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n>> ---\n>>   gitlab-ci.yml | 4 ++++\n>>   1 file changed, 4 insertions(+)\n>>\n>> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n>> index 4edb6a7..249e3ef 100644\n>> --- a/gitlab-ci.yml\n>> +++ b/gitlab-ci.yml\n>> @@ -142,6 +142,7 @@ container-debian:13:\n>>       expire_in: 1 week\n>>       paths:\n>>         - build/meson-logs/\n>> +      - build/build.ninja\n>>     variables:\n>>       BUILD_TYPE: debug\n>>       MESON_OPTIONS: ${MESON_ALL_OPTIONS}\n>> @@ -282,6 +283,7 @@ build-package:debug:\n>>       expire_in: 1 week\n>>       paths:\n>>         - build/meson-logs/\n>> +      - build/build.ninja\n>>         - libcamera-${CI_COMMIT_SHA}.tar.xz\n>>     variables:\n>>       BUILD_TYPE: debug\n>> @@ -316,6 +318,7 @@ build-package:cros:\n>>       name: libcamera-cros-${CI_COMMIT_SHA}\n>>       paths:\n>>         - build/meson-logs/\n>> +      - build/build.ninja\n>>         - libcamera-upstream-9999.tbz2\n>>\n>>   # ------------------------------------------------------------------------------\n>> @@ -381,6 +384,7 @@ test-unit:\n>>       expire_in: 1 week\n>>       paths:\n>>         - build/meson-logs/\n>> +      - build/build.ninja\n> \n> Is it needed here though ? If the goal is to debug compilation,\n> shouldn't we limit it to the build jobs ?\n\nMaybe somewhat misleading, but `test-unit` builds libcamera.\n\n\n> \n>>       reports:\n>>         junit: build/meson-logs/testlog.junit.xml\n>>     variables:\n>","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 5EB68C3220\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 19 Jan 2026 12:35:59 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2572861FBC;\n\tMon, 19 Jan 2026 13:35:58 +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 19FA6606D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 19 Jan 2026 13:35:57 +0100 (CET)","from [192.168.33.17] (185.221.143.114.nat.pool.zt.hu\n\t[185.221.143.114])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1CBA8BE1;\n\tMon, 19 Jan 2026 13:35:25 +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=\"BrO/lvbQ\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768826126;\n\tbh=LE/O7NRd8UVPf/8RFJDlGVT6cjzfZt5x3zJ11gv9bBs=;\n\th=Date:Subject:To:Cc:References:From:In-Reply-To:From;\n\tb=BrO/lvbQ6BJHwFGYBmOn0uOImKLBL6QJDY8hYsomA4DpPWZ2mGD4oMvXeqqlrqtBS\n\tYRRSU6iw43N+6fMMN8AS259bgagTdbrd8V0e2IoGhCCwBigE0M0U7NwYfhBkaUUhxk\n\t/WiTfrlvJOwPNHrdgPUD/7cZtW9qIzzEZyReCcns=","Message-ID":"<a064fa5f-40fb-4106-b898-8497d61d8f82@ideasonboard.com>","Date":"Mon, 19 Jan 2026 13:35:51 +0100","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","References":"<20260119092617.3506559-1-barnabas.pocze@ideasonboard.com>\n\t<20260119092617.3506559-2-barnabas.pocze@ideasonboard.com>\n\t<20260119121809.GC26642@pendragon.ideasonboard.com>","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Content-Language":"en-US, hu-HU","In-Reply-To":"<20260119121809.GC26642@pendragon.ideasonboard.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","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>"}},{"id":37744,"web_url":"https://patchwork.libcamera.org/comment/37744/","msgid":"<20260119172603.GD26642@pendragon.ideasonboard.com>","date":"2026-01-19T17:26:03","subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"On Mon, Jan 19, 2026 at 01:35:51PM +0100, Barnabás Pőcze wrote:\n> 2026. 01. 19. 13:18 keltezéssel, Laurent Pinchart írta:\n> > On Mon, Jan 19, 2026 at 10:26:17AM +0100, Barnabás Pőcze wrote:\n> >> It is useful for debugging problems related to compilation or linking.\n> > \n> > Slightly less convinced by this one compared to 1/2, but I assume you\n> > have found it useful, so I don't object.\n> > \n> >> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n> >> ---\n> >>   gitlab-ci.yml | 4 ++++\n> >>   1 file changed, 4 insertions(+)\n> >>\n> >> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> >> index 4edb6a7..249e3ef 100644\n> >> --- a/gitlab-ci.yml\n> >> +++ b/gitlab-ci.yml\n> >> @@ -142,6 +142,7 @@ container-debian:13:\n> >>       expire_in: 1 week\n> >>       paths:\n> >>         - build/meson-logs/\n> >> +      - build/build.ninja\n> >>     variables:\n> >>       BUILD_TYPE: debug\n> >>       MESON_OPTIONS: ${MESON_ALL_OPTIONS}\n> >> @@ -282,6 +283,7 @@ build-package:debug:\n> >>       expire_in: 1 week\n> >>       paths:\n> >>         - build/meson-logs/\n> >> +      - build/build.ninja\n> >>         - libcamera-${CI_COMMIT_SHA}.tar.xz\n> >>     variables:\n> >>       BUILD_TYPE: debug\n> >> @@ -316,6 +318,7 @@ build-package:cros:\n> >>       name: libcamera-cros-${CI_COMMIT_SHA}\n> >>       paths:\n> >>         - build/meson-logs/\n> >> +      - build/build.ninja\n> >>         - libcamera-upstream-9999.tbz2\n> >>\n> >>   # ------------------------------------------------------------------------------\n> >> @@ -381,6 +384,7 @@ test-unit:\n> >>       expire_in: 1 week\n> >>       paths:\n> >>         - build/meson-logs/\n> >> +      - build/build.ninja\n> > \n> > Is it needed here though ? If the goal is to debug compilation,\n> > shouldn't we limit it to the build jobs ?\n> \n> Maybe somewhat misleading, but `test-unit` builds libcamera.\n\nIdeally the job should reuse artifacts from a build job. I think the\nmain reason it's not happening at the moment is that we can't use meson\nas a unit test runner without the source tree.\n\nLet' not dwell on this for now,\n\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\n> >>       reports:\n> >>         junit: build/meson-logs/testlog.junit.xml\n> >>     variables:","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 3881EBDCBF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 19 Jan 2026 17:26:29 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5D0C161FC6;\n\tMon, 19 Jan 2026 18:26:28 +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 2372F606D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 19 Jan 2026 18:26:26 +0100 (CET)","from pendragon.ideasonboard.com (81-175-209-152.bb.dnainternet.fi\n\t[81.175.209.152])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 54B06C1;\n\tMon, 19 Jan 2026 18:25:55 +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=\"r2ay66Bg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768843555;\n\tbh=nscdskYPmig1fXTBs3VYKB+TpIPtX831XUHRAcJnA5k=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=r2ay66BgvYBRRJ4g1pnFzGS+qFHIrtWOFKkrrqkNpy4lKEUuAjEUa0ck6cMvXYj8Y\n\tnQD+60puFTizCkwJWU/8Y/6E8JVuJL5Frp0FiUkayuYZdmITdyDg0kRIEmXnhh5NXd\n\t8D7paYmcXoEQfQ7MgC7KLOlkBJkY9nshn/VXftCg=","Date":"Mon, 19 Jan 2026 19:26:03 +0200","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Subject":"Re: [libcamera-ci] [PATCH v1 2/2] Save `build.ninja` as artifact","Message-ID":"<20260119172603.GD26642@pendragon.ideasonboard.com>","References":"<20260119092617.3506559-1-barnabas.pocze@ideasonboard.com>\n\t<20260119092617.3506559-2-barnabas.pocze@ideasonboard.com>\n\t<20260119121809.GC26642@pendragon.ideasonboard.com>\n\t<a064fa5f-40fb-4106-b898-8497d61d8f82@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<a064fa5f-40fb-4106-b898-8497d61d8f82@ideasonboard.com>","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>"}}]