For what it’s worth, this is happening to me on Windows 10 too, practically the same error:
Link
[archive] libtools.a
[index] libtools.a
[link] awsres.adb
make[1]: Entering directory '/c/Users/Dell/AppData/Local/alire/cache/builds/aws_24.0.0_2b75fe6d/31b0bbcf12d7e2d20fc86acc68082713f9548776d81915a755f9fe0cf44f059b/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/Dell/AppData/Local/alire/cache/builds/aws_24.0.0_2b75fe6d/31b0bbcf12d7e2d20fc86acc68082713f9548776d81915a755f9fe0cf44f059b/tools/wsdl2aws-templates'
make: *** [Makefile:220: gen-templates] Error 2
ERROR: Command ["make", "all", "ENABLE_SHARED=false"] exited with code 2
What is strange is that it’s only happening on Windows.
EDIT: Seems to be the error also mentioned on:
EDIT 2: I opened a bug report
EDIT 3: This is the workaround if you don’t need version 24:
[[depends-on]]
# See https://github.com/AdaCore/aws/issues/380
# and https://github.com/alire-project/alire/issues/1710
[depends-on.'case(os)'.windows]
aws = "^23.0.0"
xmlada = "^23.0.0"
gnatcoll = "^23.0.0"
[depends-on.'case(os)'.'...']
aws = "^24.0.0"
xmlada = "^24.0.0"
gnatcoll = "^24.0.0"
1 Like