swagger-ada
swagger-ada copied to clipboard
Cannot be built using alire
I tried to build using Alire v1.1.0 but it failed due to missing dependencies:
$ alr build
Warning: Loading release from manifest: alire.toml
licenses
licenses
Array of license in manifest is deprecated. License should be a single string containing a valid SPDX expression (https://spdx.org/licenses/)
Warning: Deprecated license indentifier 'Apache 2.0'. Please replace with an SPDX expression (https://spdx.org/licenses/)
warn: Deprecated license indentifier 'Apache 2.0'. Please replace with an SPDX expression (https://spdx.org/licenses/)
warn: Loading release from manifest: /home/mgrojo/src/github/swagger-ada/alire.toml
licenses
licenses
Array of license in manifest is deprecated. License should be a single string containing a valid SPDX expression (https://spdx.org/licenses/)
warn: Deprecated license indentifier 'Apache 2.0'. Please replace with an SPDX expression (https://spdx.org/licenses/)
ⓘ Synchronizing workspace...
Dependencies automatically updated as follows:
New solution is incomplete.
+⚠ security ^1.4.0 (new,missing)
+⚠ utilada ^2.4.1 (new,missing)
+⚠ utilada_xml ^2.4.1 (new,missing)
warn: Generating possibly incomplete environment because of missing dependencies
warn: Generating possibly incomplete configuration because of missing dependencies
openapi.gpr:2:06: imported project file "utilada_sys" not found
openapi.gpr:3:06: imported project file "security" not found
gprbuild: ".alire/openapi.gpr" processing failed
error: Command ["gprbuild", "-gnatwU", "-j0", "-p", "-P", ".alire/openapi.gpr"] exited with code 4
error: Compilation failed.
I'll try to build it manually, but I wanted to let you know.
Thanks for the report.
The alire.toml
files are intended to be packaged and integrated/submitted to the Alire index.
The recent versions of Ada Util has not been integrated/accepted due to various build reasons which are out of my control.
I don't recommend building with alire when you checkout the source from git.
I've made some progress recently in packaging all my projects with Alire. I need to write some documentation about that.
Nice. Let me know when it's ready, and I'll test it in my environment.