From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YGNVABbfQmeIPwAA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 08:08:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YGNVABbfQmeIPwAA62LTzQ (envelope-from ) for ; Sun, 24 Nov 2024 09:08:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EUkjdRjY; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NZfELuWk; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732435733; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Tzx7sfpF6zPexd9qQ5YlxNXlGGlqiXkutTcT8A/yEyU=; b=dpPZRIl83yExj8Ntg+x7eYUq3TCDe4v9cne2s2OK+lY2Dv6yZeGqCI9nXzh3bKJev/xAOQ 4moEPzf6ScBZ6VKWKRJU11kwCegsIilI4qzB5b4m0p4caPPK606JHgWNkcALDJPHGVci3Z T9KQ7T0T7RaVkojH8WrcSaQw4WXox3P2tpdMiK1xNi8ZMuNvqOEKFJ4kRE7I+ZyyijV0p5 2WaK4+yoV2mXLK3H3VvwHBuJGWJ5wFYLGvtKruTwnZnNZxKlpu77KGDtXsxYaW6mwcItU+ RUXcWpqGTXAB5etnUGXdd0A8WWUdt0ljimnYdc56MleboctUL/BW1qYWp+FMBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EUkjdRjY; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NZfELuWk; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732435733; a=rsa-sha256; cv=none; b=tU/s2WDhrXd4K3Bytz3fvQKxSyMytKqg6tISpiTNMV8cxr3nUn1za5WMIyWU4ghkHe4ORj 7sNFiI5SSBajnj1uvmxzPK6Ja9jjYUVk7t6sdIk4VSkyqqePEfzoW/w65qQEE3BRaMqypK dYQXzs3rcrRu+lr2wvoMLvHE9LA3q4hzNAkjTla7WOXJmB7tqPMxMyAMZKAOFrXKNq2jRE SJinHXaFJVR0uEdt/fOjwiDWqjRPBrwd7AzDy+BhMFm2lh2K9yiAr1PjVLGAAwLoBbaW+G MeFb2uvFAG/C32jMUfqIKScvilbbjFO4/0+32kum2y+LDTyGM8o6fpTBgZP3ZA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8FD3B7B8A3 for ; Sun, 24 Nov 2024 09:08:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF7Ue-0000LB-Da; Sun, 24 Nov 2024 02:57:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF7Uc-0000Hn-Ks for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:18 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tF7UX-0002LT-AU for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Tzx7sfpF6zPexd9qQ5YlxNXlGGlqiXkutTcT8A/yEyU=; b=EUkjdRjYzk/3O5yJpgH95NPVI0Ms5+Ldj88Q1U8yleB9HpHfYzckOZMIzZPjHEtPX4lLquDprtOJf1Wrv6qmRb3UVm8tpd5+WLOZH+3mvaTr/IPYFinllTQWmtnQbNN0kU+c+P8sqgqj8f2nQVk/GkNjUB7lI/capu6LZXwbLYWLbmNwMt6C2tucKf8J406JWpEryAuUdXAplXB2VgPJssXewWHKaoIHSqGhHf5Src6mJGlY0An3qgXbL5HXxZgX0SQptWZZ7atWSFPzhrOqxFEeokngLxRBTrUf+f+bfD6SDwW5ND3qar51nVOWjCxu/2FEfYMwBZv4VmEtII6pSg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF7UX-0004i3-4E for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v4 22/58] gnu: libssh: Fix [cross-]build with gcc-14 for 32bit. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 07:57:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173243500717774 (code B ref 74290); Sun, 24 Nov 2024 07:57:13 +0000 Received: (at 74290) by debbugs.gnu.org; 24 Nov 2024 07:56:47 +0000 Received: from localhost ([127.0.0.1]:60761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7U7-0004cV-56 for submit@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7Tg-0004Y4-6A for 74290@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tF7Ta-000279-SH; Sun, 24 Nov 2024 02:56:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=Tzx7sfpF6zPexd9qQ5YlxNXlGGlqiXkutTcT8A/yEyU=; b=NZfELuWkamhIxOk3wu98 vdOvdSdPDX1u5+pLBOE805s6NBAy9vN752UReEgP3KOq27w3+ffgamOhdh/e29AIXRavqu4W/DpU4 DJYc8I5Dq8oNg4SiYeIjIflV0N8PFiXGIHiE8UkCCWliznxO4IEH8DAfWHZNG6lR9ijbwD85031O3 SxyCGmWkJ+/gdsqjNjRRqOcll79gdLHs7zz4WTnyh6GNp4Ikj2YS/IPLmJbUFxvskvYl5+gT6P6e6 05XI3u8QIoPOkERi69PV7iLnOJ901D2M2//PeUy0u6AKVfKwHl7khfjWne+tjvmQ9Xzy/JaWLothP chw1qxCACpRSUg==; From: Janneke Nieuwenhuizen Date: Sun, 24 Nov 2024 08:54:45 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.53 X-Spam-Score: -3.53 X-Migadu-Queue-Id: 8FD3B7B8A3 X-TUID: nHyeNxKW+Kn8 * gnu/packages/ssh.scm (libssh)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 --- gnu/packages/ssh.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index a29a10e954..1f33259246 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2018 Manuel Graf ;;; Copyright © 2019 Gábor Boskovits ;;; Copyright © 2019, 2020 Mathieu Othacehe -;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen +;;; Copyright © 2020, 2023, 2024 Janneke Nieuwenhuizen ;;; Copyright © 2020 Oleg Pykhalov ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer ;;; Copyright © 2021 Brice Waegeneire @@ -156,7 +156,12 @@ (define-public libssh (build-system cmake-build-system) (outputs '("out" "debug")) (arguments - '(#:configure-flags '("-DWITH_GCRYPT=ON") + `(#:configure-flags '("-DWITH_GCRYPT=ON" + ,@(if (and (%current-target-system) (target-x86-32?)) + (list (string-append + "-DCMAKE_C_FLAGS=-g -O2" + " -Wno-incompatible-pointer-types")) + '())) ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite. #:tests? #f)) -- 2.46.0