alire icon indicating copy to clipboard operation
alire copied to clipboard

AWS 24.0 fails to build on Windows

Open stcarrez opened this issue 1 month ago • 0 comments

Checklist

  • [x] I've included the output of alr version.
  • [x] I've included complete steps to reproduce my issue.

Describe the bug aws 24 crate fails to build on Windows:

  • it fails if you submit a crate that depends on aws (ex: utilada_aws),
  • it is reported as failing on the ada-lang.io forum [AWS not working with Alire - SSL Error](https://forum.ada-lang.io/t/aws-not-working-with-alire-ssl-error/925/11)

The error reported in ada-lang.io forum is the same as the one when you submit a crate and the automated build system tries to validate the submitted crate: it fails when linking the awsres binary.

To Reproduce Steps to reproduce the behavior:

  1. alr with aws on a fresh install on Windows

Expected Behavior it builds.

alr version alr version: 2.1.0-dev libalire version: 2.1.0-dev compilation date: 2024-06-30 09:12:58 compiled with version: 14.1.0

alr logs

make[1]: Entering directory '/c/Users/runneradmin/AppData/Local/alire/cache/builds/aws_24.0.0_2b75fe6d/76ffc400ad3402a54fb70c8123b2c7e3ca05994d4ebde43aa84bc3b5eaa2e888/tools/wsdl2aws-templates'
../../.build/x86_64-w64-mingw32/debug/static/tools/awsres \
  -r wsdl2aws_templates \
  -o ../../.build/x86_64-w64-mingw32/common/src \
  *.tad[sb] *.macros
AWSRes - Resource Creator v1.3

creating s-main.tadb
Cannot create embedded resource file
make[1]: *** [Makefile:20: gen-templates] Error 1
make[1]: Leaving directory '/c/Users/runneradmin/AppData/Local/alire/cache/builds/aws_24.0.0_2b75fe6d/76ffc400ad3402a54fb70c8123b2c7e3ca05994d4ebde43aa84bc3b5eaa2e888/tools/wsdl2aws-templates'
make: *** [Makefile:220: gen-templates] Error 2
stderr: Command ["make", "all", "ENABLE_SHARED=false"] exited with code 2
ERROR: Command ["make", "all", "ENABLE_SHARED=false"] exited with code 2```

stcarrez avatar Jun 30 '24 13:06 stcarrez