Test ran at 2025-07-29 12:42:03.953578+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.1.2 (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
libiconv=1.18.0
prettier_ada=25.0.0
vss=25.0.0
xmlada=25.0.0
Dependencies (graph):
gnatcoll=25.0.0 --> gnat=15.1.2 (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)
gnatcoll_iconv=25.0.0 --> libiconv=1.18.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.1.2 (gnat_native) (/=2020)
libgpr=25.0.0 --> xmlada=25.0.0 (~25.0.0)
libgpr2=25.0.0 --> gnat=15.1.2 (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.1.2 (gnat_native) (>=11 & <2000)
xmlada=25.0.0 --> gnat=15.1.2 (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#-#
##O=# #
#=#=-# #
#=#=-# #
Note: Deploying gnat_native=15.1.2...
#=#=#
##O#-#
0.0%
## 2.9%
##### 7.4%
######## 11.5%
########## 15.1%
############## 19.6%
################ 22.9%
################### 27.1%
###################### 31.6%
########################## 37.3%
############################## 41.8%
################################# 45.9%
#################################### 51.1%
####################################### 54.5%
########################################### 60.2%
############################################### 65.3%
################################################# 68.8%
#################################################### 73.1%
####################################################### 76.7%
######################################################### 80.3%
############################################################# 84.8%
############################################################# 86.0%
################################################################# 91.3%
#################################################################### 94.6%
####################################################################### 99.6%
######################################################################## 100.0%
Note: gnat_native=15.1.2 installed successfully.
Note: Deploying libgmp=6.3.0...
The system package 'mingw-w64-x86_64-gmp' 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
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-x86_64-gmp-6.3.0-2
Total Download Size: 0.56 MiB
Total Installed Size: 2.98 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
mingw-w64-x86_64-gmp-6.3.0-2-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing mingw-w64-x86_64-gmp...
Note: Deploying libiconv=1.18.0...
The system package 'mingw-w64-x86_64-libiconv' 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
resolving dependencies...
looking for conflicting packages...
Packages (1) mingw-w64-x86_64-libiconv-1.18-1
Total Download Size: 0.71 MiB
Total Installed Size: 2.42 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
mingw-w64-x86_64-libiconv-1.18-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing mingw-w64-x86_64-libiconv...
Note: Deploying vss=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
#=#=- # #
Note: Deploying xmlada=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
#=#=- # #
Note: Deploying libgpr=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
#=#=- # #
Note: Deploying gnatcoll=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
#=#=- # #
#=O#- # #
#=O#- # #
Note: Deploying gnatcoll_gmp=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
Note: Deploying gnatcoll_iconv=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
Note: Deploying prettier_ada=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
Note: Deploying langkit_support=25.0.0...
#=#=#
##O#-#
##O=# #
#=#=-# #
#=#=-# #
#=#=- # #
#=#=- # #
Note: Deploying libgpr2=25.0.0...
#=#=#
##O#-#
0.9%
######################################################################## 100.0%
Note: Deploying libadalang=25.0.0...
#=#=#
##O#-#
0.6%
######################################################################## 100.0%
libadalang2xml=1.0.2 successfully retrieved.
Dependencies were solved as follows:
+ adasat 25.0.0 (new,indirect)
+b gnat 15.1.2 (new,gnat_native,indirect,binary)
+ gnatcoll 25.0.0 (new,indirect)
+ gnatcoll_gmp 25.0.0 (new,indirect)
+ gnatcoll_iconv 25.0.0 (new,indirect)
+ langkit_support 25.0.0 (new,indirect)
+ libadalang 25.0.0 (new)
+b libgmp 6.3.0 (new,indirect,system package)
+ libgpr 25.0.0 (new,indirect)
+ libgpr2 25.0.0 (new,indirect)
+b libiconv 1.18.0 (new,indirect,system package)
+ prettier_ada 25.0.0 (new,indirect)
+ vss 25.0.0 (new,indirect)
+ xmlada 25.0.0 (new,indirect)
[alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn
stderr: ADA.IO_EXCEPTIONS.NAME_ERROR
stderr: invalid target path name "C:\Users\runneradmin\AppData\Local\alire\cache\builds\langkit_support_25.0.0_7c5f4981\cb119af8cb4c77c6bcc9678fc2bd64aa2a1c4223b0f93a53e1cbd83e48c41956\testsuite\tests\lexical
stderr: raised ADA.IO_EXCEPTIONS.NAME_ERROR : invalid target path name "C:\Users\runneradmin\AppData\Local\alire\cache\builds\langkit_support_25.0.0_7c5f4981\cb119af8cb4c77c6bcc9678fc2bd64aa2a1c4223b0f93a53e1cbd83e48c41956\testsuite\tests\lexical
[D:\a\alire-crates-ci\alire-crates-ci\alire_install\bin\alr.exe]
0x7ff6ca256ac1 Semantic_Versioning.Basic.Restrictions.First_Index at a-direct.adb:301
0x7ff6ca3c8296 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:81
0x7ff6ca3c6d68 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:215
0x7ff6ca3c8390 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:86
0x7ff6ca3c6d68 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:215
0x7ff6ca3c7f48 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:140
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6ca3c7f26 Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:137
0x7ff6ca3c6b4d Semantic_Versioning.Basic.Restrictions.First_Index at den-filesystem.adb:217
0x7ff6c9725fd8 Semantic_Versioning.Basic.Restrictions.First_Index at alire-builds.adb:61
0x7ff6c9ebee46 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:907
0x7ff6c9ed912d Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2143
0x7ff6c9f482f9 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1472
0x7ff6c9f470ef Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1539
0x7ff6c9ed922c Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2147
0x7ff6c9ed92fa Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2127
0x7ff6c9ebe3d4 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:919
0x7ff6c9eb03e8 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:90
0x7ff6c9eb0588 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:59
0x7ff6c9eb173b Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:278
0x7ff6c9eb1912 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:114
0x7ff6c9623baa Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:145
0x7ff6c962341e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:113
0x7ff6c96235ba Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:54
0x7ff6c96d5dea Semantic_Versioning.Basic.Restrictions.First_Index at clic-subcommand-instance.adb:749
0x7ff6c96e2b0e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands.adb:632
0x7ff6c95b16a0 Alr.Main at alr-main.adb:13
0x7ff6c95b5270 Main at b__alr-main.adb:2454
0x7ff6c95b133e __tmainCRTStartup at ???
0x7ff6c95b1144 mainCRTStartup at ???
[C:\Windows\System32\KERNEL32.DLL]
0x7ffcd6b14cae
[C:\Windows\SYSTEM32\ntdll.dll]
0x7ffcd7f3edc9
stderr: Could not sync build dir from C:\Users\runneradmin\AppData\Local\alire\cache\releases\langkit_support_25.0.0_7c5f4981 to C:\Users\runneradmin\AppData\Local\alire\cache\builds\langkit_support_25.0.0_7c5f4981\cb119af8cb4c77c6bcc9678fc2bd64aa2a1c4223b0f93a53e1cbd83e48c41956
ERROR: Could not sync build dir from C:\Users\runneradmin\AppData\Local\alire\cache\releases\langkit_support_25.0.0_7c5f4981 to C:\Users\runneradmin\AppData\Local\alire\cache\builds\langkit_support_25.0.0_7c5f4981\cb119af8cb4c77c6bcc9678fc2bd64aa2a1c4223b0f93a53e1cbd83e48c41956