From unknown Sat Aug 16 15:54:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77537 <77537@debbugs.gnu.org> To: bug#77537 <77537@debbugs.gnu.org> Subject: Status: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs Reply-To: bug#77537 <77537@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:54:31 +0000 retitle 77537 [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-i= nputs reassign 77537 guix-patches submitter 77537 Luca Cirrottola severity 77537 normal tag 77537 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 04 12:30:10 2025 Received: (at submit) by debbugs.gnu.org; 4 Apr 2025 16:30:10 +0000 Received: from localhost ([127.0.0.1]:39742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0jvl-00014s-Po for submit@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 ) id 1u0jvi-0000rL-An for submit@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 ) id 1u0jvc-00019r-UG for guix-patches@gnu.org; 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 ) id 1u0jvV-0006pO-ON for guix-patches@gnu.org; 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@inria.fr; 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 To: guix-patches@gnu.org 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@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.83; envelope-from=luca.cirrottola@inria.fr; 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 04 12:39:51 2025 Received: (at 77537) by debbugs.gnu.org; 4 Apr 2025 16:39:51 +0000 Received: from localhost ([127.0.0.1]:39765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0k58-0004PA-V0 for submit@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 ) id 1u0k55-0004Om-AZ for 77537@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@inria.fr; 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 To: 77537@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@inria.fr> 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 04 12:39:56 2025 Received: (at 77537) by debbugs.gnu.org; 4 Apr 2025 16:39:56 +0000 Received: from localhost ([127.0.0.1]:39767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0k5E-0004PV-9b for submit@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 ) id 1u0k56-0004Om-LQ for 77537@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@inria.fr; 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 To: 77537@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@inria.fr> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250404163926.109643-1-luca.cirrottola@inria.fr> References: <20250404163926.109643-1-luca.cirrottola@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77537 Cc: Luca Cirrottola X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 06:43:43 2025 Received: (at 77537) by debbugs.gnu.org; 7 Apr 2025 10:43:43 +0000 Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1jx8-0000sh-TT for submit@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 ) id 1u1jx6-0000s4-LK for 77537@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 To: Luca Cirrottola Subject: Re: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs Message-ID: References: <20250404162854.108896-1-luca.cirrottola@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250404162854.108896-1-luca.cirrottola@inria.fr> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 07:55:17 2025 Received: (at 77537) by debbugs.gnu.org; 7 Apr 2025 11:55:18 +0000 Received: from localhost ([127.0.0.1]:53150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1l4P-0006oU-Hy for submit@debbugs.gnu.org; Mon, 07 Apr 2025 07:55:17 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:42424) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1l4L-0006lP-JE for 77537@debbugs.gnu.org; Mon, 07 Apr 2025 07:55:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:message-id:in-reply-to:references: subject:mime-version:content-transfer-encoding; bh=kMPH5wp1Q+rgn/dmH14haAP0g3URmDvVGiInsvBPrIM=; b=ZxhlQN8XFIXw/fBjIc4kzPX3FhT6E2QBzNULz9Nb/kAR4rrnqDSrkci+ n7m0IE8OI/l2VgUEFAkRVs0jfYzbmEp/VUVOTSlV1pRlssoP5oE0SFcop H8lLeKiZyKKL8nKLNHCFWhby3/w0n4I8O/FBPCjB9GgeiOWhoIyAVsg71 4=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=luca.cirrottola@inria.fr; spf=None smtp.helo=postmaster@zcs2-store1.inria.fr Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of luca.cirrottola@inria.fr designates 128.93.142.3 as permitted sender) identity=mailfrom; client-ip=128.93.142.3; receiver=mail2-relais-roc.national.inria.fr; envelope-from="luca.cirrottola@inria.fr"; x-sender="luca.cirrottola@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail01.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:128.93.162.3 ip4:128.93.162.88 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@zcs2-store1.inria.fr) identity=helo; client-ip=128.93.142.3; receiver=mail2-relais-roc.national.inria.fr; envelope-from="luca.cirrottola@inria.fr"; x-sender="postmaster@zcs2-store1.inria.fr"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.15,194,1739833200"; d="scan'208";a="216683403" X-MGA-submission: =?us-ascii?q?MDHH3S8CduJsV0K0+wfxRFmh50zgpkggP8ds5l?= =?us-ascii?q?rh5VUh9XXWgI0OauY+wwzyknf2vFoe0rgw3D7KagfigoSis+C20rPEg0?= =?us-ascii?q?Sys1miwJR/9zPJGom/6rFQmIbgbBiC0xnzUdpL9h9bcrmjuZD8GIhRvK?= =?us-ascii?q?P3vTS14y3Gbv4k4UmtpPzG6A=3D=3D?= Received: from zcs2-store1.inria.fr ([128.93.142.3]) by mail2-relais-roc.national.inria.fr with ESMTP; 07 Apr 2025 13:55:07 +0200 Date: Mon, 7 Apr 2025 13:55:06 +0200 (CEST) From: Luca Cirrottola To: Andreas Enge Message-ID: <841189215.6223559.1744026906790.JavaMail.zimbra@inria.fr> In-Reply-To: References: <20250404162854.108896-1-luca.cirrottola@inria.fr> Subject: Re: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: [79.127.169.37] X-Mailer: Zimbra 10.1.6_GA_4744 (ZimbraWebClient - FF137 (Linux)/10.1.6_GA_4744) Thread-Topic: netcdf-cxx4: Move netcdf to the propagated-inputs Thread-Index: +hZn9RB4D3pvPaoVJhZAmWxtLRg/Hw== X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77537 Cc: 77537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Andreas, > 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 see your point and sorry I didn't anticipate it. Here we need an MPI implementation to run, but not a specific one (and yes, it is quite normal to juggle from one MPI library to another). So I retire my proposition about this. >> 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. Here it is less ambiguous, netcdf-cxx4 cannot live without netcdf and there is no other implementation that could be used at runtime. For the future, should I interpret a propagated input as "something that is needed runtime, and should not be replaced by another implementation"? > > I have adapted the commit message and pushed this second patch. > Thanks! Luca From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 08:47:48 2025 Received: (at 77537-done) by debbugs.gnu.org; 7 Apr 2025 12:47:48 +0000 Received: from localhost ([127.0.0.1]:53303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1ltE-0002D4-Fa for submit@debbugs.gnu.org; Mon, 07 Apr 2025 08:47:48 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46168) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u1ltB-0002CT-4z for 77537-done@debbugs.gnu.org; Mon, 07 Apr 2025 08:47:45 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3FB5733B; Mon, 7 Apr 2025 14:47:38 +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 v9KGg_NNUbq7; Mon, 7 Apr 2025 14:47:37 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 46096EC; Mon, 7 Apr 2025 14:47:35 +0200 (CEST) Date: Mon, 7 Apr 2025 14:47:33 +0200 From: Andreas Enge To: Luca Cirrottola Subject: Re: [PATCH 0/2] gnu: netcdf-cxx4: Move netcdf to the propagated-inputs Message-ID: References: <20250404162854.108896-1-luca.cirrottola@inria.fr> <841189215.6223559.1744026906790.JavaMail.zimbra@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <841189215.6223559.1744026906790.JavaMail.zimbra@inria.fr> X-Rspamd-Server: hera X-Rspamd-Queue-Id: 3FB5733B X-Spamd-Result: default: False [-9.59 / 15.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-2.99)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Spamd-Bar: --------- X-Rspamd-Action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77537-done Cc: 77537-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Mon, Apr 07, 2025 at 01:55:06PM +0200 schrieb Luca Cirrottola: > Here it is less ambiguous, netcdf-cxx4 cannot live without netcdf and there > is no other implementation that could be used at runtime. yes, I agree. > For the future, should I interpret a propagated input as "something that is > needed runtime, and should not be replaced by another implementation"? I think mpi is really special in this respect, I am not aware of other software in the same category. And "needed at runtime" is not enough. As written before, there is usually no problem with libraries for which we set the rpath to an absolute path in the store. Well, then usually the dependency sneaks in through include files. Closing this issue. Andreas From unknown Sat Aug 16 15:54:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 May 2025 11:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator