From patchwork Tue Nov 12 16:25:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70320 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7401D27BBEA; Tue, 12 Nov 2024 16:32:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4190A27BBE2 for ; Tue, 12 Nov 2024 16:32:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtnH-0004k4-0e; Tue, 12 Nov 2024 11:31:07 -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 1tAtnD-0004gz-9O for guix-patches@gnu.org; Tue, 12 Nov 2024 11:31:03 -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 1tAtnD-00064U-0j for guix-patches@gnu.org; Tue, 12 Nov 2024 11:31:03 -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=+/wthXtnifImPs2Hk4cJ3xdXIeo7+KWlULakWyvu3ts=; b=Zz+HpmHV2oKhJ2q97+BVApE8ydTbq0dsDXXCBC1QCh5zAdu3/e9y59iU0fsPSqBPhWf4U9M1kaBRxkl3TP8xMhNk+NrUj08FrYFV8XBWPo+x0PKCHeSvdjSDDs6YcvvXBEI8k39o0YaEApHulaGKvUohJQF4xPNGuMlwW3h2edqFuomrkoGjZVMHml+yUm4SH71gKxSf3jJ1B8GEH/LM5PnHyeYuCYnzja19hhaFwopQb0vUQnR0KCSWMCB3kdLdy8+kjvtIzwsJvoU8XRVJyFOxZlaqLLJ0ls5daspauixbVx0Jmq4NWxl0nGn6WrLjj6aXZLSVHCVfQFR6+mz8pw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAtnC-0000dG-RX for guix-patches@gnu.org; Tue, 12 Nov 2024 11:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v2 38/40] gnu: flex: Fix build for the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2024 16:31:02 +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.17314290262259 (code B ref 74290); Tue, 12 Nov 2024 16:31:02 +0000 Received: (at 74290) by debbugs.gnu.org; 12 Nov 2024 16:30:26 +0000 Received: from localhost ([127.0.0.1]:39256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtmb-0000aG-Vb for submit@debbugs.gnu.org; Tue, 12 Nov 2024 11:30:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtm0-0000MY-1Y for 74290@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:48 -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 1tAtjp-0005Su-5T; Tue, 12 Nov 2024 11:27:33 -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=+/wthXtnifImPs2Hk4cJ3xdXIeo7+KWlULakWyvu3ts=; b=YyAsaS5BytysovKDCP7t PgDquLXi6bW/bajLhAj/tIxunim9nNbK/Mq86UfOE3QZe52qaCzgTsluD+GPWUa6NMCu6vlERupar CZfD7lfDIVwTM1j0p0yaAEtWCmnTc1AIvqVd5MmpgukCJvNsdOY0Q7Mn77dnRyPCi46fqrGk4xebd 3KaNBvN3whhYDlGwfiO9K6WE+G1ZscKMLOcccbKab2KF8RyMtLvCv/aEipMX0ZPcGzBKveYUUVN+9 nIt7PmyOfVQE+8FRFD8IAVeH7uSIF96hh0rOpF6HrMn+KILcBc/rhIft2AXP89QSKBugveFd52bpU jLkPd5R/tVJZ/w==; From: Janneke Nieuwenhuizen Date: Tue, 12 Nov 2024 17:25:47 +0100 Message-ID: <4c0589e8f0a3a305ac75921c57f6d89301a43adb.1731427612.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/flex.scm (flex): When building for the 64bit Hurd, 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..cf2dfe9ec9 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 (target-hurd64?) + (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))