bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
23k stars 4.03k forks source link

Blaze version of `unavailable_xcode_message` is being used, instead of bazel version #22081

Open brentleyjones opened 5 months ago

brentleyjones commented 5 months ago

Description of the bug:

unavailable_xcode_message from src/main/starlark/builtins_bzl/common/xcode/semantics.bzl is being used in Bazel, instead of from src/main/starlark/builtins_bzl/common/xcode/semantics.bzl.oss.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

DEBUG: /virtual_builtins_bzl/common/xcode/xcode_config.bzl:255:18: --xcode_version=5.1.2 specified, but it is not available locally. Your build will fail if any actions require a local Xcode. If you believe you have '5.1.2' installed, try running 'sudo xcode-select -s <FULL_PATH_TO_XCODE_YOU_WANT>',and then re-run your command. Locally available versions: 8.4. 

Which operating system are you running Bazel on?

No response

What is the output of bazel info release?

No response

If bazel info release returns development 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

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

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

brentleyjones commented 5 months ago

@susinmotion Something with copybara needs to be adjusted so the .oss version is used for Bazel.