From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id lr7vF/2x4mTmggAASxT56A (envelope-from ) for ; Mon, 21 Aug 2023 02:38:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MOM6Fv2x4mS38QAAG6o9tA (envelope-from ) for ; Mon, 21 Aug 2023 02:38:21 +0200 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 A0BE94D1F8 for ; Mon, 21 Aug 2023 02:38:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QsuUiKca; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692578301; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=kLtch5EHRS4yO7M6Hxhc9urvyCjPBYSUqVhzcb2SXuA=; b=ktvQW+1K+DpM7Z3TPlQCJtnrQz1/fK74s1Mv5AGOu+HpJ8eiSl2UywVjDdtbi+U1zygdHY AMWQmv12TiJdEsBNB01bYqfPULohHjj63pIg3qn+Lj6f0dDtax1JZ2097P1H+JEooovRge hXeKItLuPw1dkmRg97HFz5xQeRSmz/OIvSNeIr/ChrR0KoOFDhUO+vggUgv3yN4eDNODSv TB02JsNZsEcsztTF0664XZ7rKgyiCoN9rWwsnTwAir3z7+B+x/lMEzJJ/O/VfVMb/TQXWQ uB64Pm0YnLBiqFcYipBu229xj2wRUiy9aR9DeAzWP99ZIxM/9Og7r2C42zGDAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692578301; a=rsa-sha256; cv=none; b=eBa5LyiTT5Mewdsb8i50OsbPcxtQunQwpur9/Fvzeh+rVwQ2o0FUW0Wf5LZ8Swu2W+pTc7 EJoPVlGSl4oeIayOxLmilpgcXz/q5q+4fi/LSjyQwOT69Qun/QjXVJ+3bhAxCVoy8FKSJm iNPOKAxJxIQ/JXxMfbARCTTZjh+AMIz7dnuyqEiVYlNn7K3pQiygTeJoj8uBqs1BRvHsIk 1AncrSjIPDf0eFjKJZjOHD83arWoN7VYcmYWTTlEOzdE0qBrYBj0hn81NPQIMX72pdtoDI 8nk6XNqYsK1l3beG0Xh+5yNFAHNyO5dv2UxHyCwo5KaGLd6WuQPiz/F/qzmj/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QsuUiKca; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXsvi-0002jX-2C; Sun, 20 Aug 2023 20:38:02 -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 1qXsvg-0002jP-S1 for guix-patches@gnu.org; Sun, 20 Aug 2023 20:38:00 -0400 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 1qXsvg-0000va-KL for guix-patches@gnu.org; Sun, 20 Aug 2023 20:38:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXsvi-0006yF-EB for guix-patches@gnu.org; Sun, 20 Aug 2023 20:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64448] [PATCH 0/2] Fix hdf5-1.14 wrappers and remove generated source files from all hdf5 versions. Resent-From: Gerd Heber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 00:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64448 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andreas Enge Cc: David Elsing , bavier@posteo.net, 64448@debbugs.gnu.org, efraim@flashner.co.il Received: via spool by 64448-submit@debbugs.gnu.org id=B64448.169257823026737 (code B ref 64448); Mon, 21 Aug 2023 00:38:02 +0000 Received: (at 64448) by debbugs.gnu.org; 21 Aug 2023 00:37:10 +0000 Received: from localhost ([127.0.0.1]:55078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXsus-0006xB-9F for submit@debbugs.gnu.org; Sun, 20 Aug 2023 20:37:10 -0400 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]:60641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXsuq-0006wx-LE for 64448@debbugs.gnu.org; Sun, 20 Aug 2023 20:37:09 -0400 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-56ea1d3335cso1461066eaf.0 for <64448@debbugs.gnu.org>; Sun, 20 Aug 2023 17:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692578221; x=1693183021; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kLtch5EHRS4yO7M6Hxhc9urvyCjPBYSUqVhzcb2SXuA=; b=QsuUiKcahrgp0XEmf2dPfJKBWGv5onqZDbsurV48xK3O2HTE9TjwDF6vHP15yicZli vc2Y4F+fBlZK6WFfo8/ddc8+aMocFSANxwk5/g478SxDQdz3Fky5dOE/y8qfmcigrZDf IHfUQXLT3kxAlI1Sgm3noJiXaj30TsRwFhEuWIYRu1xTKOg+4CplJKS19wrpb77EsHwt Nj8QCysgVOn3Vbhk/1RrJUkKf75eiF44zHBsocHFy40uXcxqZhVqa0nc2WSLMV9Lfj8P DJces0nHPvjiM0riuMAuVeIqUozI/EdGLwE5f7HhMJoNApReFoQGXLEyEHYfMAggV8JL qGFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692578221; x=1693183021; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kLtch5EHRS4yO7M6Hxhc9urvyCjPBYSUqVhzcb2SXuA=; b=E2tHXBdH1rVX6DA/O572GdBoPL4u3H1ljdw513+gM2K0orrUwuidDmlMCa+JmGJwCx 4Fx8E8fhmhVGv8oTwjDt4/XgZTtssD7UH+FRCGdM88fVEji45qeOLhw9LAErlcU/eK8V JFKwJT/B8WkU+9JwvnjuLEaOVrrIVh0IOLjn9dK03YGir44dXFP8YaZnFJSgg32lzish LbgVrkCvsiqzph0kX07CK1WNCycShcODQpQIZp+Z3rMsjS+KbsC1NqQvgf3uPgz+A1iM A1vcG7ttF/5q/RBunRiSBXRITBeQfRqb7KjQQUxEyhytz16c2sfECtXgj2sifiyx+Jcg SuNA== X-Gm-Message-State: AOJu0YzXSPPXIWATfx1Siqx/XIXQYwJclCpHOrMUa8Wn2r84pxorQoNh AmhvwXHFwb2X2t0JeC8zGxV0LFfRGOLGp4fIiBo= X-Google-Smtp-Source: AGHT+IHETvqQ6F7C0si8mhT79VAHJi8sXTGsbuwymUziJ/ZJ8w11rNgz1Oe7U687ncWKj+oIatSIgDc/kRJ84ZULiOs= X-Received: by 2002:a4a:2708:0:b0:56c:e4b7:2c0d with SMTP id l8-20020a4a2708000000b0056ce4b72c0dmr5611431oof.1.1692578220909; Sun, 20 Aug 2023 17:37:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gerd Heber Date: Sun, 20 Aug 2023 19:36:50 -0500 Message-ID: Content-Type: multipart/alternative; boundary="0000000000009ca9b40603641393" 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: -5.10 X-Spam-Score: -5.10 X-Migadu-Queue-Id: A0BE94D1F8 X-Migadu-Scanner: mx1.migadu.com X-TUID: fHsuOmoee2N3 --0000000000009ca9b40603641393 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Only HDF5 1.14.x (currently, 1.14.2) should be kept. However, hdf5 and hdf5-parallel should be kept separate. Aside from the MPI dependence, the parallel build is NOT a superset of the sequential version. There could be even two versions of hdf5: a non-threadsafe build (hdf5) and a threadsafe build (hdf5-ts? hdf5-mt?). For HDF4, 4.2.16-2 is the latest HDF4 release. We are maintaining that indefinitely (for NASA). Best, G. On Mon, Jul 24, 2023 at 8:49=E2=80=AFAM Andreas Enge wrot= e: > Hello, > > adding Gerd Heber in cc, who seems to be the last person having worked on > these packages. > > I am not competent at all about them, so commenting more as an outsider. > Using "guix package -A hdf": > hdf4 4.2.14 out > gnu/packages/maths.scm:1289:2 > hdf4-alt 4.2.14 out > gnu/packages/maths.scm:1372:2 > hdf5 1.8.23 out,fortran > gnu/packages/maths.scm:1382:2 > hdf5 1.14.0 out,fortran > gnu/packages/maths.scm:1543:2 > hdf5 1.12.2 out,fortran > gnu/packages/maths.scm:1523:2 > hdf5 1.10.9 out,fortran > gnu/packages/maths.scm:1503:2 > hdf5-blosc 1.0.0 out > gnu/packages/maths.scm:1807:2 > hdf5-parallel-openmpi 1.10.9 out,fortran > gnu/packages/maths.scm:1775:2 > > and a lot of packages in other languages, for instance: > cl-hdf5-cffi 1.8.18-1.5b5c88f out > gnu/packages/lisp-xyz.scm:12238:4 > ecl-hdf5-cffi 1.8.18-1.5b5c88f out > gnu/packages/lisp-xyz.scm:12238:4 > (apparently based on 1.8.18? but it has hdf5-1.10 as input). > > So there are lots of versions, and in the middle of them, > (define-public hdf5 > ;; Default version of HDF5. > hdf5-1.10) > > And > hdf5-parallel-openmpi 1.10.9 out,fortran > gnu/packages/maths.scm:1775:2 > which inherits like this: > (package/inherit hdf5-1.10 ;use the latest > but takes inputs like this: > (inputs > `(("mpi" ,openmpi) > ,@(package-inputs hdf5))) > which, I suppose, works by chance since currently hdf5-1.10 and hdf5 are > the same (but not "the latest"). > > Are all of these needed? If only the latest version 1.14.0 could be kept, > this would make the patch for 1.8.23 obsolete, for instance. > > Andreas > > --0000000000009ca9b40603641393 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Only HDF5 1.14.x (currently, 1.14.2) should be kept. However, h= df5 and hdf5-parallel should be kept separate. Aside from the MPI dependenc= e,
the parallel build is NOT a superset of the sequential version. There co= uld be even two versions of hdf5: a non-threadsafe build (hdf5) and a threa= dsafe build (hdf5-ts? hdf5-mt?).

For HDF4, 4.2.16-2 is the latest HDF4= release. We are maintaining that indefinitely (for NASA).

Best, G= .

On Mon, Jul 24, 2023 at 8:49=E2=80=AFAM Andreas Enge <andreas@enge.fr> wrote:
Hello,

adding Gerd Heber in cc, who seems to be the last person having worked on these packages.

I am not competent at all about them, so commenting more as an outsider. Using "guix package -A hdf":
hdf4=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4= .2.14=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1289:2<= br> hdf4-alt=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4.2.14=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1372:2
hdf5=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1= .8.23=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,for= tran=C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1382:2
hdf5=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1= .14.0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,for= tran=C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1543:2
hdf5=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1= .12.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,for= tran=C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1523:2
hdf5=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1= .10.9=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,for= tran=C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1503:2
hdf5-blosc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0.0=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0out=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gnu/packages/maths.scm:1807:2
hdf5-parallel-openmpi=C2=A0 =C2=A01.10.9=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,fortran=C2=A0 =C2=A0 =C2=A0gnu/packages/mat= hs.scm:1775:2

and a lot of packages in other languages, for instance:
cl-hdf5-cffi=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.8.18-1.5b5c88f=C2= =A0 =C2=A0 =C2=A0 =C2=A0 out=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0gnu/packages/lisp-xyz.scm:12238:4
ecl-hdf5-cffi=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01.8.18-1.5b5c88f=C2= =A0 =C2=A0 =C2=A0 =C2=A0 out=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0gnu/packages/lisp-xyz.scm:12238:4
(apparently based on 1.8.18? but it has hdf5-1.10 as input).

So there are lots of versions, and in the middle of them,
(define-public hdf5
=C2=A0 ;; Default version of HDF5.
=C2=A0 hdf5-1.10)

And
hdf5-parallel-openmpi=C2=A0 =C2=A01.10.9=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 out,fortran=C2=A0 =C2=A0 =C2=A0gnu/packages/mat= hs.scm:1775:2
which inherits like this:
=C2=A0 (package/inherit hdf5-1.10=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;use the latest
but takes inputs like this:
=C2=A0 =C2=A0 (inputs
=C2=A0 =C2=A0 =C2=A0`(("mpi" ,openmpi)
=C2=A0 =C2=A0 =C2=A0 =C2=A0,@(package-inputs hdf5)))
which, I suppose, works by chance since currently hdf5-1.10 and hdf5 are the same (but not "the latest").

Are all of these needed? If only the latest version 1.14.0 could be kept, this would make the patch for 1.8.23 obsolete, for instance.

Andreas

--0000000000009ca9b40603641393--