Open planetf1 opened 6 months ago
I've created a DRAFT PR as a TEST which replaces gcc with 13.2.0 to validate if this is the cause.
macOS 14 gcc - SUCCESS
Note that the test PR had a failure from circle CI on doxygen....
Thoughts @bhess @SWilson4 @baentsch ?
Additional commit reverts the version reversion ...
This seems to prove the cause.
Also note that some annotations are added - just due to stderr when installing direct using ruby. Cosmetic, can be cleaned up if we want to go with a workaround
[macos (macos-14, -DOQS_USE_OPENSSL=OFF)](https://github.com/open-quantum-safe/liboqs/actions/runs/9317181419/job/25647067308#step:4:27)
Failed to load cask: gcc@13.rb Cask 'gcc@13' is unreadable: wrong constant name #<Class:0x000000014973f790>
Thanks for looking into this, @planetf1. The doxygen error should be resolved by syncing your fork so that it includes commit a23046ffcea9b16b6bf9e2a4dc9c045316134dc2.
I am OK with merging a workaround, as this does seem like a non-liboqs problem. However, I feel that we should leave this issue (or another one) open as a reminder to remove the workaround whenever possible.
Thanks @SWilson4 thought I was up to date. pushed update now, so hopefully will be cleaner (except the annotations)
My initial reason for doing this was to at least understand why the failure. Perhaps we could discuss in the dev call next week & decide if we want the workaround. If so we could use as-is (perhaps squash) or also cleanup the warnings (redirect!)
Thanks @planetf1 for investigating and adding the workaround!
@bhess My current plan is to share the findings at the OQS status call so we can discuss/agree. However if there is critical mass of agreement we could merge ahead of time. Another option to consider is moving to a later gcc version.
My current plan is to share the findings at the OQS status call so we can discuss/agree.
Sharing findings only at status calls is suboptimal for several reasons: 1) It slows down development 2) It robs non-participants of the option to check your findings 3) It eliminates the option for users to search github for "previously known issues" and learn from them
--> I'd strongly suggest always creating PRs that others can see and comment on. If they do not get merged, at least others (and posteriority) can see and learn; if they get merged, so much the better.
What I find troublesome is that these build failures did not get visible at top-level CI reporting (GH CI report not shown): Created #1827 to track.
@baentsch very much agree with you on ensuring we always share info through the github issues for all of those reasons - the status call should only be in addition, and as a reminder to review the comment. Hopefully the text here, did address that.
Good catch on addressing the status reporting.
It looks like the macos-13
and macos-14
runners now support GCC 14. Might it be worth jumping over 13.3.0 and going straight to 14 to see if that fixes the issue @planetf1?
Agreed. will aim to look at this in ~next day (won't be before status meeting).
Currently macOS builds are failing
Noted in PRs #1708, #1707
These are failing with gcc on macOS 13 & macOS 14
For example
macos-14, -DCMAKE_C_COMPILER=gcc-13 - reports the compiler as gcc 13.2.0
The current runner software versions are documented here.