-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Xcode 16 incompatibility #23639
Comments
cc @keith |
Can you run You may have to rerun this command if something non-hermetic (such as Xcode) changes on your machine. |
After running
I'm still seeing the same error. |
Running Thanks! |
@meteorcloudy The behavior of I also noticed that |
@fmeum All sounds good to me! I can send a fix later this week. |
With `bazel fetch`, `--configure` and `--force` are now independent and both need to be specified to refetch configure repos. The docs did not reflect this correctly. Fixes bazelbuild#23639 Closes bazelbuild#23665. PiperOrigin-RevId: 676520136 Change-Id: I07040c743c2b047f8511d1a42ea94d858c520011
A fix for this issue has been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. |
Description of the bug:
After updating to XCode 16, got the following error
ERROR: XXX/BUILD:7:11: Compiling xxx.cpp failed: absolute path inclusion(s) found in rule '//XXX':
the source file 'xxx.cpp' includes the following non-builtin files with absolute paths (if these are builtin files, make sure these paths are in your toolchain):
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include/stdint.h'
Which category does this issue belong to?
C++ Rules
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Update to Xcode 16, and compile anything that uses 'stdint.h' (I would expect that this issue is not limited to stdint.h)
Which operating system are you running Bazel on?
MacOS 14.6.1
What is the output of
bazel info release
?release 7.3.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: