Bug 278505 - net/mpich: Update to 4.2.1
Summary: net/mpich: Update to 4.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL: https://www.mpich.org/2024/04/17/mpic...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 11:06 UTC by Laurent Chardon
Modified: 2024-04-24 19:34 UTC (History)
2 users (show)

See Also:


Attachments
git-format patch (48.12 KB, patch)
2024-04-21 11:06 UTC, Laurent Chardon
no flags Details | Diff
Improved patch with better OPTIONS handling in pkg-plist (48.12 KB, patch)
2024-04-22 10:00 UTC, Laurent Chardon
no flags Details | Diff
0001-net-mpich-Update-to-4.2.1.patch (47.54 KB, patch)
2024-04-23 18:53 UTC, Laurent Chardon
no flags Details | Diff
0001-net-mpich-Update-to-4.2.1.patch with PORTDOCS in Makefile (16.83 KB, patch)
2024-04-24 10:55 UTC, Laurent Chardon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Chardon 2024-04-21 11:06:50 UTC
Created attachment 250131 [details]
git-format patch

Update to 4.2.1

Changes:

- Version 4.1.3 -> 4.2.1
  Release notes at <https://www.mpich.org/2024/04/17/mpich-4-2-1-released/>
- Add MAINTAINER
- Remove bash dependency. I hope that I'm not causing a regression, but the dependency no longer seems necessary. mpicc now seems to work fine with sh. I couldn't find a specific test case for why the dependency was added in 24b3efeb6116e
- Restore the www doc folder. I'm not sure why it was removed in the first place
- Remove bugfix for src/pm/hydra/lib/tools/bootstrap/external/slurm_query_node_list.c as it was fixed upstream

QA:

- portlint:  no new warnings
- poudriere: OK
Comment 1 Laurent Chardon 2024-04-21 12:25:19 UTC
I see problems with pkg-plist, with options not being isolated properly. Don't commit yet, I'll fix this.
Comment 2 Laurent Chardon 2024-04-22 10:00:56 UTC
Created attachment 250154 [details]
Improved patch with better OPTIONS handling in pkg-plist

Used panopticum to create a better pkg-plist
Comment 3 Laurent Chardon 2024-04-22 10:44:33 UTC
Ready for commit
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-23 10:11:08 UTC
Hello,

Some options macros disappeared from pkg-plist:

%%EXEC%%
%%EXECGFORKER%%
%%FORTRAN%%
%%HYDRA%%
...

Could you take a look?
Comment 5 Laurent Chardon 2024-04-23 18:53:00 UTC
Created attachment 250190 [details]
0001-net-mpich-Update-to-4.2.1.patch

You're right. Somehow I managed to submit the wrong patch twice. Hopefully this is OK now.
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-24 10:13:11 UTC
Hello,

With PORTDOCS defined in Makefile we can get rid of the long plist %%PORTDOCS%%%%DOCSDIR%%/...

It can be defined as:
PORTDOCS= * (to include all docs installed)
PORTDOCS= file1 filen dir1 dirn (for selected docs)

This is just an sugestion, since listing docs files in plist is correct too.

Cheers
Comment 7 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-24 10:24:21 UTC
(In reply to Nuno Teixeira from comment #6)
(...)
https://docs.freebsd.org/en/books/porters-handbook/book/#install-documentation
Comment 8 Laurent Chardon 2024-04-24 10:26:43 UTC
(In reply to Nuno Teixeira from comment #6)
Thanks for the suggestion. That would make the plist easier to diff and manage from release to release. Let me have a look at it.
Comment 9 Laurent Chardon 2024-04-24 10:55:12 UTC
Created attachment 250198 [details]
0001-net-mpich-Update-to-4.2.1.patch with PORTDOCS in Makefile

Changes:

 - Version 4.1.3 -> 4.2.1
   Release notes at <https://www.mpich.org/2024/04/17/mpich-4-2-1-released/>
 - Add MAINTAINER
 - Remove bash dependency
 - Restore the www doc folder
 - Remove bugfix for slurm_query_node_list.c as it was fixed upstream

QA:

 - portlint:  no new warnings
 - poudriere: OK
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-04-24 19:32:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=298eb16d8c74bffcb08ca7dd537bc36971ae9b91

commit 298eb16d8c74bffcb08ca7dd537bc36971ae9b91
Author:     Laurent <laurent.chardon@gmail.com>
AuthorDate: 2024-04-24 19:24:40 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-24 19:31:15 +0000

    net/mpich: Update to 4.2.1

    - Submitter becomes maintainer
    - Remove bash dependency
    - Restore the www doc folder
    - Remove bugfix for slurm_query_node_list.c as it was fixed upstream

    While I'm here:
    - Remove GNU_CONFIGURE_MANPREFIX after 9fd7ee1cdf6c

    ChangeLog:      https://www.mpich.org/2024/04/17/mpich-4-2-1-released/
    PR:             278505

 net/mpich/Makefile                                 | 13 ++--
 net/mpich/distinfo                                 |  6 +-
 ...trap_external_slurm__query__node__list.c (gone) | 11 ----
 net/mpich/files/patch-test_mpi_configure.ac (new)  | 19 ++++++
 net/mpich/pkg-plist                                | 69 +++++++++++++++++++---
 5 files changed, 89 insertions(+), 29 deletions(-)
Comment 11 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-24 19:34:20 UTC
Nice work!

Committed, thank you!