-
Notifications
You must be signed in to change notification settings - Fork 1
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
Difficulties with macos-latest in build.yml #17
Comments
Also, should we be using |
Yes. The PR wanted to merge into
(BTW, the comments aren’t right - or, at least one of them isn’t!) |
I'm seeing several different issues that may be confusing the matters needlessly. I'm going to submit the plainest crate and we can work from there. Thanks for the proactiviness! |
A bit in more detail:
By the time we know the crate is unavailable, we have already attempted building
This was needed when MacPorts was only available in the devel version. I've removed it in alire-project/alire-index#1061
Yes, this is now updated, although there's no ill-effects on using
Thanks for the digging. I think we can use
I'm not aware of changes/features that we need, so... |
Fixed in alire-project/alire-index#1061 by temporarily downgrading to |
This is prompted by macOS failures in PR 1053.
I don’t understand why there should be macOS issues at all since the crate declares itself only available on Linux! but, if it was available on macOS, there would still be issues.
Both
(MacPorts) / macos-latest
and(alr dev) / macos-latest
fail at theSet up devel alr
step -- why does MacPorts need to do this?I’d have expected the script to use
alire-project/setup-alire@v3
, not@v2
.The script runs-on macos-latest. Unfortunately, Github has silently updated macos-latest so it’s macos-14, i.e. aarch64!! The stable
alr
is an x86_64 build, which will run under Rosetta and look for and run an x86_64 compiler; if that succeeds, any resulting executable will also be x86_64, causing issues with any external crate that provides aarch64 libraries.So, why did
Set up devel alr
fail while attempting to builtalr
?The answer is here: this is the problem discussed here (solution already applied to the aarch64 GCC compiler available at GNAT FSF Builds, but not to the x86_64 compiler).
The default Xcode in macos-14 is v15.0.1. Sadly, so is the default in macos-13.
Possible fixes:
alr
in aarch64 (see previous remarks about universal builds) so it picks the fixed compiler.The text was updated successfully, but these errors were encountered: