Bug 296499 - devel/gnatcoll-bindings: New Port, GNATColl Bindings
Summary: devel/gnatcoll-bindings: New Port, GNATColl Bindings
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://github.com/AdaCore/gnatcoll-b...
Keywords:
Depends on: 296496 296512
Blocks:
  Show dependency treegraph
 
Reported: 2026-07-03 15:22 UTC by Alastair Hogge
Modified: 2026-07-20 01:59 UTC (History)
1 user (show)

See Also:


Attachments
[PATCH] devel/gnatcoll-bindings: New Port, GNATColl Bindings (58.52 KB, patch)
2026-07-03 15:32 UTC, Alastair Hogge
no flags Details | Diff
[PATCH] devel/gnatcoll-bindings: New Port, GNATColl Bindings (58.41 KB, patch)
2026-07-17 09:10 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-03 15:22:55 UTC
The GNAT Components Collection (GNATcoll) - Bindings

GNATColl Bindings Ada packages provide interfaces to programming and
scripting languages, libraries, and system services.

Supported languages:
 * C++
 * Python-3.x

Supported libraries:
 * iconv
 * lzma
 * OpenMP
 * readline
 * syslog
 * zlib
Comment 1 Alastair Hogge 2026-07-03 15:32:52 UTC
Created attachment 272454 [details]
[PATCH] devel/gnatcoll-bindings: New Port, GNATColl Bindings

poudriere-testport devel/gnatcoll-bindings,
poudriere-testport devel/gnatcoll-bindings-cpp,
poudriere-testport devel/gnatcoll-bindings-gmp,
poudriere-testport devel/gnatcoll-bindings-iconv,
poudriere-testport devel/gnatcoll-bindings-lzma,
poudriere-testport devel/gnatcoll-bindings-omp,
poudriere-testport devel/gnatcoll-bindings-python,
poudriere-testport devel/gnatcoll-bindings-readline,
poudriere-testport devel/gnatcoll-bindings-syslog,
poudriere-testport devel/gnatcoll-bindings-zlib:
15_1-amd64-release: Pass
main-amd64-default: Pass
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2026-07-15 16:30:09 UTC
1) devel/gnatcoll-bindings-omp fails:
building relocatable shared library libgnatcoll_omp.so
/usr/local/gnat12/bin/gcc -shared -o /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/lib/relocatable/libgnatcoll_omp.so.26.0.0 -L/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd16.0/12.4.0//adalib -Wl,-z,origin,-rpath,$ORIGIN/../../../../../../../..//local/lib/gnatcoll_minimal/relocatable:/usr/local/gnat12/lib/gcc/x86_64-portbld-freebsd16.0/12.4.0/adalib:$ORIGIN/../../../../../../../..//local/gnat12/lib/gcc/x86_64-portbld-freebsd16.0/12.4.0/adalib:/usr/local/gnat12/lib:$ORIGIN/../../../../../../../..//local/gnat12/lib -Wl,-soname,libgnatcoll_omp.so.26.0.0 /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/obj/relocatable/a-cvgpso.o /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/obj/relocatable/gnatcoll-omp-generic_array_sort.o /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/obj/relocatable/gnatcoll-omp-generic_constrained_array_sort.o /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/obj/relocatable/gnatcoll-omp.o /usr/ports/devel/gnatcoll-bindings-omp/work/gnatcoll-bindings-26.0.0/omp/obj/relocatable/sort_omp.o -L/usr/local/lib/gnatcoll_minimal/relocatable/ -lgnatcoll_minimal -lgnat-12 -fopenmp
gcc: fatal error: cannot read spec file ‘libgomp.spec’: No such file or directory
compilation terminated.
gprlib: /usr/local/gnat12/bin/gcc execution error
    0 bind process
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000001.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000002.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000003.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000004.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000005.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000006.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000007.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000008.TMP
Removing temp file: /tmp/GPR.58794/GNAT-TEMP-000009.TMP
Removing temp dir: /tmp/GPR.58794
gprbuild: could not build library for project gnatcoll_omp
*** Error code 4

2) devel/gnatcoll-bindings-lzma tries to strip strip:
diff --git a/devel/gnatcoll-bindings-lzma/Makefile b/devel/gnatcoll-bindings-lzma/Makefile
index 99b95772c20d..b8a03f1c0fff 100644
--- a/devel/gnatcoll-bindings-lzma/Makefile
+++ b/devel/gnatcoll-bindings-lzma/Makefile
@@ -65,6 +65,6 @@ do-install:
        ${FIND} ${STAGEDIR}${PREFIX}/lib -name *.a -exec ${STRIP_CMD} {} \
                \;
        ${FIND} ${STAGEDIR}${PREFIX}/lib -name *.so* -exec ${STRIP_CMD} \
-               ${STRIP_CMD} {} \;
+               {} \;

 .include <bsd.port.mk>
Comment 3 Alastair Hogge 2026-07-16 02:21:47 UTC
(In reply to Thierry Thomas from comment #2)
> 1) devel/gnatcoll-bindings-omp fails:
I will update bug #296512 today which will provide GNU OMP for all GNAT compiler Ports.

> 2) devel/gnatcoll-bindings-lzma tries to strip strip:
Thanks. Will update the patch.
Comment 4 Alastair Hogge 2026-07-17 09:10:26 UTC
Created attachment 272929 [details]
[PATCH] devel/gnatcoll-bindings: New Port, GNATColl Bindings

poudriere-testport devel/gnatcoll-bindings:
14_4-amd64-release: Pass
15_1-amd64-release: Pass
main-amd64-default: Pass
Comment 5 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=86d48e88369768d2ab930c9dc59781eb7ca727fe

commit 86d48e88369768d2ab930c9dc59781eb7ca727fe
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2026-07-17 09:08:49 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-18 14:08:17 +0000

    devel/gnatcoll-bindings*: New Port, GNATColl Bindings

    A set of Ada libraries related to the GNATColl reusable components,
    providing interfaces to other languages, system services, or other
    libraries.

    Supported languages: C++ and Python-3
    Supported libraries: iconv, lzma, OpenMP, readline, syslog, and zlib

    https://github.com/AdaCore/gnatcoll-bindings

     PR:            296499

 devel/Makefile                                   | 10 +++
 devel/gnatcoll-bindings-cpp/Makefile (new)       | 69 ++++++++++++++++++
 devel/gnatcoll-bindings-cpp/distinfo (new)       |  3 +
 devel/gnatcoll-bindings-cpp/pkg-descr (new)      |  4 ++
 devel/gnatcoll-bindings-cpp/pkg-plist (new)      | 17 +++++
 devel/gnatcoll-bindings-gmp/Makefile (new)       | 76 ++++++++++++++++++++
 devel/gnatcoll-bindings-gmp/distinfo (new)       |  3 +
 devel/gnatcoll-bindings-gmp/pkg-descr (new)      |  5 ++
 devel/gnatcoll-bindings-gmp/pkg-plist (new)      | 62 ++++++++++++++++
 devel/gnatcoll-bindings-iconv/Makefile (new)     | 92 ++++++++++++++++++++++++
 devel/gnatcoll-bindings-iconv/distinfo (new)     |  3 +
 devel/gnatcoll-bindings-iconv/pkg-descr (new)    |  4 ++
 devel/gnatcoll-bindings-iconv/pkg-plist (new)    | 14 ++++
 devel/gnatcoll-bindings-lzma/Makefile (new)      | 70 ++++++++++++++++++
 devel/gnatcoll-bindings-lzma/distinfo (new)      |  3 +
 devel/gnatcoll-bindings-lzma/pkg-descr (new)     |  4 ++
 devel/gnatcoll-bindings-lzma/pkg-plist (new)     | 16 +++++
 devel/gnatcoll-bindings-omp/Makefile (new)       | 70 ++++++++++++++++++
 devel/gnatcoll-bindings-omp/distinfo (new)       |  3 +
 devel/gnatcoll-bindings-omp/pkg-descr (new)      |  6 ++
 devel/gnatcoll-bindings-omp/pkg-plist (new)      | 27 +++++++
 devel/gnatcoll-bindings-python/Makefile (new)    | 70 ++++++++++++++++++
 devel/gnatcoll-bindings-python/distinfo (new)    |  3 +
 devel/gnatcoll-bindings-python/pkg-descr (new)   |  4 ++
 devel/gnatcoll-bindings-python/pkg-plist (new)   | 59 +++++++++++++++
 devel/gnatcoll-bindings-readline/Makefile (new)  | 91 +++++++++++++++++++++++
 devel/gnatcoll-bindings-readline/distinfo (new)  |  3 +
 devel/gnatcoll-bindings-readline/pkg-descr (new) |  4 ++
 devel/gnatcoll-bindings-readline/pkg-plist (new) | 13 ++++
 devel/gnatcoll-bindings-syslog/Makefile (new)    | 91 +++++++++++++++++++++++
 devel/gnatcoll-bindings-syslog/distinfo (new)    |  3 +
 devel/gnatcoll-bindings-syslog/pkg-descr (new)   |  4 ++
 devel/gnatcoll-bindings-syslog/pkg-plist (new)   | 14 ++++
 devel/gnatcoll-bindings-zlib/Makefile (new)      | 70 ++++++++++++++++++
 devel/gnatcoll-bindings-zlib/distinfo (new)      |  3 +
 devel/gnatcoll-bindings-zlib/pkg-descr (new)     |  4 ++
 devel/gnatcoll-bindings-zlib/pkg-plist (new)     | 17 +++++
 devel/gnatcoll-bindings/Makefile (new)           | 22 ++++++
 devel/gnatcoll-bindings/distinfo (new)           |  3 +
 devel/gnatcoll-bindings/pkg-descr (new)          | 18 +++++
 40 files changed, 1057 insertions(+)
Comment 6 Thierry Thomas freebsd_committer freebsd_triage 2026-07-18 14:11:49 UTC
Committed, thanks!
Comment 7 Alastair Hogge 2026-07-20 01:59:00 UTC
Thanks.