Skip to content
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

rules_swift is failing with Bazel@Head #1063

Closed
sgowroji opened this issue Jun 26, 2023 · 5 comments
Closed

rules_swift is failing with Bazel@Head #1063

sgowroji opened this issue Jun 26, 2023 · 5 comments

Comments

@sgowroji
Copy link
Member

sgowroji commented Jun 26, 2023

Downstream CI : https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3121#0188f04e-1a81-4e0a-855e-fccc45349718
rules_swift CI : https://buildkite.com/bazel/rules-swift-swift/builds/4323#0188f50d-3d92-4f4c-ad0b-b84e7c0ee849

Platform : MacOS

Logs:

error: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
int ZEXPORT compress2(dest, destLen, source, sourceLen, level)     

Steps:

git clone https://github.com/bazelbuild/rules_swift.git 
git reset ccfe6efee6e9e47a0fffbe796fe98574f963d6ad --hard
export USE_BAZEL_VERSION=7f7017a44ec40a2a6b22f1c52654e81906e50e4c
bazel build --enable_bzlmod //examples/...

CC Greenteam @comius

@keith
Copy link
Member

keith commented Jun 26, 2023

Are all CI machines on Xcode 14.3? If so we can merge the fix to this #1051

@keith
Copy link
Member

keith commented Jun 26, 2023

it looks like no, so that is kinda of hard to land since there isn't an easy way to conditionalize that setting based on the current Xcode version

@meteorcloudy
Copy link
Member

We still have a few machines to update /cc @fweikert

@fweikert
Copy link
Member

There are still ongoing problems with Xcode: bazelbuild/continuous-integration#1431 (comment)

@sgowroji
Copy link
Member Author

Closing this issue as the CI shows green now !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants