Test ran at 2025-04-26 12:49:29.945262+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=24.0.0
   gnat=13.2.2 (gnat_native)
   gnatcoll=24.0.0
   gnatcoll_gmp=24.0.0
   gnatcoll_iconv=24.0.0
   langkit_support=24.0.0
   libadalang=24.0.0
   libgmp=6.3.0
   libgpr=24.0.0
   libgpr2=24.0.0
   libiconv=1.18.0
   xmlada=24.0.0
Dependencies (graph):
   gnatcoll=24.0.0        --> libgpr=24.0.0 (~24.0.0)
   gnatcoll_gmp=24.0.0    --> gnatcoll=24.0.0 (~24.0.0)
   gnatcoll_gmp=24.0.0    --> libgmp=6.3.0 (*)
   gnatcoll_iconv=24.0.0  --> gnatcoll=24.0.0 (~24.0.0)
   gnatcoll_iconv=24.0.0  --> libiconv=1.18.0 (*)
   langkit_support=24.0.0 --> adasat=24.0.0 (^24)
   langkit_support=24.0.0 --> gnatcoll=24.0.0 (^24)
   langkit_support=24.0.0 --> gnatcoll_gmp=24.0.0 (^24)
   langkit_support=24.0.0 --> gnatcoll_iconv=24.0.0 (^24)
   libadalang=24.0.0      --> gnatcoll=24.0.0 (^24)
   libadalang=24.0.0      --> gnatcoll_gmp=24.0.0 (^24)
   libadalang=24.0.0      --> gnatcoll_iconv=24.0.0 (^24)
   libadalang=24.0.0      --> langkit_support=24.0.0 (^24)
   libadalang=24.0.0      --> libgpr2=24.0.0 (^24)
   libadalang2xml=1.0.2   --> libadalang=24.0.0 (*)
   libgpr=24.0.0          --> gnat=13.2.2 (gnat_native) (/=2020)
   libgpr=24.0.0          --> xmlada=24.0.0 (~24.0.0)
   libgpr2=24.0.0         --> gnatcoll=24.0.0 (~24.0.0)
   libgpr2=24.0.0         --> gnatcoll_gmp=24.0.0 (~24.0.0)
   libgpr2=24.0.0         --> gnatcoll_iconv=24.0.0 (~24.0.0)
   xmlada=24.0.0          --> gnat=13.2.2 (gnat_native) (>=11)
LOG:
Spawning: alr -d -n get --build libadalang2xml=1.0.2
Note: Deploying libadalang2xml=1.0.2...
Note: Deploying adasat=24.0.0...
#=#=#                                                                          
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 gnatcoll_gmp=24.0.0...
#=#=#                                                                          
##O#-#                                                                         
Note: Deploying gnatcoll_iconv=24.0.0...
Note: Deploying langkit_support=24.0.0...
#=#=#                                                                          
######################################################################## 100.0%
Note: Deploying libgpr2=24.0.0...
###                                                                        5.5%
######################################################################## 100.0%
Note: Deploying libadalang=24.0.0...
#=#=#                                                                          
######################################################################## 100.0%
stderr: Could not sync build dir from C:\Users\runneradmin\AppData\Local\alire\cache\releases\libgpr2_24.0.0_eda3c693 to C:\Users\runneradmin\AppData\Local\alire\cache\builds\libgpr2_24.0.0_eda3c693\3c3a03959d1960c2b3af030f597d0c4b3f073f931ee75d65f1e5cf1bac4e4708
ERROR: Could not sync build dir from C:\Users\runneradmin\AppData\Local\alire\cache\releases\libgpr2_24.0.0_eda3c693 to C:\Users\runneradmin\AppData\Local\alire\cache\builds\libgpr2_24.0.0_eda3c693\3c3a03959d1960c2b3af030f597d0c4b3f073f931ee75d65f1e5cf1bac4e4708