-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS 24.0 fails to build on Windows #1710
Comments
The root cause is aws that fails to build the awsres binary on Windows. See alire-project/alire#1710
Hello @stcarrez , I am able to build aws_24.0.0_2b75fe6d with Alire 2.0.1 on my machine:
And also when using AWS as a dependency. It could be a regression in Alire 2.1.0-dev but I doubt it. It could be a problem with the max filepath length on Windows. |
@Fabien-Chouteau, it still fails when building from GitHub action https://github.com/alire-project/alire-index/actions/runs/10330561591/job/28599751519?pr=1183
I doubt that the issue comes from the path length (current dir length is 146). It is still the same issue: it fails when running the Note: it is not clear why these resources are generated since they are not used by the Ada Utility project. |
From what I've seen in the Windows 11 VM build it that only the I was able to run the Makefile target |
Adding into this, doesn't seem to be working in github actions for me either, I installed alire on a windows machine via
But it fails with:
EDIT: See AdaCore/aws#380 [[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" |
Checklist
alr version
.Describe the bug
aws 24 crate fails to build on Windows:
aws
(ex: utilada_aws),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:
alr with aws
on a fresh install on WindowsExpected Behavior
it builds.
alr
versionalr 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
logsThe text was updated successfully, but these errors were encountered: