swagger-ada icon indicating copy to clipboard operation
swagger-ada copied to clipboard

Cannot be built using alire

Open mgrojo opened this issue 2 years ago • 3 comments

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.

mgrojo avatar Nov 18 '21 11:11 mgrojo

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.

stcarrez avatar Dec 22 '21 20:12 stcarrez

I've made some progress recently in packaging all my projects with Alire. I need to write some documentation about that.

stcarrez avatar Aug 06 '22 19:08 stcarrez

Nice. Let me know when it's ready, and I'll test it in my environment.

mgrojo avatar Aug 06 '22 19:08 mgrojo