Bug 299097 - math/mumps: please consider moving the Code-Aster specific version to math/mumps-code-aster to clear the way for a default latest MUMPS version
Summary: math/mumps: please consider moving the Code-Aster specific version to math/mu...
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-03 17:15 UTC by Yuri Victorovich
Modified: 2026-10-07 10:28 UTC (History)
2 users (show)

See Also:
thierry: maintainer-feedback+


Attachments
WIP patch to upgrade MUMPS to MUMPS5 after a repocopy (47.40 KB, patch)
2026-10-03 19:49 UTC, Thierry Thomas
no flags Details | Diff
Move the Code_Aster specific ports to -edf (71.03 KB, patch)
2026-10-04 18:07 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2026-10-03 17:15:47 UTC
math/deal.ii and other ports need regular MUMPS.

References:
* port commit: 6b05b1a038e7a80612a8e5d335dbf8bc1e80e994
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-10-03 19:47:56 UTC
OK, no problem. I'm actually working on updating the Code_Aster port right now, and it implies to upgrade MUMPS.
Its PKGNAME is mumps-edf, therefore we could repocopy the port to math/mumps-edf. If I remember correctly, this was the original name of this port.

I have also a WIP port of MUMPS-5 to the latest release: see the attached patch, and feel free to rename it to math/mumps.

Caveat: it requires a recent release of cad/scotch (7.0.16 ATM), therefore it would be fine to repocopy also cad/scotch to cad/scotch-edf, and upgrade cad/scotch to the latest.

Remark: the only interest of math/mumps4 is its license (Public Domain), but this is a leaf port, and I guess that we could remove it.
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2026-10-03 19:49:21 UTC
Created attachment 275348 [details]
WIP patch to upgrade MUMPS to MUMPS5 after a repocopy
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2026-10-04 18:07:57 UTC
Created attachment 275370 [details]
Move the Code_Aster specific ports to -edf

Attached is the full patch for this operation.

What it does:
 [PATCH 1/6] cad/scotch-edf: repocopy from cad/scotch
 [PATCH 2/6] cad/scotch: upgrade to v7.0.16
 [PATCH 3/6] math/mumps-edf: repomove from math/mumps
 [PATCH 4/6] math/mumps: repomove from math/mumps4
 [PATCH 5/6] math/mumps: upgrade to 5.9.1
 [PATCH 6/6] */*: switch to cad/scotch-edf and mumps-edf
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2026-10-04 18:08:54 UTC
Notify the maintainers of the corresponding ports.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2026-10-06 16:55:38 UTC
+1.
Comment 6 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2026-10-06 20:55:41 UTC
These seem to build with new mumps.

octave-forge-mboct-fem-pkg
octave-forge-mboct-numerical-pkg
octave-forge-mboct-mbdyn-pkg
Comment 7 commit-hook freebsd_committer freebsd_triage 2026-10-07 10:26:44 UTC
A commit in branch main references this bug:

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

commit c3c3a524af33d51c3c416c5e8380ce4850deeff8
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-04 14:29:12 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-07 10:26:02 +0000

    math/mumps: repomove from math/mumps4

    math/mumps4 is no more used.
    math/mumps will follow upstream releases, not the Code_Aster ones.

    PR:             299097
    Reported by:    yuri

 MOVED                                                                | 2 ++
 math/Makefile                                                        | 2 +-
 math/{mumps4 => mumps}/Makefile                                      | 0
 math/{mumps4 => mumps}/distinfo                                      | 0
 math/{mumps4 => mumps}/files/patch-Make.inc_Makefile.inc.generic     | 0
 math/{mumps4 => mumps}/files/patch-Make.inc_Makefile.inc.generic.SEQ | 0
 math/{mumps4 => mumps}/files/patch-Makefile                          | 0
 math/{mumps4 => mumps}/files/patch-PORD_lib_Makefile                 | 0
 math/{mumps4 => mumps}/files/patch-libseq_Makefile                   | 0
 math/{mumps4 => mumps}/files/patch-src_Makefile                      | 0
 math/{mumps4 => mumps}/pkg-descr                                     | 0
 math/{mumps4 => mumps}/pkg-plist                                     | 0
 12 files changed, 3 insertions(+), 1 deletion(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2026-10-07 10:26:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19e65b569a84bce848525241cd2c5c49d5706e1f

commit 19e65b569a84bce848525241cd2c5c49d5706e1f
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-04 17:33:16 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-07 10:26:02 +0000

    math/mumps: upgrade to 5.9.1

    PR:             299097

 math/mumps/Makefile                                | 164 +++++++++++----------
 math/mumps/distinfo                                |   6 +-
 .../patch-Make.inc_Makefile.FREEBSD10.PAR (new)    |  99 +++++++++++++
 .../patch-Make.inc_Makefile.FREEBSD10.SEQ (new)    |  94 ++++++++++++
 .../patch-Make.inc_Makefile.inc.generic (gone)     |  71 ---------
 .../patch-Make.inc_Makefile.inc.generic.SEQ (gone) |  69 ---------
 math/mumps/files/patch-Makefile (gone)             |  20 ---
 math/mumps/files/patch-PORD_lib_Makefile           |  19 +--
 math/mumps/files/patch-examples_Makefile (new)     |  15 ++
 math/mumps/files/patch-libseq_Makefile             |  33 +++--
 math/mumps/files/patch-src_Makefile (gone)         |  34 -----
 math/mumps/pkg-descr                               |   2 +-
 math/mumps/pkg-plist                               |  96 +++++++-----
 13 files changed, 387 insertions(+), 335 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2026-10-07 10:26:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=494841d7216bf41d02f2770eee27d57e13592e52

commit 494841d7216bf41d02f2770eee27d57e13592e52
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-04 12:50:22 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-07 10:26:01 +0000

    cad/scotch-edf: repocopy from cad/scotch

    PR:             299097

 cad/Makefile                                       |   1 +
 cad/scotch-edf/Makefile (new)                      |  96 ++++++++++++
 ...c_Make.inc_Makefile.inc.i686__pc__freebsd (new) |  33 +++++
 ...Make.inc_Makefile.inc.x86-64__pc__freebsd (new) |  32 ++++
 .../files/patch-src_libscotch_library.h (new)      |  16 ++
 cad/scotch-edf/pkg-descr (new)                     |  14 ++
 cad/scotch-edf/pkg-plist (new)                     | 163 +++++++++++++++++++++
 7 files changed, 355 insertions(+)
Comment 10 commit-hook freebsd_committer freebsd_triage 2026-10-07 10:26:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23e0d540f5e32aa7d489b07119739b3ddad294f8

commit 23e0d540f5e32aa7d489b07119739b3ddad294f8
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-04 14:22:10 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-07 10:26:02 +0000

    math/mumps-edf: repomove from math/mumps

    PR:             299097
    Reported by:    yuri

 math/Makefile                                                         | 2 +-
 math/{mumps => mumps-edf}/Makefile                                    | 0
 math/{mumps => mumps-edf}/files/patch-Make.inc_Makefile.FREEBSD10.PAR | 0
 math/{mumps => mumps-edf}/files/patch-Make.inc_Makefile.FREEBSD10.SEQ | 0
 math/{mumps => mumps-edf}/files/patch-Makefile                        | 0
 math/{mumps => mumps-edf}/files/patch-PORD_lib_Makefile               | 0
 math/{mumps => mumps-edf}/files/patch-examples_Makefile               | 0
 math/{mumps => mumps-edf}/files/patch-libseq_Makefile                 | 0
 math/{mumps => mumps-edf}/files/patch-src_Makefile                    | 0
 math/{mumps => mumps-edf}/files/patch-src_dana__aux.F                 | 0
 math/{mumps => mumps-edf}/pkg-descr                                   | 0
 math/{mumps => mumps-edf}/pkg-plist                                   | 0
 12 files changed, 1 insertion(+), 1 deletion(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2026-10-07 10:26:48 UTC
A commit in branch main references this bug:

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

commit d88d0f08f337b90f33275eec2eabddf729c0426c
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-04 17:57:48 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-07 10:26:03 +0000

    */*: switch to cad/scotch-edf and mumps-edf

    This is a no-op. Maintainers may switch to the regular ports if they want.

    PR:             299097

 math/freefem++/Makefile                        | 4 ++--
 math/mumps-edf/Makefile                        | 4 ++--
 math/octave-forge-mboct-fem-pkg/Makefile       | 2 +-
 math/octave-forge-mboct-mbdyn-pkg/Makefile     | 2 +-
 math/octave-forge-mboct-numerical-pkg/Makefile | 2 +-
 science/chrono/Makefile                        | 4 ++--
 science/frontistr/Makefile                     | 4 ++--
 science/hpddm/Makefile                         | 2 +-
 science/mmg/Makefile                           | 2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)
Comment 12 Thierry Thomas freebsd_committer freebsd_triage 2026-10-07 10:27:19 UTC
Just committed.
Comment 13 Thierry Thomas freebsd_committer freebsd_triage 2026-10-07 10:28:20 UTC
(In reply to Stephen Montgomery-Smith from comment #6)

Great! Therefore you can upgrade it, but check the potential conflicts.