[{"id":35151,"web_url":"https://patchwork.libcamera.org/comment/35151/","msgid":"<175346122490.1641235.5585499401598257189@ping.linuxembedded.co.uk>","date":"2025-07-25T16:33:44","subject":"Re: [libcamera-ci] [PATCH v2] Fix debian 13 build with gcc 13","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Barnabás Pőcze (2025-07-25 16:56:46)\n> Updating the debian 13 container causes linking to fail with gcc 13.\n> The reason for this is that gcc 13 is not the native compiler, and\n> the distribution-built packages use gcc 14. So when linking against\n> gtest or qt6, they will refer to symbols that are not provided by\n> the gcc 13 libraries.\n> \n> Fix that by disabling `qcam`, the only user of qt; and forcing meson\n> to fall back to the wrap dependency for gtest.\n> \n> Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> ---\n> https://gitlab.freedesktop.org/pobrn/libcamera/-/jobs/81288161\n> \n> changes in v2:\n>    * rebuild correct container\n> \n> v1: https://patchwork.libcamera.org/patch/23966/\n> ---\n>  gitlab-ci.yml | 4 +++-\n>  1 file changed, 3 insertions(+), 1 deletion(-)\n> \n> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> index 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> --\n> 2.50.1","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 DA64AC3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Jul 2025 16:33:50 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F0203690FC;\n\tFri, 25 Jul 2025 18:33:49 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2B8A7690A6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Jul 2025 18:33:48 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 31B71C64;\n\tFri, 25 Jul 2025 18:33:08 +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=\"I7h+dzXg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753461188;\n\tbh=78aLRKrW0eQU/KcfX7gKcmU1CgliPreGPBgTRs5S5Rg=;\n\th=In-Reply-To:References:Subject:From:Cc:To:Date:From;\n\tb=I7h+dzXg5RtDEmFB7z7/0QyWyHR74gRmZybCDvFx2kQSXULP3MmWHLYUeR8JcZdHO\n\tKtGY+RImzcsp6dyqemj52NM+gLvaE/VHCs6XH96Jz1sVG6U1/ahOAgfbhLyxpsW/8V\n\t16ZRBtnAhW674zlhTJWtKPBBQLHydnu4Vlta9+0c=","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20250725155646.2716399-1-barnabas.pocze@ideasonboard.com>","References":"<20250725155646.2716399-1-barnabas.pocze@ideasonboard.com>","Subject":"Re: [libcamera-ci] [PATCH v2] Fix debian 13 build with gcc 13","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Cc":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Fri, 25 Jul 2025 17:33:44 +0100","Message-ID":"<175346122490.1641235.5585499401598257189@ping.linuxembedded.co.uk>","User-Agent":"alot/0.9.1","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>"}}]