Bug 296512 - lang/gnat*: Modernise and add support for GNU Multiple Precision Arithmetic Library (GMP)
Summary: lang/gnat*: Modernise and add support for GNU Multiple Precision Arithmetic L...
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: https://www.gnu.org/software/gnat/
Keywords:
Depends on:
Blocks: 296499
  Show dependency treegraph
 
Reported: 2026-07-04 12:29 UTC by Alastair Hogge
Modified: 2026-07-18 14:11 UTC (History)
1 user (show)

See Also:
thierry: maintainer-feedback+
thierry: merge-quarterly?


Attachments
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15 (822.94 KB, patch)
2026-07-05 23:11 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15 (880.45 KB, patch)
2026-07-05 23:19 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15 (895.33 KB, patch)
2026-07-05 23:23 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15 (5.59 KB, patch)
2026-07-11 12:38 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15 (7.75 KB, patch)
2026-07-11 12:41 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15 (7.72 KB, patch)
2026-07-11 12:45 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15 (823.00 KB, patch)
2026-07-16 04:17 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15 (880.55 KB, patch)
2026-07-16 07:42 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15 (895.43 KB, patch)
2026-07-16 09:36 UTC, Alastair Hogge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2026-07-04 12:29:53 UTC
The recent addition[1] of the GNAT-15 Ada tool-chain introduced some ${PLIST_SUB} helpers to reduce maintenance burden, updated and modernised the pkg-descr, ${COMMENT} and ${WWW}, and added GMP support. The GMP support is required for GNATColl Bindings.

This PR will track that same work across gnat12, 13, and 14.

1: https://codeberg.org/FreeBSD/freebsd-ports/commit/7335b805d65d082e56c3515a68fdc22a204caeb4
Comment 1 Alastair Hogge 2026-07-05 23:11:59 UTC
Created attachment 272524 [details]
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15

poudriere-tesport main-amd64-default: OK
Comment 2 Alastair Hogge 2026-07-05 23:19:37 UTC
Created attachment 272525 [details]
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15

poudriere-tesport main-amd64-default: OK
Comment 3 Alastair Hogge 2026-07-05 23:23:26 UTC
Created attachment 272526 [details]
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15

poudriere-tesport main-amd64-default: OK
Comment 4 Alastair Hogge 2026-07-06 01:49:36 UTC
Will update with typo corrections to pkg-descr.
Comment 5 Alastair Hogge 2026-07-11 12:38:33 UTC
Created attachment 272724 [details]
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15
Comment 6 Alastair Hogge 2026-07-11 12:41:55 UTC
Created attachment 272725 [details]
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15
Comment 7 Alastair Hogge 2026-07-11 12:45:48 UTC
Created attachment 272727 [details]
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15
Comment 8 Alastair Hogge 2026-07-11 12:47:08 UTC
poudriere-testport lang/gnat12:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass

poudriere-testport lang/gnat13:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass

poudriere-testport lang/gnat14:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass

All GNAT Ports were also tested in a poudriere-testport 14.4-i386 interactive jail, they passed check-plist, stage, and stage-qa.
Comment 9 Thierry Thomas freebsd_committer freebsd_triage 2026-07-12 09:43:28 UTC
"--disable-libgomp" has been removed, and testing on amd64 build the OMP stuff, but these files are missing from pkg-plist:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%GNAT%%/lib/gcc/%%CONFTRGT%%/%%VER%%/include/acc_prof.h
Error: Orphaned: %%GNAT%%/lib/gcc/%%CONFTRGT%%/%%VER%%/include/omp.h
Error: Orphaned: %%GNAT%%/lib/gcc/%%CONFTRGT%%/%%VER%%/include/openacc.h
Error: Orphaned: %%GNAT%%/lib/libgomp.a
Error: Orphaned: %%GNAT%%/lib/libgomp.so
Error: Orphaned: %%GNAT%%/lib/libgomp.so.1
Error: Orphaned: %%GNAT%%/lib/libgomp.so.1.0.0
Error: Orphaned: %%GNAT%%/lib/libgomp.spec
Error: Orphaned: %%GNAT%%/lib32/libgomp.a
Error: Orphaned: %%GNAT%%/lib32/libgomp.so
Error: Orphaned: %%GNAT%%/lib32/libgomp.so.1
Error: Orphaned: %%GNAT%%/lib32/libgomp.so.1.0.0
Error: Orphaned: %%GNAT%%/lib32/libgomp.spec
Comment 10 Alastair Hogge 2026-07-12 10:01:57 UTC
(In reply to Thierry Thomas from comment #9)
Oh I did not include the updated pkg-plist. Will sort this out.
Comment 11 Alastair Hogge 2026-07-16 04:17:37 UTC
Created attachment 272894 [details]
[PATCH] lang/gnat12: libgomp support; sync with GNAT-15

poudriere-testport lang/gnat12:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass
Comment 12 Alastair Hogge 2026-07-16 07:42:14 UTC
Created attachment 272898 [details]
[PATCH] lang/gnat13: libgomp support; sync with GNAT-15

poudriere-testport lang/gnat13:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass
Comment 13 Alastair Hogge 2026-07-16 09:36:16 UTC
Created attachment 272902 [details]
[PATCH] lang/gnat14: libgomp support; sync with GNAT-15

poudriere-testport lang/gnat14:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass
Comment 14 Thierry Thomas freebsd_committer freebsd_triage 2026-07-18 14:08:30 UTC
Committed, thanks!

Remark: since I was there, maintainership set to ada@.
Comment 15 commit-hook freebsd_committer freebsd_triage 2026-07-18 14:09:11 UTC
A commit in branch main references this bug:

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

commit 27a3df72d472b0403cb44527cf3bcf802ece9d81
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-07-16 07:39:45 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-18 14:08:16 +0000

    lang/gnat13: libgomp support; sync with GNAT-15

    The GNAT-15 addition to the Ports Tree included some improvements to how
    the pkg-plist is maintained, updated the pkg-descr, expanded the
    pkg-message, and more. Sync GNAT-13 with those modifications.

    * Add xz:threads option to ${TAR} to make use of multi-threaded
      compression
    * Add GNU OpenMP libraries. This is required for GNATColl Bindings
    * Add GNAT and GNAT_SO_VERSION to ${PLIST_SUB} to remove hard-coded
      version dependent information.
    * Complete ${LICENSE} block
    * Expand pkg-message and make UCL compliant
    * Modernise and update ${COMMENT}, ${WWW} and pkg-descr
    * Delegate maintainership to ada@

     PR:            296512

 lang/gnat13/Makefile  |    62 +-
 lang/gnat13/pkg-descr |    28 +-
 lang/gnat13/pkg-plist | 12919 ++++++++++++++++++++++++------------------------
 3 files changed, 6527 insertions(+), 6482 deletions(-)
Comment 16 commit-hook freebsd_committer freebsd_triage 2026-07-18 14:09:12 UTC
A commit in branch main references this bug:

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

commit 39c1b354d2a2153f5bdd5a97bd33f979cbfcd5d1
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-07-16 09:34:29 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-18 14:08:16 +0000

    lang/gnat14: libgomp support; sync with GNAT-15

    The GNAT-15 addition to the Ports Tree included some improvements to how
    the pkg-plist is maintained, updated the pkg-descr, expanded the
    pkg-message, and more. Sync GNAT-14 with those modifications.

    * Add xz:threads option to ${TAR} to make use of multi-threaded
      compression
    * Add GNU OpenMP libraries. This is required for GNATColl Bindings
    * Add GNAT and GNAT_SO_VERSION to ${PLIST_SUB} to remove hard-coded
      version dependent information.
    * Complete ${LICENSE} block
    * Expand pkg-message and make UCL compliant
    * Modernise and update ${COMMENT}, ${WWW} and pkg-descr
    * Delegate maintainership to ada@

     PR:            296512

 lang/gnat14/Makefile  |    61 +-
 lang/gnat14/pkg-descr |    28 +-
 lang/gnat14/pkg-plist | 13135 ++++++++++++++++++++++++------------------------
 3 files changed, 6635 insertions(+), 6589 deletions(-)
Comment 17 commit-hook freebsd_committer freebsd_triage 2026-07-18 14:09:13 UTC
A commit in branch main references this bug:

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

commit 52c724de57bfc28f48beb0bfa7068178b0bb03d3
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-07-16 04:15:00 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-18 14:08:16 +0000

    lang/gnat12: libgomp support; sync with GNAT-15

    The GNAT-15 addition to the Ports Tree included some improvements to how
    the pkg-plist is maintained, updated the pkg-descr, expanded the
    pkg-message, and more. Sync GNAT-12 with those modifications.

    * Add xz:threads option to ${TAR} to make use of multi-threaded
      compression
    * Add GNU OpenMP libraries. This is required for GNATColl Bindings
    * Add GNAT and GNAT_SO_VERSION to ${PLIST_SUB} to remove hard-coded
      version dependent information.
    * Complete ${LICENSE} block
    * Expand pkg-message and make UCL compliant
    * Modernise and update ${COMMENT}, ${WWW} and pkg-descr
    * Delegate maintainership to ada@

     PR:            296512

 lang/gnat12/Makefile  |    41 +-
 lang/gnat12/pkg-descr |    28 +-
 lang/gnat12/pkg-plist | 12875 ++++++++++++++++++++++++------------------------
 3 files changed, 6494 insertions(+), 6450 deletions(-)
Comment 18 Thierry Thomas freebsd_committer freebsd_triage 2026-07-18 14:11:26 UTC
Committed, thanks!