From patchwork Fri Jul 25 15:19:20 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: 23966 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 DEC48BDCC1 for ; Fri, 25 Jul 2025 15:19:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 15794690F8; Fri, 25 Jul 2025 17:19:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="uQ66T7F9"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4FFA1690A6 for ; Fri, 25 Jul 2025 17:19:24 +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 5BFF182A for ; Fri, 25 Jul 2025 17:18:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1753456724; bh=z+5T8V7J4b3Nq9xJvmdf9MEnLaCle/fA+FhDnDKZFoU=; h=From:To:Subject:Date:From; b=uQ66T7F9cf2fJctB6dEkGSAeTBdY+TYVv8P1gTVbGXH3Qk40uIBrp3C1Ak0x8eKnT Qfcz2QY3XPz9NmYUliplY0UyRRuFZ/t+73WkqzH3S1pkefyk8/8BBRBm49LWDZN1s1 MxzRcfJdZDDwwhkwV3xowA1EPO2dIiTSnprVw2ws= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH v1] Fix debian 13 build with gcc 13 Date: Fri, 25 Jul 2025 17:19:20 +0200 Message-ID: <20250725151920.2711803-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 --- https://gitlab.freedesktop.org/pobrn/libcamera/-/jobs/81285804 --- 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..c94ff54 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -65,7 +65,7 @@ include: .libcamera-ci.debian:12: variables: FDO_DISTRIBUTION_VERSION: 'bookworm' - FDO_DISTRIBUTION_TAG: '2025-02-27.1' + FDO_DISTRIBUTION_TAG: '2025-07-25.1' .libcamera-ci.debian:13: variables: @@ -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