Test ran at 2025-10-04 13:04:31.309564+00:00
SOLUTION:
libadalang2xml=1.0.2: Generates XML for Ada source, using libadalang.
Origin: commit 99ee1dd171cd66736f38e770a751a15ad7ffc334 from https://github.com/simonjwright/libadalang2xml.git
Properties:
Author: Simon Wright
Build Switches:
Description: Generates XML for Ada source, using libadalang.
Executable: libadalang2xml
License: GPL-3.0-or-later
Long_Description: Libadalang2XML is a tool to extract syntatic aspects of Ada source code into XML.
The Ada source is initially read using [Libadalang](https://github.com/AdaCore/libadalang). The resulting tree is then traversed, and its structure output in an XML form.
The [document type definition](https://en.wikipedia.org/wiki/Document_type_definition) isn't explicit; it's simply derived from the tree elements created by Libadalang. Note that Libadalang includes much more semantic information than the surface structure generated by this tool, but nevertheless there's enough there to --- for example --- create a scriptable body for a package spec.
## Building on macOS ##
Using the standard `langkit_support`, `libadalang` crates, you **must** build with `LIBRARY_TYPE` set to `relocatable`.
You can obtain versions of those crates adjusted to not require those features, which can therefore build the (default) static libraries, by visiting https://github.com/simonjwright/alire-index.mac.
## Example ##
As an example of the output, this code
``` ada
package Demo is
procedure Square (X : in out Integer);
end Demo;
```
generates
``` xml
Demo
procedure
Square
X
in out
Integer
Demo
```
Maintainer: Simon Wright
Maintainers_Logins: simonjwright
Name: libadalang2xml
Tag: ada
Tag: xml
Version: 1.0.2
Website: https://github.com/simonjwright/libadalang2xml
Dependencies (direct):
libadalang*
Dependencies (solution):
adasat=25.0.0
gnat=15.2.1 (gnat_native)
gnatcoll=25.0.0
gnatcoll_gmp=25.0.0
gnatcoll_iconv=25.0.0
langkit_support=25.0.0
libadalang=25.0.0
libgmp=6.3.0
libgpr=25.0.0
libgpr2=25.0.0
prettier_ada=25.0.0
vss=25.0.0
xmlada=25.0.0
Dependencies (graph):
gnatcoll=25.0.0 --> gnat=15.2.1 (gnat_native) (>=13)
gnatcoll=25.0.0 --> libgpr=25.0.0 (~25.0.0)
gnatcoll_gmp=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
gnatcoll_gmp=25.0.0 --> libgmp=6.3.0 (*)
gnatcoll_iconv=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
langkit_support=25.0.0 --> adasat=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll_gmp=25.0.0 (^25)
langkit_support=25.0.0 --> gnatcoll_iconv=25.0.0 (^25)
langkit_support=25.0.0 --> prettier_ada=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll_gmp=25.0.0 (^25)
libadalang=25.0.0 --> gnatcoll_iconv=25.0.0 (^25)
libadalang=25.0.0 --> langkit_support=25.0.0 (^25)
libadalang=25.0.0 --> libgpr2=25.0.0 (^25)
libadalang2xml=1.0.2 --> libadalang=25.0.0 (*)
libgpr=25.0.0 --> gnat=15.2.1 (gnat_native) (/=2020)
libgpr=25.0.0 --> xmlada=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnat=15.2.1 (gnat_native) (>=14)
libgpr2=25.0.0 --> gnatcoll=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnatcoll_gmp=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnatcoll_iconv=25.0.0 (~25.0.0)
prettier_ada=25.0.0 --> gnatcoll=25.0.0 (^25)
prettier_ada=25.0.0 --> vss=25.0.0 (^25)
vss=25.0.0 --> gnat=15.2.1 (gnat_native) (>=11 & <2000)
xmlada=25.0.0 --> gnat=15.2.1 (gnat_native) (>=11)
LOG:
[alr test] Testing libadalang2xml=1.0.2
[alr test] Spawning retrieval for remote crate: alr -d -n get libadalang2xml=1.0.2
Note: Deploying libadalang2xml=1.0.2...
Note: Deploying adasat=25.0.0...
#=#=#
##O#-#
Note: Deploying libgmp=6.3.0...
The system package 'libgmp-dev' is about to be installed.
This action might require admin privileges and impact your system installation.
Do you want Alire to install this system package?
Using default: Yes
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
debconf: unable to initialize frontend: Teletype
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Noninteractive
Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26072 files and directories currently installed.)
Preparing to unpack .../libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
Processing triggers for libc-bin (2.41-12) ...
Note: Deploying vss=25.0.0...
#=#=#
##O#-#
##O=# #
#-#O=# #
#-#O=# #
stderr: Generating Outcome_Failure with message: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]
stderr: Generating Outcome_Failure with call stack:
stderr: raised AAA.DEBUG.STACK_TRACE.DEBUG_EXCEPTION : aaa-debug.adb:44
[/usr/bin/alr]
0xfcfcdb Aaa.Debug.Stack_Trace at aaa-debug.adb:44
0xe744f2 Alire.Outcome_Failure at alire.adb:226
0xe74c7f Alire.Outcome_Failure at alire.adb:223
0xa1bba5 Alire.Origins.Deployers.Verify_Hashes at alire-origins-deployers.adb:219
0xa18f1a Alire.Origins.Deployers.Deploy_Steps at alire-origins-deployers.adb:117
0xa1a528 Alire.Origins.Deployers.Deploy at alire-origins-deployers.adb:170
0xc4528a Alire.Releases.Deploy at alire-releases.adb:341
0xc7ea93 Alire.Roots.Deploy_Dependencies at alire-roots.adb:812
0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143
0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472
0xcfdca2 Alire.Solutions.Traverse at alire-solutions.adb:1539
0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147
0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127
0xc7ed61 Alire.Roots.Deploy_Dependencies at alire-roots.adb:843
0xc7ef09 Alire.Roots.Deploy_Dependencies at alire-roots.adb:766
0x4aaec4 Alr.Commands.Get.Retrieve at alr-commands-get.adb:179
0x4ae94f Alr.Commands.Get.Execute at alr-commands-get.adb:380
0x4aeafd Alr.Commands.Get.Execute at alr-commands-get.adb:256
0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749
0x5472be Alr.Commands.Execute at alr-commands.adb:632
0x43d48a Alr.Main at alr-main.adb:13
0x4403a3 Main at b__alr-main.adb:2445
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f266667bca6
0x7f266667bd63
[/usr/bin/alr]
0x43d323 _start at ???
0xfffffffffffffffe
stderr: ALIRE.CHECKED_ERROR
stderr: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]
stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1
[/usr/bin/alr]
0xe72ea3 Alire.Assert at alire.adb:158
0xc452b2 Alire.Releases.Deploy at alire-releases.adb:341
0xc7ea93 Alire.Roots.Deploy_Dependencies at alire-roots.adb:812
0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143
0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472
0xcfdca2 Alire.Solutions.Traverse at alire-solutions.adb:1539
0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147
0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127
0xc7ed61 Alire.Roots.Deploy_Dependencies at alire-roots.adb:843
0xc7ef09 Alire.Roots.Deploy_Dependencies at alire-roots.adb:766
0x4aaec4 Alr.Commands.Get.Retrieve at alr-commands-get.adb:179
0x4ae94f Alr.Commands.Get.Execute at alr-commands-get.adb:380
0x4aeafd Alr.Commands.Get.Execute at alr-commands-get.adb:256
0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749
0x5472be Alr.Commands.Execute at alr-commands.adb:632
0x43d48a Alr.Main at alr-main.adb:13
0x4403a3 Main at b__alr-main.adb:2445
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f266667bca6
0x7f266667bd63
[/usr/bin/alr]
0x43d323 _start at ???
0xfffffffffffffffe
ERROR: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]
[alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn
Note: Deploying vss=25.0.0...
#=#=#
#### 6.2%
######################################################################## 100.0%
stderr: Generating Outcome_Failure with message: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]
stderr: Generating Outcome_Failure with call stack:
stderr: raised AAA.DEBUG.STACK_TRACE.DEBUG_EXCEPTION : aaa-debug.adb:44
[/usr/bin/alr]
0xfcfcdb Aaa.Debug.Stack_Trace at aaa-debug.adb:44
0xe744f2 Alire.Outcome_Failure at alire.adb:226
0xe74c7f Alire.Outcome_Failure at alire.adb:223
0xa1bba5 Alire.Origins.Deployers.Verify_Hashes at alire-origins-deployers.adb:219
0xa18f1a Alire.Origins.Deployers.Deploy_Steps at alire-origins-deployers.adb:117
0xa1a528 Alire.Origins.Deployers.Deploy at alire-origins-deployers.adb:170
0xc4528a Alire.Releases.Deploy at alire-releases.adb:341
0xc7ea93 Alire.Roots.Deploy_Dependencies at alire-roots.adb:812
0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143
0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472
0xcfdca2 Alire.Solutions.Traverse at alire-solutions.adb:1539
0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147
0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127
0xc7ed61 Alire.Roots.Deploy_Dependencies at alire-roots.adb:843
0xc7ef09 Alire.Roots.Deploy_Dependencies at alire-roots.adb:766
0xc934f2 Alire.Roots.Sync_From_Manifest at alire-roots.adb:1836
0xc93715 Alire.Roots.Sync_From_Manifest at alire-roots.adb:1781
0x545499 Alr.Commands.Requires_Workspace at alr-commands.adb:413
0x49a20c Alr.Commands.Build.Execute at alr-commands-build.adb:87
0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54
0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749
0x5472be Alr.Commands.Execute at alr-commands.adb:632
0x43d48a Alr.Main at alr-main.adb:13
0x4403a3 Main at b__alr-main.adb:2445
[/lib/x86_64-linux-gnu/libc.so.6]
0x7fc6a2f25ca6
0x7fc6a2f25d63
[/usr/bin/alr]
0x43d323 _start at ???
0xfffffffffffffffe
stderr: ALIRE.CHECKED_ERROR
stderr: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]
stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1
[/usr/bin/alr]
0xe72ea3 Alire.Assert at alire.adb:158
0xc452b2 Alire.Releases.Deploy at alire-releases.adb:341
0xc7ea93 Alire.Roots.Deploy_Dependencies at alire-roots.adb:812
0xc9832b Alire.Roots.Traverse at alire-roots.adb:2143
0xcfee85 Alire.Solutions.Traverse.Visit at alire-solutions.adb:1472
0xcfdca2 Alire.Solutions.Traverse at alire-solutions.adb:1539
0xc9841e Alire.Roots.Traverse at alire-roots.adb:2147
0xc984dd Alire.Roots.Traverse at alire-roots.adb:2127
0xc7ed61 Alire.Roots.Deploy_Dependencies at alire-roots.adb:843
0xc7ef09 Alire.Roots.Deploy_Dependencies at alire-roots.adb:766
0xc934f2 Alire.Roots.Sync_From_Manifest at alire-roots.adb:1836
0xc93715 Alire.Roots.Sync_From_Manifest at alire-roots.adb:1781
0x545499 Alr.Commands.Requires_Workspace at alr-commands.adb:413
0x49a20c Alr.Commands.Build.Execute at alr-commands-build.adb:87
0x49a51f Alr.Commands.Build.Execute at alr-commands-build.adb:54
0x53bbcc Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:749
0x5472be Alr.Commands.Execute at alr-commands.adb:632
0x43d48a Alr.Main at alr-main.adb:13
0x4403a3 Main at b__alr-main.adb:2445
[/lib/x86_64-linux-gnu/libc.so.6]
0x7fc6a2f25ca6
0x7fc6a2f25d63
[/usr/bin/alr]
0x43d323 _start at ???
0xfffffffffffffffe
ERROR: release integrity test failed: expected [sha512:1ddbb26c99e951f71b03933614a263966e785c098d7abb557ea24a35f516bd9fe5f66367b44e8355e29f4f22f9493dfd6eb9029540cbcfe94f2e4cace96dabc0] but got [sha512:d3ef45cef7295128ed9f4fcbd1d73c71118c496fd530607c158ed21fdb8c36a3d8d337b9310acbb90db89c895d4fa8b3648c8b6b4bb571c99c5003cab58a8ecb]