Received: (at 77537) by debbugs.gnu.org; 7 Apr 2025 10:43:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 06:43:43 2025 Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1jx8-0000sh-TT for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 06:43:43 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:51278) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1u1jx6-0000s4-LK for 77537 <at> debbugs.gnu.org; Mon, 07 Apr 2025 06:43:41 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 728702FC; Mon, 7 Apr 2025 12:43:34 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id T6YMOP63bmlq; Mon, 7 Apr 2025 12:43:33 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8E97313D; Mon, 7 Apr 2025 12:43:32 +0200 (CEST) Date: Mon, 7 Apr 2025 12:43:28 +0200 From: Andreas Enge <andreas@HIDDEN> To: Luca Cirrottola <luca.cirrottola@HIDDEN> Subject: Re: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs Message-ID: <Z_OsUFh6U0yNG0qJ@jurong> References: <20250404162854.108896-1-luca.cirrottola@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250404162854.108896-1-luca.cirrottola@HIDDEN> X-Rspamd-Server: hera X-Spamd-Bar: +++++ X-Rspamd-Queue-Id: 728702FC X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[]; BAYES_HAM(-3.00)[100.00%]; NEURAL_SPAM(3.00)[1.000]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Spam-Level: ***** X-Rspamd-Action: greylist X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77537 Cc: 77537 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Luca, Am Fri, Apr 04, 2025 at 06:28:54PM +0200 schrieb Luca Cirrottola: > Similarly, since "hdf5-parallel-openmpi" includes mpi.h in the hdf5.h > header file, then "openmpi" should be a propagated input of > "hdf5-parallel-openmpi". normally this would be a reason, but here I am not totally sure. Should it not be possible to replace openmpi by mpich, say? So the users would be required to add any MPI library, not necessarily openmpi, to their profile. Or is this just theory and not practice? (If I were right, then the package might as well be renamed to "hdf5-mpi".) I am asking because propagation should be avoided as much as possible, since it may lead to conflicts in profiles. If we decide to propagate, we would need a longer commit message in the GNU/Guix style, something like: gnu: hdf5-parallel-openmpi: Propagate openmpi. * gnu/packages/maths.scm (hdf5-parallel-openmpi)[inputs]: Move hdf5 from here... [propagated-inputs]: ...to here. > since "netcdf-cxx4" is a C++ interface to the C library "netcdf", I think the > latter should be a propagated input. There would be no problem with the library ("ldd libnetcdf-cxx4.so" shows that the absolute path to the libnetcdf library is there), but the include file requires netcdf.h. So here I agree; the reason should be given in a comment in the packages. I have adapted the commit message and pushed this second patch. Thanks, Andreas
guix-patches@HIDDEN
:bug#77537
; Package guix-patches
.
Full text available.Received: (at 77537) by debbugs.gnu.org; 4 Apr 2025 16:39:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 12:39:56 2025 Received: from localhost ([127.0.0.1]:39767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0k5E-0004PV-9b for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:39:56 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:24411) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <luca.cirrottola@HIDDEN>) id 1u0k56-0004Om-LQ for 77537 <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:39:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LEgwu8v59rceaA6IqGCUpoGRA37OA9T0HNb8gPQrHqM=; b=U8tsgV9kEU/3RIhbPhC4NlzuDyFeodLBG2SmoqNV1NHP9q7y1mxOV4vh 4Vmgrhr7K8Xfz9sj7i/+dI2HrlsKZPHNqv8DvDkVmgFtRUuDpfG7tVXEK K59eRsObQmOdEIysUfFBLoeyLL+QEmFPYSTKW0It0puk32sB+2H8nH5ib k=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=luca.cirrottola@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.15,188,1739833200"; d="scan'208";a="216449341" Received: from unknown (HELO canard.bordeaux.inria.fr) ([193.50.110.220]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2025 18:39:44 +0200 From: Luca Cirrottola <luca.cirrottola@HIDDEN> To: 77537 <at> debbugs.gnu.org Subject: [PATCH 2/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs. Date: Fri, 4 Apr 2025 18:39:26 +0200 Message-Id: <20250404163926.109643-2-luca.cirrottola@HIDDEN> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250404163926.109643-1-luca.cirrottola@HIDDEN> References: <20250404163926.109643-1-luca.cirrottola@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77537 Cc: Luca Cirrottola <luca.cirrottola@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --- gnu/packages/maths.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 0e50e7a460..ad49899d74 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2432,7 +2432,8 @@ (define-public netcdf-cxx4 (search-input-file %build-inputs "/lib/libhdf5.so"))))) - (inputs (list netcdf hdf5)) + (inputs (list hdf5)) + (propagated-inputs (list netcdf)) (home-page "https://github.com/Unidata/netcdf-cxx4") (synopsis "NetCDF C++ interface") (description @@ -2447,7 +2448,8 @@ (define-public netcdf-cxx4-parallel-openmpi (synopsis "NetCDF C++ interface (with MPI support)") (inputs (modify-inputs (package-inputs netcdf-cxx4) (prepend openmpi) - (replace "hdf5" hdf5-parallel-openmpi) + (replace "hdf5" hdf5-parallel-openmpi))) + (propagated-inputs (modify-inputs (package-propagated-inputs netcdf-cxx4) (replace "netcdf" netcdf-parallel-openmpi))))) (define-public n2p2 -- 2.34.1
guix-patches@HIDDEN
:bug#77537
; Package guix-patches
.
Full text available.Received: (at 77537) by debbugs.gnu.org; 4 Apr 2025 16:39:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 12:39:51 2025 Received: from localhost ([127.0.0.1]:39765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0k58-0004PA-V0 for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:39:51 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:24411) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <luca.cirrottola@HIDDEN>) id 1u0k55-0004Om-AZ for 77537 <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:39:48 -0400 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=QYkEqwZUDZZSaQ8ALGTCL4du7X4lPSXWGVyI8qZSa0Y=; b=rAlrWxiIx3IMzz3q9q84Ao2Prgrs9CqPcSq8eyIzqGJRtDvGBXaIxxzT 2UUsspTopYG068R+ohLjLDwHtTSy9LWkU2NBx7HeKuxk9NwoVfWfzLXR8 p/oPBsvwOyYh8d2+tnr1d05HmDbDImYKDq1xNwKkl3Xizde3DsxKpoJv4 k=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=luca.cirrottola@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.15,188,1739833200"; d="scan'208";a="216449332" Received: from unknown (HELO canard.bordeaux.inria.fr) ([193.50.110.220]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2025 18:39:41 +0200 From: Luca Cirrottola <luca.cirrottola@HIDDEN> To: 77537 <at> debbugs.gnu.org Subject: [PATCH 1/2] gnu: hdf5-parallel-openmpi: move openmpi to the propagated-inputs. Date: Fri, 4 Apr 2025 18:39:25 +0200 Message-Id: <20250404163926.109643-1-luca.cirrottola@HIDDEN> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77537 Cc: Luca Cirrottola <luca.cirrottola@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --- gnu/packages/maths.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6910b32dae..0e50e7a460 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2075,9 +2075,9 @@ (define-public hdf-eos5 (define-public hdf5-parallel-openmpi (package/inherit hdf5 (name "hdf5-parallel-openmpi") - (inputs + (propagated-inputs `(("mpi" ,openmpi) - ,@(package-inputs hdf5))) + ,@(package-propagated-inputs hdf5))) (arguments (substitute-keyword-arguments (package-arguments hdf5) ((#:configure-flags flags) -- 2.34.1
guix-patches@HIDDEN
:bug#77537
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 Apr 2025 16:30:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 12:30:10 2025 Received: from localhost ([127.0.0.1]:39742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0jvl-00014s-Po for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:30:10 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40402) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <luca.cirrottola@HIDDEN>) id 1u0jvi-0000rL-An for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:30:07 -0400 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 <luca.cirrottola@HIDDEN>) id 1u0jvc-00019r-UG for guix-patches@HIDDEN; Fri, 04 Apr 2025 12:30:00 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <luca.cirrottola@HIDDEN>) id 1u0jvV-0006pO-ON for guix-patches@HIDDEN; Fri, 04 Apr 2025 12:30:00 -0400 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=FdNpj7aroj1gTFXNg3l2B4eB2ZuWSZWSVjksFN7Hrfw=; b=IH6DIg2EeaDM0jchKlUA+EKGtt+qUzdJ/KS4efxZ3IJ+3vfCdYdliDXU JcD1AeLPzD9J5uCBbzB/KXP6qoY5Oni6U9f/berz44xEUbw5dIOOaVG84 ILS4vCxbA0fLMBJE7qmiCuCuYT/10dLGhAwOV4SPhNQInJGQok6WWbhYf Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=luca.cirrottola@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.15,188,1739833200"; d="scan'208";a="216448333" Received: from unknown (HELO canard.bordeaux.inria.fr) ([193.50.110.220]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2025 18:29:43 +0200 From: Luca Cirrottola <luca.cirrottola@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs Date: Fri, 4 Apr 2025 18:28:54 +0200 Message-Id: <20250404162854.108896-1-luca.cirrottola@HIDDEN> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.134.164.83; envelope-from=luca.cirrottola@HIDDEN; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: Luca Cirrottola <luca.cirrottola@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Guix, since "netcdf-cxx4" is a C++ interface to the C library "netcdf", I think the latter should be a propagated input. Similarly, since "hdf5-parallel-openmpi" includes mpi.h in the hdf5.h header file, then "openmpi" should be a propagated input of "hdf5-parallel-openmpi". Let me know what you think. Cheers, Luca Luca Cirrottola (2): gnu: hdf5-parallel-openmpi: move openmpi to the propagated-inputs. gnu: netcdf-cxx4: Move netcdf to the propagated-inputs. gnu/packages/maths.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) base-commit: 111aacf22fdc0314f41b737106ad70c1899a58e7 -- 2.34.1
Luca Cirrottola <luca.cirrottola@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#77537
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.