Package Details: xmlada 1:25.0w-1

Git Clone URL: https://aur.archlinux.org/xmlada.git (read-only, click to copy)
Package Base: xmlada
Description: An XML parser for Ada95.
Upstream URL: https://github.com/AdaCore/xmlada
Licenses: custom, GPL3
Conflicts: xmlada-git
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 24
Popularity: 0.005745
First Submitted: 2010-02-02 16:26 (UTC)
Last Updated: 2024-05-31 06:06 (UTC)

Pinned Comments

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

This package is available in the Arch Ada Repository.

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

charlie5 commented on 2023-05-04 20:11 (UTC) (edited on 2023-05-04 20:12 (UTC) by charlie5)

@mindbound

The problem is due to gcc being updated to version 13. You'll have to re-build/re-install gprbuild-bootstrap, then xmlada, then gprbuild.

So ...

$ pacaur -S gprbuild-bootstrap

$ pacaur -S xmlada

$ pacaur -S gprbuild

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

mindbound commented on 2023-05-04 19:50 (UTC)

Build for 1:23.0.0-2 fails with

gprbuild: error while loading shared libraries: libgnarl-12.so: cannot open shared object file: No such file or directory

xiretza commented on 2021-12-04 18:44 (UTC)

I think I figured out the problem: the people here complaining about the "can't find a native toolchain for language 'ada'" error are building their packages on a dirty system that has a non-english locale. This causes the version output in gcc -v to change, which breaks the regex in gprconfig as deduced by @andbue.

I'll add a patch to gprconfig, but for the future: please build packages in a clean chroot, especially when reporting bugs to maintainers - everything else is just a waste of everyone's time.

andbue commented on 2021-12-03 17:27 (UTC)

can't find a native toolchain for language 'ada' – can be solved by replacing "gcc -v" with "gcc --version" in /usr/share/cprconfig/compilers.xml. I've just opened an issue in https://github.com/AdaCore/gprconfig_kb/issues/10 as well.

j0b314 commented on 2021-10-28 09:57 (UTC)

@NJ4BIEXXQk, @xiretza

Unfortunately I can confirm that this error still exist. gprconfig can't find a native toolchain. Still happens with git and repo version.

NJ4BIEXXQk commented on 2020-05-29 10:31 (UTC)

I can confirm that i get the same error for gprbuild-bootstrap 2020-2

xiretza commented on 2020-05-29 10:19 (UTC)

Sorry, can't reproduce in a clean chroot with gcc-ada-10.1.0-2 and gprbuild-bootstrap-2020-2. It's always possible that AdaCore -git packages are incompatible with the latest release versions of other packages, but if the same happens with gprbuild-bootstrap, I have no idea.

NJ4BIEXXQk commented on 2020-05-29 10:00 (UTC)

@xiretza gcc-ada 10.1.0-2 gprbuild-bootstrap-git r3595.e7f7c8d5-1

I tried both available options for gprbuild-bootstrap and currently have the git version installed

xiretza commented on 2020-05-29 09:54 (UTC)

@NJ4BIEXXQk: pacman -Q gcc-ada gprbuild-bootstrap

NJ4BIEXXQk commented on 2020-05-29 09:45 (UTC)

Hi, I get

Tgprbuild -j0 -m -R -p -XLIBRARY_TYPE=static -XBUILD=Production -XPROCESSORS=0 xmlada.gpr -cargs -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -largs -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
gprconfig: can't find a native toolchain for language 'ada'
gprconfig: can't find a native toolchain for language 'ada'
Setup
   [mkdir]        object directory for project XmlAda_Sax
   [mkdir]        library directory for project XmlAda_Sax
   [mkdir]        object directory for project XmlAda_Schema
xmlada_schema.gpr:31:25: warning: libraries are not supported on this platform
xmlada_sax.gpr:30:25: warning: libraries are not supported on this platform
xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform
xmlada_input.gpr:29:25: warning: libraries are not supported on this platform
xmlada_dom.gpr:30:25: warning: libraries are not supported on this platform
xmlada_dom.gpr:28:09: no compiler for language "Ada", cannot compile "dom-readers.adb"
gprbuild: *** compilation phase failed
make: *** [Makefile:68: static] Fehler 4 

gprconfig -h returns


-db-    : Do not load the standard knowledge base from:
   /usr/share/gprconfig

Is this related to the previous problems? I would really appreciate any help

charlie5 commented on 2019-06-21 06:22 (UTC) (edited on 2019-06-21 06:22 (UTC) by charlie5)

I've made a start on the 2019 packages. They should be ready by the end of the weekend.