From patchwork Fri Jul 25 15:56:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 23967 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 56FADC3237 for ; Fri, 25 Jul 2025 15:56:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 19B04690F9; Fri, 25 Jul 2025 17:56:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="so8JEidP"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DCDD8690A6 for ; Fri, 25 Jul 2025 17:56:49 +0200 (CEST) Received: from pb-laptop.local (185.221.140.39.nat.pool.zt.hu [185.221.140.39]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 097E18D4; Fri, 25 Jul 2025 17:56:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1753458970; bh=F9J5Np4mER22PgcCfak/pcSPJkuZQq5y++vCsD/AyWk=; h=From:To:Cc:Subject:Date:From; b=so8JEidPYoj7uAhSlFUVo7AsLEipYog6+6aoAtbwfDn1IxYuq1p3bckg6JHXVO0Et dOPl2a1HZwW/bo/AzpJVHP5cf498ZC1GpuBP55SzkMFIlgbTItmaRD0bYUG0gj3qZQ nl2MIqiSV6nzNnKq4IazDOUhRveZR3uc6dLVu2EE= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Cc: Laurent Pinchart 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 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Updating the debian 13 container causes linking to fail with gcc 13. The reason for this is that gcc 13 is not the native compiler, and the distribution-built packages use gcc 14. So when linking against gtest or qt6, they will refer to symbols that are not provided by the gcc 13 libraries. Fix that by disabling `qcam`, the only user of qt; and forcing meson to fall back to the wrap dependency for gtest. Signed-off-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- https://gitlab.freedesktop.org/pobrn/libcamera/-/jobs/81288161 changes in v2: * rebuild correct container v1: https://patchwork.libcamera.org/patch/23966/ --- gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.50.1 diff --git a/gitlab-ci.yml b/gitlab-ci.yml index 885c1b7..7c80f24 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -70,7 +70,7 @@ include: .libcamera-ci.debian:13: variables: FDO_DISTRIBUTION_VERSION: 'trixie' - FDO_DISTRIBUTION_TAG: '2025-02-27.1' + FDO_DISTRIBUTION_TAG: '2025-07-25.1' .container-debian: extends: @@ -224,6 +224,8 @@ build-full:debian:13: MESON_OPTIONS: >- ${MESON_ALL_OPTIONS} -D cpp_std=c++20 + -D force_fallback_for=['gtest'] + -D qcam=disabled - ARCH: amd64 CC: gcc-14 CXX: g++-14