Package Details: gnatcoll-iconv 1:25.0w-1

Git Clone URL: https://aur.archlinux.org/gnatcoll-bindings.git (read-only, click to copy)
Package Base: gnatcoll-bindings
Description: GNAT Components Collection - Bindings to Libiconv
Upstream URL: https://github.com/AdaCore/gnatcoll-bindings
Licenses: custom, GPL3
Submitter: xiretza
Maintainer: charlie5
Last Packager: charlie5
Votes: 6
Popularity: 0.019291
First Submitted: 2020-06-06 12:06 (UTC)
Last Updated: 2024-06-05 16:27 (UTC)

Pinned Comments

charlie5 commented on 2023-07-09 16:33 (UTC)

This package is available in the Arch Ada Repository.

https://wiki.archlinux.org/title/Ada

Latest Comments

1 2 3 Next › Last »

goeb commented on 2024-06-05 15:35 (UTC)

Missing python-setuptools in the makedepends.

charlie5 commented on 2023-07-09 16:33 (UTC)

This package is available in the Arch Ada Repository.

https://wiki.archlinux.org/title/Ada

charlie5 commented on 2023-05-09 08:24 (UTC)

@ManfredGahr

No problems. You caught me on a bad day (or very late at night, rather).

I've pinned a link, to the gnatstudio binary package, on the gnat-gps AUR page, so hopefully others will now know to use it instead, for the time being.

Regards.

ManfredGahr commented on 2023-05-09 07:39 (UTC)

@charlie5 Thanks for the link to the binary package.

And yes, I have to apologize for being rude. I even made the mistake of not investigating more before posting, as I should have seen that your package had been committed long before the python update.

charlie5 commented on 2023-05-09 03:28 (UTC) (edited on 2023-05-09 08:21 (UTC) by charlie5)

@ManfredGahr

The problem was caused by a recent update of python, in which the C headers changed. It is now fixed. Thanks for reporting it, as I do not constantly rebuild my archy ada packages to test them.

The gnatstudio binary package has been available for a year ...

https://aur.archlinux.org/packages/gnatstudio-bin

ManfredGahr commented on 2023-05-08 09:52 (UTC) (edited on 2023-05-08 09:53 (UTC) by ManfredGahr)

unfortunately we have another build error :

==> Making package: gnatcoll-bindings 1:23.0.0-2 (Mo 08 Mai 2023 11:27:45 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gnatcoll-bindings-23.0.0.tar.gz
  -> Found 0002-fix-python-don-t-cache-prefix-during-install.patch
==> Validating source files with sha256sums...
    gnatcoll-bindings-23.0.0.tar.gz ... Passed
    0002-fix-python-don-t-cache-prefix-during-install.patch ... Passed
==> Extracting sources...
  -> Extracting gnatcoll-bindings-23.0.0.tar.gz with bsdtar
==> Starting prepare()...
patching file python/setup.py
patching file python3/setup.py
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Launch: /usr/bin/gprbuild -j0 -p -R -cargs -march=native -O2 -pipe -fno-plt -fPIC -largs -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -gargs -Pgnatcoll_python.gpr --target=x86_64-linux -XGNATCOLL_PYTHON_STATIC_LIB=/usr/lib/python3.11/config-3.11-x86_64-linux-gnu/libpython3.11.a -XGNATCOLL_PYTHON_LIBS=-L/usr/lib -lpython3.11 -ldl -lm -export-dynamic -XGNATCOLL_LIBPYTHON_KIND=shared -XGNATCOLL_PYTHON_CFLAGS=-I/usr/include/python3.11 -I/usr/include/python3.11 -XGNATCOLL_VERSION=0.0 -XBUILD=PROD -XGNATCOLL_OS=unix -XLIBRARY_TYPE=static -XXMLADA_BUILD=static -XGPR_BUILD=static
Compile
   [C]            python_support.c
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c: In function ‘ada_py_initialize_and_module’:
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c:117:4: warning: ‘Py_SetProgramName’ is deprecated [-Wdeprecated-declarations]
  117 |    Py_SetProgramName (Py_DecodeLocale (program_name, NULL));
      |    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.11/Python.h:94,
                 from /home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c:21:
/usr/include/python3.11/pylifecycle.h:37:38: note: declared here
   37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
      |                                      ^~~~~~~~~~~~~~~~~
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c: In function ‘ada_pyframe_get_code’:
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c:817:14: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  817 |    return obj->f_code;
      |              ^~
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c: In function ‘ada_pyframe_get_back’:
/home/mane/trizen/gnatcoll-bindings/src/gnatcoll-bindings-23.0.0/python3/python_support.c:823:14: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  823 |    return obj->f_back;
      |              ^~

   compilation of python_support.c failed

gprbuild: *** compilation phase failed
process failed with status: 4
==> ERROR: A failure occurred in build().

the reason could most probably be found here: https://docs.python.org/3.11/whatsnew/3.11.html

btw.: I haven't had a completely building gnat-gps "dependency chain" for over one year, maybe some sort of binary package could improve the situation....