Skip to content

bazel 4.0.0#69466

Closed
chenrui333 wants to merge 2 commits intoHomebrew:masterfrom
chenrui333:bump-bazel-4.0.0
Closed

bazel 4.0.0#69466
chenrui333 wants to merge 2 commits intoHomebrew:masterfrom
chenrui333:bump-bazel-4.0.0

Conversation

@chenrui333
Copy link
Copy Markdown
Member

action-homebrew-bump-formula


Created with brew bump-formula-pr.

@BrewTestBot BrewTestBot added java Java use is a significant feature of the PR or issue python Python use is a significant feature of the PR or issue labels Jan 21, 2021
@bayandin
Copy link
Copy Markdown
Contributor

bayandin commented Jan 21, 2021

Failed on 10.14 only:

ERROR: /private/tmp/bazel-20210121-22298-3itmz5/sources/third_party/ijar/BUILD:72:10: Compiling third_party/ijar/zip_main.cc failed: (Exit 1): wrapped_clang failed: error executing command 
  (cd /private/tmp/bazel_9Po2zcX3/out/execroot/io_bazel && \
  exec env - \
    APPLE_SDK_PLATFORM=MacOSX \
    APPLE_SDK_VERSION_OVERRIDE=10.15 \
    PATH=/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/[email protected]/bin:/usr/local/opt/openjdk@11/bin:/usr/bin:/bin:/usr/sbin:/sbin \
    XCODE_VERSION_OVERRIDE=11.3.1.11C504 \
  external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' '-std=c++11' -fdebug-compilation-dir . -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -isystem third_party/zlib -isystem bazel-out/darwin-opt/bin/third_party/zlib -MD -MF bazel-out/darwin-opt/bin/third_party/ijar/_objs/zipper/zip_main.d -DBLAZE_OPENSOURCE '-frandom-seed=bazel-out/darwin-opt/bin/third_party/ijar/_objs/zipper/zip_main.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=10.15' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c third_party/ijar/zip_main.cc -o bazel-out/darwin-opt/bin/third_party/ijar/_objs/zipper/zip_main.o)
Execution platform: //:default_host_platform
[21 / 75] 3 actions running
    Executing genrule //src/tools/xcode/realpath:realpath_genrule; 0s local
    Executing genrule //.../xcode/stdredirect:stdredirect_genrule; 0s local
    Compiling third_party/ijar/zip.cc; 0s local




clang: error: unknown argument: '-fdebug-compilation-dir'

APPLE_SDK_VERSION_OVERRIDE=10.15 \

Is this an expected behaviour on 10.14? Does bazel 4.0.0 it?

@soonho-tri
Copy link
Copy Markdown
Contributor

FYI, bazelbuild/bazel#12882

@bayandin
Copy link
Copy Markdown
Contributor

Thanks @soonho-tri!

I've added a patch, let see if it helps

@BrewTestBot
Copy link
Copy Markdown
Contributor

🤖 A scheduled task has triggered a merge.

@chenrui333 chenrui333 deleted the bump-bazel-4.0.0 branch January 24, 2021 04:01
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Feb 24, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

java Java use is a significant feature of the PR or issue outdated PR was locked due to age python Python use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants