-
Notifications
You must be signed in to change notification settings - Fork 169
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
CCryptoBoringSSL_ex_data.h:207:8: note: definition has no member 'ctx' #243
Comments
We're also having similar errors in Penny's tests: vapor/penny-bot#208 |
@MahdiBM I'll try and take a look at this tomorrow. Looks like there are a couple of issues caused by our BoringSSL vendoring in the latest release, for which we needed to drop the |
@MahdiBM Looking at your CI output, I think your issue may not be the same as that in this issue description. You have these failures:
This should be addressed by #245. I'll ping you when we release that one and we can use this issue to investigate the OP issue. |
@MahdiBM https://github.com/apple/swift-crypto/releases/tag/3.5.1 should hopefully resolve your penny build. |
@simonjbeaumont I think it's not necessary because I just tried 3.5.1 and it fixes the issue, thank you very much! |
@diegotl thanks for confirming, and that's good to hear. |
I have chatted with @MahdiBM offline and 3.5.1 wasn't enough to fix for penny https://github.com/vapor/penny-bot/actions/runs/9767425786/job/26962669715?pr=211. |
That's interesting, what I did was set 3.5.1 and built the module myself on Ubuntu (same as I was doing when I opened the issue) and it worked. For this I reported as fixed. But Github actions failed to build the tests when I commited the change. Will do more tests today and try to provide a minimal project with the problem. |
@diegotl while surprising, that tallies with what I expect after my investigations. Specifically, this kind of error (where the compiler complains about conflicting symbols) causes a build error BUT it has emitted the module. That means (very surprisingly) if you just run This is why we're more likely to see projects fail in CI because they always do a clean build. It would be very helpful if you could confirm that for me. Specifically confirm that:
Now, this is not a fix but it will be useful data because I feel we should file a bug report on the Swift compiler for that. |
@simonjbeaumont Just tried it here, step 1 fails but step 2 also fails! Haven't tried #246 yet, but for now here's a sample project that fails to build. Will test the proposal later today when I find a little time. Thank you! |
I can confirm Penny's problem is solved: vapor/penny-bot#212 Thanks @simonjbeaumont 🙂 |
Yes, #246 is good! Thank you @simonjbeaumont! |
New Issue Checklist
main
branch)Expected behavior
Build to succeed
Actual behavior
Since yesterday evening when I resolve package and build a certain Vapor swift package, this error pops up:
Seems to be related to 3.5.0 release, because I see no issues when forcing 3.4.0 in Package.swift.
Steps to reproduce
Happens in a private repo but I can provide access upon request.
If possible, minimal yet complete reproducer code (or URL to code)
swift package resolve
swift package update
swift build -c release
Swift Crypto version/commit hash
3.5.0 / 33f65a3
Environment
Stand in the root of the repo and run
./scripts/environment.sh
and paste the output belowThe text was updated successfully, but these errors were encountered: