From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QJZkLldnT2eABgEAqHPOHw:P1 (envelope-from ) for ; Tue, 03 Dec 2024 20:17:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QJZkLldnT2eABgEAqHPOHw (envelope-from ) for ; Tue, 03 Dec 2024 21:17:27 +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=r2c3bFMu; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=lJIxZNX4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none); 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=1733257047; a=rsa-sha256; cv=none; b=XM7m9fB06reJp+PsAEyB2OiIrvDNG6+bKwi452RJQNVGgdtyMGFFnqVTVj8zOw4+iQecAU 3O7AeBFPZmYnB1HScwGVXEF4ndOXunhelIhyOlzNW9e1FimRyBMSug4V1dGPCDHqFEh7Zj 6ttOymXj5xHX0t8Mj7yCIS9iyro2MtIiYxhaj72Z0XA+D1z1Kux3dZTe8Q/tEjD5PQN3nh TqYP2u7jvUYgbIWXyRnNjR6aofDpG0etsg49yVPNfJz8z+cN4wS8pfFIgqrHcO/2Vo3yey NfRZJ899qewZknVsfSN7W4XnqJ6evj6KG1kH+RKzgazxFF1htWVbsWSiBVrsJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=r2c3bFMu; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=lJIxZNX4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none); 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=1733257047; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=j3/ORAX7dyitCcJtXHZ+6R1KRA2fR00d3qvLbJJr18M=; b=PXHkoTfL6Ex3tajXgF0GHuC67L3AWzgQyE3YpyFpZjoVwAbFk/q22FD3es1vfUXJNI96GP peGPZHTA3fa7AfTIUFQQ6eiv7QiKQzbOWaLmZWZ0NrywxllvswaX4685IfvTNOW/ma8lDw 4j2rpTK3hVTfQHsumeoLcDxbu2yEvNS8jiCMbAaGjbv7uRm5N3F+qERr8nn4QZqEkDevfJ NJsElWoFhl0PH4xa6ry3ufxyqk7kaiufZINhV22m2ALwjeWzN0B7iP/GFJNolUasf9IDGU K2B+67aCfpkDHT/iXZvtAo1WgrLtCgfjRhjj6RBXnnLzZ4VhFv5i64j1oVH+NA== 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 F1F288E4DE for ; Tue, 03 Dec 2024 21:17:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIZKT-0003Cm-T6; Tue, 03 Dec 2024 15:17:06 -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 1tIZKR-0003Cb-PJ for guix-patches@gnu.org; Tue, 03 Dec 2024 15:17: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 1tIZKR-00058D-9S for guix-patches@gnu.org; Tue, 03 Dec 2024 15:17: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:Date:From:To:Subject; bh=j3/ORAX7dyitCcJtXHZ+6R1KRA2fR00d3qvLbJJr18M=; b=r2c3bFMuBA7uHm/R6uyB1mJ04VjUsaeWpF27ZcgxeVLkEdjIxSlpbsSeTHsxMY04Sqb5SbHxU1fE/slf4THunXTe0rXGzuM6umwPaHFsoPzTBjzEpFr4dz/23D9Q6TvPkzL0mHm2V4XDIstuj2D6AXcm+JiVAU6bFK1X0dKwC5/SbD5KisEu9hUs5S6OQVsQt8glBiKmujyehiPq6XneB0oLrD4Nc5wz5j1gVu+98jE7e7BZP5m8KqSFlRGz6kgK8X6sVWrG1Gga9XFd3NlDyGvXKrFxMenj/yC2YsSk0Suo9hHw4z7sWr/beyT25UmFtzUX6oMmkQNEQDcOcPzfEA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIZKQ-0001Xf-3G for guix-patches@gnu.org; Tue, 03 Dec 2024 15:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74675] [PATCH 0/1] Possibly build hypre without doxygen and LaTeX doc Resent-From: Luca Cirrottola Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 20:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74675@debbugs.gnu.org Cc: Luca Cirrottola X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17332570055892 (code B ref -1); Tue, 03 Dec 2024 20:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 20:16:45 +0000 Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIZK8-0001Wy-RS for submit@debbugs.gnu.org; Tue, 03 Dec 2024 15:16:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:42266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIZK6-0001Wo-Ma for submit@debbugs.gnu.org; Tue, 03 Dec 2024 15:16:43 -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 1tIZK5-000372-RC for guix-patches@gnu.org; Tue, 03 Dec 2024 15:16:42 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIZK3-000505-J8 for guix-patches@gnu.org; Tue, 03 Dec 2024 15:16:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=j3/ORAX7dyitCcJtXHZ+6R1KRA2fR00d3qvLbJJr18M=; b=lJIxZNX4EPB71IsqZb0xWz3EZocgNaO2LXETXvboaLU4rrWhLWIG2EXl jAdKnc0A6rPheBtPc7vlNn1N2va3Ao22vc0KX+/294dT4ZcD5YMNSl5S/ WbmItOXQtjxd+uPZLezxCgTCV8sVSV0pIZjlaouyv3M4jzGhWmcR6KMQW g=; X-IronPort-AV: E=Sophos;i="6.12,206,1728943200"; d="scan'208";a="103339774" Received: from 167.152.65.81.rev.sfr.net (HELO canard..) ([81.65.152.167]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2024 21:16:35 +0100 From: Luca Cirrottola Date: Tue, 3 Dec 2024 21:16:18 +0100 Message-Id: <20241203201618.5533-1-luca.cirrottola@inria.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.104; envelope-from=luca.cirrottola@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam-Score: 1.80 X-Spam-Score: 1.80 X-Migadu-Queue-Id: F1F288E4DE X-Migadu-Scanner: mx10.migadu.com X-TUID: awf7mbB3IPoz Hello, The hypre package builds its "doc" output by default, bringing texlive into the dependency graph of packages using hypre, and possibly breaking their compilation due to errors in building the hypre documentation (see bug 74672). I would like to also have the possibility to build hypre without doxygen and latex documentation. This patch is an attempt to solve my problem by splitting the package into two variants, one without documentation ("hypre-sans-doc") and one with ("hypre"). Also, a "hypre-openmpi-sans-doc" is added besides "hypre-openmpi". Thus, two new packages are introduced ("hypre-sans-doc" and "hypre-openmpi-sans-doc") without modifying the expected behaviour of the original "hypre" and "hypre-openmpi" packages. I would have loved to simply generate the "hypre-openmpi-sans-doc" package by modifying the "inherit" field of "hypre-openmpi", but I have not been able to do it with package transformation options. I would be grateful for any suggestion to reduce code redundancy in my patch, as well as for any better solution that could achieve the same objective (the possibility to build hypre without doc). Luca Cirrottola (1): Add a hypre-sans-doc package, make hypre inherit from it, and add a variant hypre-openmpi-sans-doc. gnu/packages/maths.scm | 131 ++++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 46 deletions(-) -- 2.34.1