From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 4Bx/FYE3PGcHxgAAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:00:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4Bx/FYE3PGcHxgAAqHPOHw (envelope-from ) for ; Tue, 19 Nov 2024 08:00:17 +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=BZwQY1ro; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=g2glSsGI; 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=1731999617; 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=qon9H9rom5wBBCjj9O4dTwyPfX/c4AcergnYA8hYT/bARPdRubommdRk2KGEDk0e3TzIEu ivjWaFK7c0OXiF5hjjjvSYZEWSSFA30oYQu28sOjD4fHyIzEkNe+zHxWBDw0UrP939enXG r2leLkH2r8xRObMBD0HTx2mqfQweOYKtT7IeXYPgjSlP/SjSu+z8eD5s9s0A0yFJBOxVo1 q5T9noDCBEZojFiKyV7tSOVAExs8Qee6JNtTV8Ps8mfQEJ3AWltMX16YQtQ8dI57HNL4WG fPvz/s7wXXXhxyH5dDXXZrlQACwf86A9YRboHNyE4lGXiuglNG3Ll+oMqw4koA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=BZwQY1ro; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=g2glSsGI; 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=1731999617; a=rsa-sha256; cv=none; b=OqTb8UmzroLPvIsyQuKiCYfCkJiAwije3a0h8DVTp/orhRSXaOtpHnSWHsTZUj/5reVvJB JBRseVoyJCwdsccu7EtLIzjBHfGy3AFPjoNwxYRuleVlJNK5ahDaQkjLnkhkMiE8Xy10Cd 1HKhf39FHJu5g30G6MrN1yl6lY00EY3+IUVqlUwXQfy8W+GlRVUFkOCky20Ve8iiEuPZKq pLi6E6I3Fj4OYP7lSZ46zVIvNaTdVzC2SxOdAVfubx/ALUNUZql9i8IWY0Nt6LfoBBccnc nLGu4EmHr3AU7Kfns5zVwP4e0mvNfF75VLvoJ531rQ7pNReQazHctaJ9Y/Xn3Q== 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 0CC2743901 for ; Tue, 19 Nov 2024 08:00:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDICh-0008NK-Vj; Tue, 19 Nov 2024 01:59:15 -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 1tDICg-0008Mc-Aa for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:14 -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 1tDICf-0004Jp-US for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:14 -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=BZwQY1roXBwmV3lboA93QvxJmbdN1x1F6171F3wddHWV1lL4Y8sUVe3/Km0RR2i+iU2vVYMaenk4xJuBhXNAzndZGucifomo6AM51vZDRfRTfcokB27yBiru6rGk9NRLOcAQnoe+nBZw4pr9mwq67jZMum8Ic3RClconV1UuJls/zh7r8aDywQ2PymVUhs1CTklSeFoc42qywWttravn0zmp3O0N2aW3H3Qs9n/3dslQGGBhtTgd+cxLXIythoo3e+aEsOyf5X3AGXOWdHaXg4TxmyLCNsxQC9+4E8v4KS5yDwtJCMsy6uOl9kBVZYunkAKD7PRRd17NgF/M1M5nng==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDICf-0005HN-Ng for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 15/51] gnu: flex: Fix [cross-]build with gcc-14. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 06:59: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.173199950719787 (code B ref 74290); Tue, 19 Nov 2024 06:59:13 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:58:27 +0000 Received: from localhost ([127.0.0.1]:40473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBv-00058y-2y for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBn-00056k-D6 for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:19 -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 1tDI9c-0003yM-Ls; Tue, 19 Nov 2024 01:56:04 -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=g2glSsGIrUZITQ5jbgBU prrTgWfZvToA8NYXY1qIyyhwBuHGE+MyCiq0aSykZ2NBoGSdhZGQgcmSPizbDgdKUdiPDsb9y90cr fBwR5Svs40mxk83277x4RbLHNe0faihvTJ413sznd+ucMvpIf+9Iz4s5HMuOCRX/eUCpUlgtsHK09 OzkHNOI5G0n69rCBJRP8TSYr5AUzQJBry+S6uticGW/sBOFA3wrT47uYsG2zOCIF/YoLvisyn0U1R UfjrR7MBcQ2dl5oTvhomYBnqTkhaPRlZr+TbLXdeBD9w3zeUQrLkNIQuD/BFw/yl4X+7dXgWSxN/8 Z+2BI4JoXROkBw==; From: Janneke Nieuwenhuizen Date: Tue, 19 Nov 2024 07:54:45 +0100 Message-ID: <90804ab4f172718c941e2c7897ae87abc1ebb56e.1731999203.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.72 X-Spam-Score: -3.72 X-Migadu-Queue-Id: 0CC2743901 X-TUID: CDRTSNkFKnYy * 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