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 yH+mOSDfQmeoQAAA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 08:09:05 +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 yH+mOSDfQmeoQAAA62LTzQ (envelope-from ) for ; Sun, 24 Nov 2024 09:09:05 +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=MB8pd7xu; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=frhJZb7s; 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=1732435744; 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=9l4KVSOnda24IMPFgajqnKj4x3vM9NTeG2XRYAyA4Hg=; b=FRChC/PFYKUCO4rzNLYOAlleEP3Cx0a2y6a2a6SVMU4Dg4tOVqtYXJF/GWmQVRBoIt4yP3 bN41vlg2FQ/F1e2ZWZuYHExRcihBkXZB+P9sVzgL73YdJE5a3NPkMk24T7X/clJGCgmHcH 3On8YjpcuUy6+W+hN90sRrFkMxipKl0+ZjDp6fKbmncoszaRvI107aVg1Ec6ctmDoBmIWo ybuL7YEstMGiLMBfa7Qrdz7xe8Cj3uG/+Gm34abineFaG8TyVSHpdP0ksQ5TCOUHp9eNlw u+g39frNfs3L+zP1OhERbw+Qi9q5Nbe60HVBlsDAzdc52Ou3Y8dgAHzD8ukTzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MB8pd7xu; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=frhJZb7s; 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=1732435744; a=rsa-sha256; cv=none; b=u2zwKri+/2FIUKcGbpyjdTu+gdEx5o43tCnKLsdxu18Fto4bILH0njy9cwplREYr8CA1HE SQl+c3cu8XKQ5sSXx7PzrB+ofCJbQ4D+zTKFkymbNnRMHO+EUtgoW6elPSLs8WJmGP1dAb DDLUhNkP5S7U08IzKcIsRBXdTi5uV35hFcXAa8bLJvZKcVDNR+AF/I7+T1mwotOQhkcCYx AYoXmoCqcu5XzxDrqN4xiihPNnXtSv1/WvZPCfZ+x1TLfNy3ZstwJ10BxhW7V8iqV39Ze9 NuPz3eCXR8hL5likAHb20f0mXVuHbw7MBbz9hvf60sMou2Pq+zFZTxIy+LAyXA== 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 9AE5D7B75B for ; Sun, 24 Nov 2024 09:09:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF7Ue-0000Le-Ll; 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-0000Hg-Jo 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 1tF7Ub-0002La-3W 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=9l4KVSOnda24IMPFgajqnKj4x3vM9NTeG2XRYAyA4Hg=; b=MB8pd7xuZgr72alVTj4E7cIoFxByFjavVq8T4Yk9M9MRF0Uij7Qim5xCvBfHm1NFQXz+5mpPj7gSJAijf0Dzq3TbRRobyKg7rEdikzsnNJt/I3v9V5fsow7WmZIEwgHNVmlk7pLZzoYVva0MC46bGYLlrW5SwUvzCpfWraohj+9N73sIVGSqIdwFQVWyz5Xn9oTeDEyZVeybaahjDM6JExHEsqFyYz8+E1yLvfX3lL1dTTdaLRRM6ovDIxcr3cI4K2UjJNdv+/u0oCaYQlrU4s7EmKH36ww7fKe5sQQs0SdpHHI9DS6+2/VecsTjsxgUrtPWBuRm2NoP3BdA+khMWw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF7Ua-0004jP-SF for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v4 15/58] gnu: flex: Fix [cross-]build with gcc-14. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 07:57:16 +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.173243502517951 (code B ref 74290); Sun, 24 Nov 2024 07:57:16 +0000 Received: (at 74290) by debbugs.gnu.org; 24 Nov 2024 07:57:05 +0000 Received: from localhost ([127.0.0.1]:60803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7UO-0004fL-Kt for submit@debbugs.gnu.org; Sun, 24 Nov 2024 02:57:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7TZ-0004WU-CT for 74290@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:13 -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 1tF7TU-00022I-69; Sun, 24 Nov 2024 02:56:08 -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=9l4KVSOnda24IMPFgajqnKj4x3vM9NTeG2XRYAyA4Hg=; b=frhJZb7s3+SJ991Bjki4 HRUjnvm3qskS+wVVGguLdDe37c8q0daUSoG5Bk+pCHM3uSRF8lQCIxMqMJ81gKzlzvVqu/b+jjcIG uy/Io+e70HE0FrGplr+jryIECY5FlgfY0AgqGp6P5Nn87jSvmyXTkAulzEVmYbi3iKVgOyYSQmfUx Phwn6SxajqrjeGK80weOQ2ZSenQJMPXK4kRzOXeui1xTmXeCOHgDPS276h6QjciiUEbvmAfY6vXTX a71QmOBUcghGTqyGD6DQXHxeJ+s313LDnx8UhZzjEc/bu5oEHxTxDEaXa4+bIbllG5zFRMgAgRY8A EvTWAAaRXqJvbg==; From: Janneke Nieuwenhuizen Date: Sun, 24 Nov 2024 08:54:38 +0100 Message-ID: <465ee53122e00749ced0cfa940b789bfa2af4fca.1732434271.git.janneke@gnu.org> 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: 9AE5D7B75B X-TUID: RLC9pgy95PvN * gnu/packages/flex.scm (flex): When building for the 64bit Hurd, or cross-compiling, add "-Wno-int-conversion "-Wno-implicit-function-declaration" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f --- gnu/packages/flex.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm index 7972675971..4ad1e1382a 100644 --- a/gnu/packages/flex.scm +++ b/gnu/packages/flex.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2019 Ludovic Courtès ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,6 +23,7 @@ (define-module (gnu packages flex) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages m4) @@ -53,6 +55,12 @@ (define-public flex ((#:tests? _ #f) #f))) (inputs (alist-delete "flex" (package-inputs bison)))))) `(("bison" ,bison-for-tests)))) + (arguments + (if (or (target-hurd64?) (%current-target-system)) + (list #:configure-flags + #~'(#$(string-append "CFLAGS=-Wno-int-conversion" + " -Wno-implicit-function-declaration"))) + '())) ;; m4 is not present in PATH when cross-building (native-inputs (list help2man m4)) -- 2.46.0