From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0Ke1DtQ3PGd9xQAAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:01:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0Ke1DtQ3PGd9xQAAqHPOHw (envelope-from ) for ; Tue, 19 Nov 2024 08:01:40 +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=ds9DMe8v; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=L1YkvMmD; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731999700; a=rsa-sha256; cv=none; b=jIcWyiwJsoxobT1i4saYG0dRED1Nm/gnuzLu79N/xwfUvxJgcA5MpHgwojIhHMloPdAX+1 ZzH8wO+XF8CoDyjTOkGEGXS/CrrNII9CHRTz2v/1AU7gmUdjTuxHJljqmiviIgIObgK6Kf EtBby/5rumhjHoEr/ab/DKGV2TqH9RjeLyAki/n6vMAzckNvv2tohF5wnSQDKMc+xEakQR OHc9eK9BVIsZziR1BdhAF/ufOP6OOoTw8/q72vAftjGiCKfxTkxwzi9JSnCD3mXWmtNCxH TJnmhz+DVNub9w6pZtnMFpTNXZicZ7KUu3wKsBKEIUI8hBx6CPakpZkK0MIynA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ds9DMe8v; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=L1YkvMmD; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731999700; 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=Bwqe/nFpWJytvwG2tDynjoaq2M+wGJC3LNZ4SGsbPFIsI7zn1xd7F1frQwe7a4RoWjWcK9 ekls2fO+8GhcOSqMuJ3yHD0xONItKg38lQXCsJG/9VJOPdf/+63Abj6Seb5m6waRFHWUk+ T+4YLu6qDGBTnEreSWUtChMMeIIF/SkWDDaV6A/ALd9IfUdNMaUL0rFwUeV3LI2D6z3BUk IIXZnMPpgSLydWNd8PlPIo4Saws9lhOqP0i2S2ikYhEC8cFYzmqsiK32o+6Peh+YBBf3Ui OMnD7hbPKwgexREq+jIV1ooNfT2NJ3Rtl56BKKPN1eNQ5PoXfkMvaW9N6jvNMQ== 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 E5C65898B4 for ; Tue, 19 Nov 2024 08:01:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDICz-00007E-At; Tue, 19 Nov 2024 01:59:33 -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 1tDICn-0008Rc-0x for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:21 -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 1tDICm-0004LT-NV for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:20 -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=ds9DMe8v+vG/z4KADtwP4vbGaEgpRydLs4HuIUfRPv65V/wQw1P9jXWFM1UXLbfpVU5iDWGeCm9pNMVy4kP83tq8Z/5pQZQzpN61V9m90/mYiqI9gKv5VG3nZT+kvnEvuifXtvGHbaykkcb2dF3kr4fDqUByvMtlWiTmVYuhbDEvvdnWcyhKVNg1Z8+Gga9W2BIRT95iJNYaU6FXYPy4rTfsLN4PQeqJfZHDKq0KsRhRXJuQCAkSdIvYnafL844YpQC940pdyWde5qppB+tV7ci6yTFG2iyzfBUkWoRbPyqYEYCd/scH5jkRNOaQQvxSpl2HHGGgS79dJ0ZG7GumUw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDICm-0005JH-Ie for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:20 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 22/51] 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: Tue, 19 Nov 2024 06:59:20 +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.173199954620142 (code B ref 74290); Tue, 19 Nov 2024 06:59:20 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:59:06 +0000 Received: from localhost ([127.0.0.1]:40564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDICX-0005Ea-Np for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:59:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBv-00057f-JM for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:28 -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 1tDI9k-000403-0P; Tue, 19 Nov 2024 01:56:12 -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=L1YkvMmD9SMbNQp65lG9 vTCPWIVIxXYZudOjPvJncOwPjcNyOjYq12yB0jImyCF8DKkpf2hjlHlp/XMlHJ0Hgt6NxylRHbmYL TawAl1sMeglxpUlLA3swfANawotuo/zyUXTYHGzI2bJGsRkhCtw4tqCcTrgsLj0doz6Ra7hie7jZq zv3ic1fRQ+QfhC746y5Bj10qJtEX0F+sGZWY0fTQDl/qspq1QmeVeRWggQuwYJ9on5TKiEJbSCaAP Nt/Tf5dnRS1UdmkqkEcxLrQMw4ValZiaHZ69c5rkw1GwkE8RdHFuSmeHmtMD5kk9z0pMgkgcil/tz Xg1I7q4WlewV4Q==; From: Janneke Nieuwenhuizen Date: Tue, 19 Nov 2024 07:54:52 +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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.52 X-Spam-Score: -0.52 X-Migadu-Queue-Id: E5C65898B4 X-Migadu-Scanner: mx12.migadu.com X-TUID: zxlVJ4ZpGapk * 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