Package Details: xmlada 2020-2

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 (xiretza)
Last Packager: xiretza
Votes: 19
Popularity: 0.040891
First Submitted: 2010-02-02 16:26
Last Updated: 2020-05-21 18:47

Latest Comments

1 2 3 Next › Last »

NJ4BIEXXQk commented on 2020-05-29 10:31

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

xiretza commented on 2020-05-29 10:19

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

@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

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

NJ4BIEXXQk commented on 2020-05-29 09:45

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

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

gbabin commented on 2019-06-18 20:25

gcc-ada 9.1.0 is out. Could you please update the dependencies?

charlie5 commented on 2019-05-12 14:31

@Pjboughner,

As you suggest, "Do not load the standard knowledge base from: /share/gprconfig" appears to be the problem. 'gprbuild' is looking in the wrong place for its config.

Atm, I'm not sure why it is looking in '/share', rather than '/usr/share' (as on my box), for 'gprconfig'.

As a temporary workaround, you might try

$ sudo ln -s /usr/share /share

Btw, the next release of the libre GPL packages should be within a few weeks, so the workaround should only be temporary.

Pjboughner commented on 2019-05-12 12:25

thanks again!

gprconfig -h returns

--version Display version and exit --help Display usage and exit

--target=target (x86_64-pc-linux-gnu by default) Select specified target or "all" for any target. --show-targets : List all compiler targets available. --mi-show-compilers : List all compilers available in a parser-friendly way. --batch : batch mode, no interactive compiler selection. -v : verbose mode. -q : quiet output. -o file : Name and directory of the output file. default is default.cgpr --db dir : Parse dir as an additional knowledge base. --db- : Do not load the standard knowledge base from: /share/gprconfig --validate : Validate the contents of the knowledge base before loading. --config=language[,version[,runtime[,path[,name]]]] Preselect a compiler. Name is either one of the names of the blocks in the knowledge base ('GCC', 'GCC-28',...) or the base name of an executable ('gcc', 'gnatmake'). An empty string can be specified for any of the optional parameters The known compilers are:

there is a usr/share/gprconfig folder (with files) gprbuild-bootstrap installs xmlada won't build

I think I got -git's to build once, but gnat-gps replaced them all

Reading through grpconfig -h it does appear that the knowledge db it's looking for is in the wrong place (or it's looking in the wrong place for Arch maybe)

charlie5 commented on 2019-05-11 05:06

@Pjboughner,

It appears to be a similar problem to flintatarta's. Can you show the output of

$ gprconfig -h

Also, is there a /usr/share/gprconfig folder on your sytem ?

GPS (or libadalang, rather) requires a specific version of 'quex', hence the need for quex-for-libadalang.

There is a circular dependency. 'gprbuild' depends on 'libgpr', which depends on 'xmlada', which depends on 'gprbuild'. The circularity is broken by introducing 'gprbuild-bootstrap'.

The normal build order should be: gprbuild-bootstrap xmlada libgpr gprbuild (which should replace gprbuild-bootstrap)

Hope this helps.