From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 CKK1LFPlQmfeAQAAe85BDQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 08:35:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CKK1LFPlQmfeAQAAe85BDQ (envelope-from ) for ; Sun, 24 Nov 2024 09:35:31 +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=Cjh+sJ1U; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JeE0k6wD; 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=1732437331; a=rsa-sha256; cv=none; b=tEsARx5gp13YwWr9IzhQcS9Rr19XIXVJQlTAPrlWp/atAUIPDdOu3KnosC7FQ0pECfU7AY u4ieQw9Wl+6UHLrZ5TTQROTxPiVo1rI02lMfVagCDu6iFC+2pZcY1eHZ9eU7AX7+45wg9W yTwXdemRMAi1juV+NbWWzUK1R++a8CBrK3lxrZlTh67wH+GfZhborrp/aBZGQUVScNGT/b OChI67+WxcDSsA3bwO/juViUZSb3NdR3A8SFavsh2OQhiSRKOM0COj29+xXxASyxGYOvWN vZvJFI+8yfCRCimd6SrM3pFTnVJdD0SeNbMXHkdpPC/W6lZaqNLm+zh9JpjM8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Cjh+sJ1U; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JeE0k6wD; 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=1732437331; 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=4B7O21e4Ya9ExhiXsAGVMXRIEvNrT7qik/64Z91abLc=; b=YNqJVFfQq7YTxeu98HktMk1ai/X+3symvSUJy8fZhzZON1U0z4f2oDQJl+XvrPmm0BUbGq kIfdKS6mlyyXwPR8HNC9f+UhhE+0zA60OgoOMJ+o5M2sbmHChcqFW/liFLFDS500qz0qgk SSuNU/dyOn7ui+HKULZCoISIlSC1oScK6xyy10zDDZHJd/ozJfko+GtV3WKjgDANVVxYjM H9/dUBdPz5di6V4sa8LfrxtrI8kJZWPMDfgm8h7usWsbX+wbQfJqPufeAqyURN391Lsn5d gT+O4xVdIf51h/wxaCtc8YDVpRSIOOkuTFY0KOWtcigqsKH9CzqhJnsk2l1Z2A== 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 49E644D69 for ; Sun, 24 Nov 2024 09:35:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF7Uc-0000IQ-Sh; Sun, 24 Nov 2024 02:57:19 -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 1tF7UU-0000Ea-Ip for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:10 -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 1tF7UU-0002LD-AP for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:10 -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=4B7O21e4Ya9ExhiXsAGVMXRIEvNrT7qik/64Z91abLc=; b=Cjh+sJ1UlTwYc7vg02lWvvTnZqvSy4xOkXE3kHo8tycwWcegU2zdIrbf75N6MZ0pW4L1f2XV3UStFjKrOJ/dZUx0cfMFqIELviHSMNMVx3i/Bhl7+g11uD+JDFoeBk6YnKJLgylsmJ4MdWmK0XjPhKUiZ5uzimahcW7FYMZKSr4XA4oMtS+6/c4G4DPYOVUPRkdCO8/TPyV6GMWmFP8V7TMYbVUWBvNck9edN1fZoABk8eWG7tjNAVwEccN1xjZJrBMBPsqjaERw67fNDmb+BSLWUr9DrOv60D33ujnDtWQj+XOHH/KahxydWkdQADIWdJfB8qxXIFxv5NfHr3gIKg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF7UU-0004h5-4l for guix-patches@gnu.org; Sun, 24 Nov 2024 02:57:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v4 18/58] gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 07:57:10 +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.173243500517737 (code B ref 74290); Sun, 24 Nov 2024 07:57:10 +0000 Received: (at 74290) by debbugs.gnu.org; 24 Nov 2024 07:56:45 +0000 Received: from localhost ([127.0.0.1]:60751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7U5-0004bq-0n for submit@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF7Tc-0004X0-0p for 74290@debbugs.gnu.org; Sun, 24 Nov 2024 02:56:16 -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 1tF7TW-00023G-QM; Sun, 24 Nov 2024 02:56:10 -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=4B7O21e4Ya9ExhiXsAGVMXRIEvNrT7qik/64Z91abLc=; b=JeE0k6wDad6BajQKTvpa RqOV2Rc2rtx/AxtgBq59PN9R/nkaaro5kDzH3RUemzkgxrLOBJkUiRB9uGYFDaEAoVpNPPfzwl267 vwad6AnjZToxXdN7gy0dQd/i3At1iYSOYz3VycAjmw6V9NlpjcG4zOgihbvPQcxmp/dPS0zknjlI/ JDQu8GArfEQjYGpNWNuipv3MJN38POjqJzv4oWWe4d6r72ieSiEctb+MWuf1vjnZIzP0aQWqz0SOU zTXbLGK1bh71LGY6RuGHGv5+HMFnWCet7Wu4wJlv87GYlWCe5JW/mUk8hx3aM++8NqwSYvK9RThwX 61OV98/5tJWLrg==; From: Janneke Nieuwenhuizen Date: Sun, 24 Nov 2024 08:54:41 +0100 Message-ID: <0df7f97acfd57a4c72d50058213c2af0a05ea8f8.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.53 X-Spam-Score: -2.53 X-Migadu-Queue-Id: 49E644D69 X-Migadu-Scanner: mx12.migadu.com X-TUID: +jq211iJRzpI * gnu/packages/texinfo.scm (texinfo-4): When building for the 64bit Hurd, or cross-compiling, add "-Wno-incompatible-pointer-types" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f --- gnu/packages/texinfo.scm | 50 ++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm index 98429cb059..13c780897e 100644 --- a/gnu/packages/texinfo.scm +++ b/gnu/packages/texinfo.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2019 Pierre-Moana Levesque ;;; Copyright © 2019, 2020 Mathieu Othacehe ;;; Copyright © 2020 Nicolas Goaziou -;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen +;;; Copyright © 2020, 2023, 2024 Janneke Nieuwenhuizen ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 ( ;;; @@ -169,31 +169,35 @@ (define-public texinfo-4 (modify-inputs (package-native-inputs texinfo) (prepend automake))) (arguments - (substitute-keyword-arguments (package-arguments texinfo) - ((#:phases phases) - `(modify-phases ,phases - (add-after 'unpack 'fix-configure - (lambda* (#:key inputs native-inputs #:allow-other-keys) - ;; Replace outdated config.sub and config.guess. - (with-directory-excursion "build-aux" - (for-each - (lambda (file) - (install-file (string-append - (assoc-ref - (or native-inputs inputs) "automake") - "/share/automake-" - ,(version-major+minor - (package-version automake)) - "/" file) ".")) - '("config.sub" "config.guess"))) - #t)) - ;; Build native version of tools before running 'build phase. - ,@(if (%current-target-system) - `((add-before 'build 'make-native-gnu-lib + (append + (substitute-keyword-arguments (package-arguments texinfo) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'fix-configure + (lambda* (#:key inputs native-inputs #:allow-other-keys) + ;; Replace outdated config.sub and config.guess. + (with-directory-excursion "build-aux" + (for-each + (lambda (file) + (install-file (string-append + (assoc-ref + (or native-inputs inputs) "automake") + "/share/automake-" + ,(version-major+minor + (package-version automake)) + "/" file) ".")) + '("config.sub" "config.guess"))) + #t)) + ;; Build native version of tools before running 'build phase. + ,@(if (%current-target-system) + `((add-before 'build 'make-native-gnu-lib (lambda* (#:key inputs #:allow-other-keys) (invoke "make" "-C" "tools/gnulib/lib") #t))) - '()))))))) + '())))) + (if (or (target-hurd64?) (%current-target-system)) + (list #:configure-flags ''("CFLAGS=-Wno-incompatible-pointer-types")) + '()))))) (define-public info-reader ;; The idea of this package is to have the standalone Info reader without -- 2.46.0