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

bazel: 3.3.1 -> 3.7.2 #105439

Merged
merged 7 commits into from
Feb 4, 2021
Merged

bazel: 3.3.1 -> 3.7.2 #105439

merged 7 commits into from
Feb 4, 2021

Conversation

avdv
Copy link
Member

@avdv avdv commented Nov 30, 2020

Motivation for this change

The rules_scala for Bazel has added support for Scala 2.13 lately. According to their compatibility matrix it requires at least Bazel 3.5.

Upgrading bazel in nixpkgs is blocked currently on dm-sonnet, since it needs the --incompatible_disable_deprecated_attr_params=false being passed to bazel, which has been removed in bazel 3.4.0 (bazelbuild/bazel@1ed9a07).

Currently, in order to build dm-sonnet, which depends on tensorflow 1, which in turn requires bazel 0.26, you have to build bazel 0.26 and bazel 3. The same is true for tensorflow-probability.

Using the same old bazel version to build dm-sonnet and tensorflow-probability which is a hard requirement for tensorflow 1 unblocks the situation for bazel 3.

Note that building dm-sonnet and tensorflow-probability is impossible since tensorflow 1 is broken right now: #104801

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip" (bazel-remote, bazel-watcher, gvisor build successfully -- I ran out of disk space when building tensorflow 2)
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

Fails to build on darwin:

�[1A�[K
�[1A�[K
�[1A�[K
�[1A�[K
�[1A�[K�[31m�[1mERROR: �[0m/private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_1Ml8wqkK/out/external/com_google_protobuf/BUILD:470:10: Linking of rule '@com_google_protobuf//:protoc' failed (Exit 1): cc_wrapper.sh failed: error executing command 
  (cd /private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_1Ml8wqkK/out/execroot/io_bazel && \
  exec env - \
    PATH=/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/dbkd1i670cdm3dzh3wxhq33lf2sgd37q-bash/bin:/nix/store/9nl3fcrs1xzszq57iwlf60xz2ydzbj8n-cctools-port-949.0.1/bin:/nix/store/1nfvgyd3yhkiz4f38a0706w2k01q1mk7-clang-wrapper-6.0.1/bin:/nix/store/q83w0lxfs9wfzabpjxs538f64aam50q2-clang-6.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/585a9hfx0j3s60w6acgx8amcbnwwqczk-cctools-binutils-darwin-wrapper-949.0.1/bin:/nix/store/l5707pca91sq99fd5fq4x84302zssyjj-cctools-binutils-darwin-949.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/7wyjz9l8m3fl3c93ws224af3s0nvhh3m-zulu1.8.0_202-8.36.0.1/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/xqc84l3pdvzcf313ldjhcg3vrrv1xs9v-diffutils-3.7/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/6qxcfbn03llkak3ylnyam2lpdxamydii-gnutar-1.32/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/ynxdp22ag51b67raxjklc0m3n71vdz28-bzip2-1.0.6.0.1-bin/bin:/nix/store/v09a9pk9kw8fp21af2hpyyxggbqhjczh-gnumake-4.3/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/cw9k1mzhlqp306sxsg12k24b3gki834v-patch-2.7.6/bin:/nix/store/vr0zvhpaggl74vbry14idx21vjjc6dqi-xz-5.2.5-bin/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/s7s7v2l731rz05idnbdprmjynlrd7n6b-gnutar-1.32/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/09cyn6fj29fic4k5q6h2h9vm103dhrp7-file-5.39/bin:/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin \
    PWD=/proc/self/cwd \
  external/local_config_cc/cc_wrapper.sh -o bazel-out/host/bin/external/com_google_protobuf/protoc bazel-out/host/bin/external/com_google_protobuf/_objs/protoc/main.o bazel-out/host/bin/external/com_google_protobuf/libprotoc_lib.a bazel-out/host/bin/external/com_google_protobuf/libprotobuf.a bazel-out/host/bin/external/com_google_protobuf/libprotobuf_lite.a bazel-out/host/bin/third_party/zlib/libzlib_checked_in.a -lpthread -lm -lpthread -lm -lpthread -lm -lpthread -lm '-stdlib=libc++' -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-F/nix/store/w9k2k0djxf6clhx5q4dz3f6k479cy2ww-apple-framework-CoreFoundation/Library/Frameworks -Wl,-F/nix/store/87ngq9bm636xg9kscijlmx4nndq559vn-apple-framework-CoreServices/Library/Frameworks -Wl,-F/nix/store/0q82bl61hakv566sanz8vb6kfg6w96ma-apple-framework-Foundation/Library/Frameworks -Wl,-S -undefined dynamic_lookup -headerpad_max_install_names -lstdc++ -lm)
Execution platform: //:default_host_platform
�[32m[902 / 924]�[0m 3 actions, 2 running
    @com_github_grpc_grpc//:grpc_lb_policy_xds; 2s local
    @com_github_grpc_grpc//src/compiler:grpc_cpp_plugin; 0s local
    [Sched] Linking src/main/cpp/util/libnumbers.a

�[1A�[K
�[1A�[K
�[1A�[K
�[1A�[K0  0x1095f1a51  __assert_rtn + 129
1  0x1097ca444  ld::passes::stubs::x86_64::classic::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pass&, ld::Atom const&, bool, bool) + 420
2  0x1097c7c6a  ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 2762
3  0x1097c8c5f  ld::passes::stubs::Pass::process(ld::Internal&) + 2511
4  0x1097c92c0  ld::passes::stubs::doPass(Options const&, ld::Internal&) + 128
5  0x1095f2ff4  main + 1860
A linker snapshot was created at:
	/tmp/protoc-2020-10-30-140946.ld-snapshot
ld: Assertion failed: (targetAtom != NULL), function Fixup, file ../../../../ld64/src/ld/ld.hpp, line 776.
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
�[32m[902 / 924]�[0m 3 actions, 2 running
    @com_github_grpc_grpc//:grpc_lb_policy_xds; 2s local
    @com_github_grpc_grpc//src/compiler:grpc_cpp_plugin; 0s local
    [Sched] Linking src/main/cpp/util/libnumbers.a

�[1A�[K
�[1A�[K
�[1A�[K
�[1A�[KTarget //src:bazel_nojdk failed to build
�[32m[905 / 924]�[0m checking cached actions

�[1A�[K�[31m�[1mERROR: �[0m/private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_src/src/main/cpp/BUILD:112:10 Linking of rule '@com_google_protobuf//:protoc' failed (Exit 1): cc_wrapper.sh failed: error executing command 
  (cd /private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_1Ml8wqkK/out/execroot/io_bazel && \
  exec env - \
    PATH=/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/dbkd1i670cdm3dzh3wxhq33lf2sgd37q-bash/bin:/nix/store/9nl3fcrs1xzszq57iwlf60xz2ydzbj8n-cctools-port-949.0.1/bin:/nix/store/1nfvgyd3yhkiz4f38a0706w2k01q1mk7-clang-wrapper-6.0.1/bin:/nix/store/q83w0lxfs9wfzabpjxs538f64aam50q2-clang-6.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/585a9hfx0j3s60w6acgx8amcbnwwqczk-cctools-binutils-darwin-wrapper-949.0.1/bin:/nix/store/l5707pca91sq99fd5fq4x84302zssyjj-cctools-binutils-darwin-949.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/7wyjz9l8m3fl3c93ws224af3s0nvhh3m-zulu1.8.0_202-8.36.0.1/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/xqc84l3pdvzcf313ldjhcg3vrrv1xs9v-diffutils-3.7/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/6qxcfbn03llkak3ylnyam2lpdxamydii-gnutar-1.32/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/ynxdp22ag51b67raxjklc0m3n71vdz28-bzip2-1.0.6.0.1-bin/bin:/nix/store/v09a9pk9kw8fp21af2hpyyxggbqhjczh-gnumake-4.3/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/cw9k1mzhlqp306sxsg12k24b3gki834v-patch-2.7.6/bin:/nix/store/vr0zvhpaggl74vbry14idx21vjjc6dqi-xz-5.2.5-bin/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/s7s7v2l731rz05idnbdprmjynlrd7n6b-gnutar-1.32/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/09cyn6fj29fic4k5q6h2h9vm103dhrp7-file-5.39/bin:/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin \
    PWD=/proc/self/cwd \
  external/local_config_cc/cc_wrapper.sh -o bazel-out/host/bin/external/com_google_protobuf/protoc bazel-out/host/bin/external/com_google_protobuf/_objs/protoc/main.o bazel-out/host/bin/external/com_google_protobuf/libprotoc_lib.a bazel-out/host/bin/external/com_google_protobuf/libprotobuf.a bazel-out/host/bin/external/com_google_protobuf/libprotobuf_lite.a bazel-out/host/bin/third_party/zlib/libzlib_checked_in.a -lpthread -lm -lpthread -lm -lpthread -lm -lpthread -lm '-stdlib=libc++' -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-F/nix/store/w9k2k0djxf6clhx5q4dz3f6k479cy2ww-apple-framework-CoreFoundation/Library/Frameworks -Wl,-F/nix/store/87ngq9bm636xg9kscijlmx4nndq559vn-apple-framework-CoreServices/Library/Frameworks -Wl,-F/nix/store/0q82bl61hakv566sanz8vb6kfg6w96ma-apple-framework-Foundation/Library/Frameworks -Wl,-S -undefined dynamic_lookup -headerpad_max_install_names -lstdc++ -lm)
Execution platform: //:default_host_platform
�[32m[905 / 924]�[0m checking cached actions

�[1A�[K�[32mINFO: �[0mElapsed time: 418.811s, Critical Path: 45.58s
�[32m[905 / 924]�[0m checking cached actions

�[1A�[K�[32mINFO: �[0m905 processes: 107 internal, 798 local.
�[32m[905 / 924]�[0m checking cached actions

�[1A�[K�[31m�[1mFAILED:�[0m Build did NOT complete successfully

�[1A�[K�[31m�[1mFAILED:�[0m Build did NOT complete successfully
�[0m
ERROR: Could not build Bazel

@avdv
Copy link
Member Author

avdv commented Nov 30, 2020

@SuperSandro2000 That seems to be the same error you got here: #102230 (comment) for libretro.gambatte

Are you sure your mac is still working properly? (just asking since this error seems to be really rare, and you hit it twice already -- without anyone else seeing it... ❓ )


Seems like libmodplug broke in eval 1628634, when the changes for big sur where merged: #98541 (changes)

Could this be a reason for those linker errors?

@ofborg ofborg bot requested a review from kalbasit November 30, 2020 21:29
@uri-canva
Copy link
Contributor

I get a build failure on macOS:

ERROR: /private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_src/third_party/ijar/BUILD:79:10: Linking of rule '//third_party/ijar:ijar' failed (Exit 1): cc_wrapper.sh failed: error executing command
  (cd /private/tmp/nix-build-bazel-3.7.1.drv-0/bazel_jVDIAoo7/out/execroot/io_bazel && \
  exec env - \
    PATH=/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/dbkd1i670cdm3dzh3wxhq33lf2sgd37q-bash/bin:/nix/store/9nl3fcrs1xzszq57iwlf60xz2ydzbj8n-cctools-port-949.0.1/bin:/nix/store/1nfvgyd3yhkiz4f38a0706w2k01q1mk7-clang-wrapper-6.0.1/bin:/nix/store/q83w0lxfs9wfzabpjxs538f64aam50q2-clang-6.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/585a9hfx0j3s60w6acgx8amcbnwwqczk-cctools-binutils-darwin-wrapper-949.0.1/bin:/nix/store/l5707pca91sq99fd5fq4x84302zssyjj-cctools-binutils-darwin-949.0.1/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/7wyjz9l8m3fl3c93ws224af3s0nvhh3m-zulu1.8.0_202-8.36.0.1/bin:/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/xqc84l3pdvzcf313ldjhcg3vrrv1xs9v-diffutils-3.7/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/6qxcfbn03llkak3ylnyam2lpdxamydii-gnutar-1.32/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/ynxdp22ag51b67raxjklc0m3n71vdz28-bzip2-1.0.6.0.1-bin/bin:/nix/store/v09a9pk9kw8fp21af2hpyyxggbqhjczh-gnumake-4.3/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/cw9k1mzhlqp306sxsg12k24b3gki834v-patch-2.7.6/bin:/nix/store/vr0zvhpaggl74vbry14idx21vjjc6dqi-xz-5.2.5-bin/bin:/nix/store/k89nm2jva0qmvd970f84wq2iq1iwm9bs-bash-4.4-p23/bin:/nix/store/66swkp2v4ign5d7ygs32wld4jwwpyknj-coreutils-8.32/bin:/nix/store/nggf2cl7ksb7ndzcl4nvb6c8hpklyaf8-findutils-4.7.0/bin:/nix/store/sid02y809av1wzc0wp9wkar308ry1sqd-gawk-5.1.0/bin:/nix/store/m2b4kl67rbj0yazivr09iyxmykpp2q0z-gnugrep-3.5/bin:/nix/store/s7s7v2l731rz05idnbdprmjynlrd7n6b-gnutar-1.32/bin:/nix/store/8h9dbc09qhr3s760qll6p6011jw5k8gb-gnused-4.8/bin:/nix/store/xzjx4kcl75c0dbv7018709gsl16gvywr-gzip-1.10/bin:/nix/store/0kr56m7izdl3vjd1z3z93mbbbxj5dilv-which-2.21/bin:/nix/store/0mck84ig5kb8shfimbyh95q1l1l76q7b-unzip-6.0/bin:/nix/store/09cyn6fj29fic4k5q6h2h9vm103dhrp7-file-5.39/bin:/nix/store/xyk4jplzpxb6p8cm3widrk7ziaa0fzhv-zip-3.0/bin \
    PWD=/proc/self/cwd \
  external/local_config_cc/cc_wrapper.sh -o bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/ijar bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/_objs/ijar/classfile.o bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/_objs/ijar/ijar.o bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/libzip.a bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/libplatform_utils.a bazel-out/darwin-opt-exec-EDC14992/bin/src/main/cpp/util/libfilesystem.a bazel-out/darwin-opt-exec-EDC14992/bin/src/main/cpp/util/liberrors.a bazel-out/darwin-opt-exec-EDC14992/bin/src/main/cpp/util/libport.a bazel-out/darwin-opt-exec-EDC14992/bin/src/main/cpp/util/liblogging.a bazel-out/darwin-opt-exec-EDC14992/bin/src/main/cpp/util/libstrings.a bazel-out/darwin-opt-exec-EDC14992/bin/third_party/ijar/libzlib_client.a bazel-out/darwin-opt-exec-EDC14992/bin/third_party/zlib/libzlib_checked_in.a '-stdlib=libc++' -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-L/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib -Wl,-L/nix/store/cbs1calcw6xh6dz7r1mxkijw4v4rgd1a-libc++-7.1.0/lib -Wl,-L/nix/store/3wnhbj0xfipva23yvnrgcfjlv924r12a-objc4-osx-10.12.6/lib -Wl,-L/nix/store/byirfzwb54iv0v56mj1crld2sg6z8qkv-libc++-6.0.1/lib -Wl,-L/nix/store/c00xjsrg94dynv1wx18jxhcsh15547b2-libc++abi-6.0.1/lib -Wl,-L/nix/store/yckj2fwd8rb0h35w7zbz800q7kzkh9l7-compiler-rt-6.0.1/lib -Wl,-F/nix/store/w9k2k0djxf6clhx5q4dz3f6k479cy2ww-apple-framework-CoreFoundation/Library/Frameworks -Wl,-F/nix/store/87ngq9bm636xg9kscijlmx4nndq559vn-apple-framework-CoreServices/Library/Frameworks -Wl,-F/nix/store/0q82bl61hakv566sanz8vb6kfg6w96ma-apple-framework-Foundation/Library/Frameworks -Wl,-S -undefined dynamic_lookup -headerpad_max_install_names -lstdc++ -lm)
Execution platform: //:default_host_platform
[531 / 2,164] 15 actions running
    @com_google_protobuf//:protoc_lib; 9s local
    @com_google_protobuf//:protobuf_lite; 4s local
    @com_google_protobuf//:protobuf_lite; 4s local
    Compiling src/main/cpp/startup_options.cc; 1s local
    @com_github_grpc_grpc//:grpc_lb_policy_xds; 1s local
    Compiling upb/upb/encode.c; 1s local
    Compiling src/main/cpp/rc_file.cc; 0s local
    Compiling src/main/cpp/util/errors_posix.cc; 0s local ...
0  0x103e67a51  __assert_rtn + 129
1  0x104040444  ld::passes::stubs::x86_64::classic::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pass&, ld::Atom const&, bool, bool) + 420
2  0x10403dc6a  ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 2762
3  0x10403ec5f  ld::passes::stubs::Pass::process(ld::Internal&) + 2511
4  0x10403f2c0  ld::passes::stubs::doPass(Options const&, ld::Internal&) + 128
5  0x103e68ff4  main + 1860
6  0x7fff68dc3cc9  start + 1
A linker snapshot was created at:
        /tmp/ijar-2020-11-01-111228.ld-snapshot
ld: Assertion failed: (targetAtom != NULL), function Fixup, file ../../../../ld64/src/ld/ld.hpp, line 776.
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)

@avdv
Copy link
Member Author

avdv commented Dec 1, 2020

@uri-canva seems to be the same error as #105439 (comment)

I think if we find out why libmodplug fails with that error too since 21. november, that can be fixed for bazel also?!

@uri-canva
Copy link
Contributor

You're right, in fact that build failure exists regardless of this PR.

@SuperSandro2000
Copy link
Member

Could this be a reason for those linker errors?

Could be but I am not that deep into the big sur update to fully understand it.

@avdv
Copy link
Member Author

avdv commented Dec 2, 2020

Since bazel 3.3.1 fails with the same error on hydra, should we just mark this package as broken on darwin?

@uri-canva
Copy link
Contributor

If we mark it as broken it will stop being built right? That means that even if it gets fixed by a more general big sur fix we won't notice. Since it was broken by a more general change, it's likely it will be fixed by a general change too.

@avdv
Copy link
Member Author

avdv commented Dec 3, 2020

If we mark it as broken it will stop being built right? That means that even if it gets fixed by a more general big sur fix we won't notice. Since it was broken by a more general change, it's likely it will be fixed by a general change too.

Right, but bazel is quite huge, compared to libmodplug for example. We could monitor libmodplug builds (I created #105537 to track this) and could re-enable bazel when libmodplug no longer fails. I guess this would reduce power consumption by some order...

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Dec 3, 2020

If we mark it as broken it will stop being built right?

You can't build it on darwin at all.

That means that even if it gets fixed by a more general big sur fix we won't notice.

Yeah but otherwise we get failures until it is fixed which is not great especially when other PRs see failing builds in their nixpkgs-review.

Since it was broken by a more general change, it's likely it will be fixed by a general change too.

I wouldn't count on that.

If you mark it as broken on darwin I would merge it.

@avdv
Copy link
Member Author

avdv commented Dec 3, 2020

If you mark it as broken on darwin I would merge it.

👌 Done.

@ofborg ofborg bot requested a review from lukegb February 2, 2021 17:42
@avdv
Copy link
Member Author

avdv commented Feb 2, 2021

builder for '/nix/store/8j2glkr3bwf5l2r4jwxn1xqpsr7a0hd1-envoy-1.16.2.drv' failed with exit code 1; last 10 log lines:
  patching file test/extensions/quic_listeners/quiche/platform/spdy_platform_test.cc
  patching file test/extensions/quic_listeners/quiche/test_proof_source.h
  patching file test/extensions/quic_listeners/quiche/test_utils.h
  applying patch /nix/store/jb1r2ja3b3j30a4jr73rfh0flg8vbicm-0002-Add-upb-patch-to-make-it-compile-under-GCC10.patch
  patching file bazel/repositories.bzl
  patching file bazel/upb2.patch
  configuring
  fixed output derivation was built for a different bazel version
       got: bazel-3.3.1
  expected: bazel-3.7.2

@SuperSandro2000 I've pushed a commit to address envoy too.

Copy link
Contributor

@lukegb lukegb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Envoy fix LGTM, thanks!

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Feb 2, 2021

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 105439 run on x86_64-darwin 1

12 packages marked as broken and skipped:
  • bazel-watcher
  • python37Packages.arviz
  • python37Packages.graph_nets
  • python37Packages.optuna
  • python37Packages.pymc3
  • python37Packages.rl-coach
  • python38Packages.arviz
  • python38Packages.graph_nets
  • python38Packages.optuna
  • python38Packages.pymc3
  • python38Packages.rl-coach
  • python39Packages.graph_nets
1 package failed to build and are new build failure:
1 package built:
  • bazel (bazel_3)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

bazel:

Please consider this feature to be alpha.

A substituteInPlace with an unmatched pattern got detected:

substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/msys_gcc_installation_error.bat'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/generate_system_module_map.sh'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.empty'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/toolchain_utils.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/vc_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/armeabi_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/compiler_flag.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.static.bsd'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_test.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.h'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/bsd_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/lib_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.toolchains.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/clang_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.windows.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/osx_cc_configure.bzl'

Please check the offending substituteInPlace for typos or changes in source.

Do you have an idea about bazel_remote? If not we could mark it broken on darwin.

@SuperSandro2000
Copy link
Member

Is this related?

hash mismatch in fixed-output derivation '/nix/store/cljnyq0cby3m6mi0lccjh508ap7429xx-tensorflow-2.4.0-deps.tar.gz':
  wanted: sha256:0615mj7jg04zc8i2095wr0icllzq1i5q0kvigjc7jkzghlrkibby
  got:    sha256:0s8q5rxq8abr50c5jpwv96ncfc0k8jw7w70ri8viqy031g9v9v45

@avdv
Copy link
Member Author

avdv commented Feb 3, 2021

Do you have an idea about bazel_remote? If not we could mark it broken on darwin.

Seems to be the same problem as with bazel-watcher. (see #105669 (comment))

I tried to build bazel-watcher on top of this PR and it failed in the same way - cannot find a standard C++ header.

This might indicate a serious problem with bazel on Darwin and probably needs attention separately. I'll mark it as broken for now...

@avdv
Copy link
Member Author

avdv commented Feb 3, 2021

Is this related?

hash mismatch in fixed-output derivation '/nix/store/cljnyq0cby3m6mi0lccjh508ap7429xx-tensorflow-2.4.0-deps.tar.gz':
  wanted: sha256:0615mj7jg04zc8i2095wr0icllzq1i5q0kvigjc7jkzghlrkibby
  got:    sha256:0s8q5rxq8abr50c5jpwv96ncfc0k8jw7w70ri8viqy031g9v9v45

Let me have a look...

Oh, yes of course. tensorflow 2 was moved / renamed to tensorflow.

avdv and others added 4 commits February 3, 2021 10:44
* update sha256 for gvisor, tensorflow{,WithCuda}, bazel-watcher, bazel-remote
  and envoy
Use the same JDK for building bazel and for its runtime.

Effectively, the former `toolchain_hostjdk8` java toolchain has been deprecated
and should no longer be used (in newer bazel)[1]:

```
# Deprecated, do not use.
# It will be removed after migration to Java toolchain resolution.
default_java_toolchain(
    name = "toolchain_hostjdk8",
    ...
)
```

[1]: https://github.com/bazelbuild/bazel/blob/4fc48680653a71aacbfd555436ba8f9a0742d3d9/tools/jdk/BUILD.tools#L384-L387
* use default stdenv (clang 7)
* add no-arc.patch to make the xcode_locate tool compile without libarc-lite
* remove the `-mmacosx-version-min=10.9` flag from the bootstrap compile script
@avdv
Copy link
Member Author

avdv commented Feb 3, 2021

I have fixed up the "bazel: 3.7.1 -> 3.7.2" commit with changed hashes for tensorflow{,WithCuda}. @SuperSandro2000 PTAL

... and I have marked bazel-remote as broken on Darwin.

@groodt
Copy link
Contributor

groodt commented Feb 3, 2021

@avdv I think Sandro might want you to fix the last commit according to the style guide.

The last commit does not follow the contributing guide.

@ofborg ofborg bot requested a review from lukegb February 3, 2021 10:03
@groodt
Copy link
Contributor

groodt commented Feb 3, 2021

It currently fails during compilation because C++ standard
header files cannot be found.
@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Feb 4, 2021

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 105439 run on x86_64-linux 1

14 packages marked as broken and skipped:
  • python37Packages.arviz
  • python37Packages.dm-sonnet
  • python37Packages.graph_nets
  • python37Packages.optuna
  • python37Packages.pymc3
  • python37Packages.rl-coach
  • python38Packages.arviz
  • python38Packages.dm-sonnet
  • python38Packages.graph_nets
  • python38Packages.optuna
  • python38Packages.pymc3
  • python38Packages.rl-coach
  • python39Packages.dm-sonnet
  • python39Packages.graph_nets
4 packages built:
  • bazel (bazel_3)
  • bazel-remote
  • bazel-watcher
  • gvisor

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

bazel:

Please consider this feature to be alpha.

A substituteInPlace with an unmatched pattern got detected:

substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_test.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.h'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/vc_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/toolchain_utils.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/osx_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/msys_gcc_installation_error.bat'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/lib_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/generate_system_module_map.sh'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/compiler_flag.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/clang_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/bsd_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/armeabi_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.windows.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.toolchains.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.static.bsd'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.empty'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD'

Please check the offending substituteInPlace for typos or changes in source.

Fine for me.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 105439 run on x86_64-darwin 1

13 packages marked as broken and skipped:
  • bazel-remote
  • bazel-watcher
  • python37Packages.arviz
  • python37Packages.graph_nets
  • python37Packages.optuna
  • python37Packages.pymc3
  • python37Packages.rl-coach
  • python38Packages.arviz
  • python38Packages.graph_nets
  • python38Packages.optuna
  • python38Packages.pymc3
  • python38Packages.rl-coach
  • python39Packages.graph_nets
1 package built:
  • bazel (bazel_3)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

bazel:

Please consider this feature to be alpha.

A substituteInPlace with an unmatched pattern got detected:

substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/test/InstrumentedFilesInfo.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/OutputDirectories.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/CommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShellConfiguration.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BashCommandConstructor.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/actions/LauncherFileWriteAction.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/ShToolchain.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/analysis/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandFailureUtils.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/util/CommandBuilder.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/shell/Command.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/LinuxSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/repository/StripPrefixedPath.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java.orig'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r12/AndroidNdkCrosstoolsR12.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/NdkPaths.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/r11/AndroidNdkCrosstoolsR11.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ActionExecutionMetadata.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/actions/ArtifactRoot.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/genrule/GenRuleBaseRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuntimeRule.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCompilationContext.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/cpp/LibrariesToLinkCollector.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_instrumentation_test_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/android/android_device_stub_template.txt'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/lib/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/PredefinedAttributes.java'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env bash' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env python' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/usr/bin/env' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/true' doesn't match anything in file 'src/main/java/com/google/devtools/build/docgen/templates/be/make-variables.vm'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/msys_gcc_installation_error.bat'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/generate_system_module_map.sh'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.empty'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/toolchain_utils.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/vc_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/armeabi_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/compiler_flag.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.static.bsd'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD.tools'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_test.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.h'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/runfiles/runfiles_src.cc'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/bsd_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/empty_cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/lib_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_flags_supplier_lib.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.toolchains.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/windows_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/clang_installation_error.bat.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/unix_cc_configure.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/cc_toolchain_config.bzl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/BUILD.windows.tpl'
substituteStream(): WARNING: pattern '/bin/bash' doesn't match anything in file 'tools/cpp/osx_cc_configure.bzl'

Please check the offending substituteInPlace for typos or changes in source.

@SuperSandro2000 SuperSandro2000 merged commit 8a4a984 into NixOS:master Feb 4, 2021
divanorama added a commit to divanorama/nixpkgs that referenced this pull request Feb 4, 2021
Bazel 4 is going to be a long term support release.

Latest version in NixPkgs so far was 3.3.1
There's a need for more recent version
NixOS#97497

All versions from 3.5.0 to 3.7.1 had some reproducibility issues
as noted in issue above, but there also seems to be
a working PR for 3.7.1 now at
NixOS#105439

Notable changes from bazel_3 setup:
- put python to default bash path

  For autodetecting python toolchain
  with strict action_env on and without this change
  bazel would fail to autodetect host python.

  There are some repos that define hermetic python
  toolchains, but they aren't easy to use yet. Also
  telling python paths to bazel isn't a 1-liner it
  seems:
  - action_env=PATH would affect cache
  - declaring toolchain via BUILD&WORKSPACE files
    is not per-user but more like per-repo and
    affects cache too

  Using python from nixpkgs shouldn't be too bad
  in the lack of simpler hermetic python toolchain
  options

- bazel_4.updater is bazel on `bazel query` to support
  new constructs in WORKSPACE (load of vars, transitive
  load etc). This is more robust but requires bazel
  to run the updater, using bazel_3 for now. This is
  only needed to bump package version, doesn't introduce
  bazel_4 build dependency on bazel_3

https://blog.bazel.build/2020/11/10/bazel-4.0-announce.html
https://blog.bazel.build/2020/11/10/long-term-support-release.html
bazelbuild/bazel#12455
https://github.com/bazelbuild/bazel/releases/tag/4.0.0
https://blog.bazel.build/2021/01/19/bazel-4-0.html
@avdv avdv deleted the bazel_3.7.1 branch February 4, 2021 22:26
@avdv
Copy link
Member Author

avdv commented Feb 4, 2021

Thank you @SuperSandro2000 !

@teto
Copy link
Member

teto commented Feb 4, 2021

I am trying to add execlog to our bazel package in #111975 , if you have advice on how to fix my error, advice welcome :)

@uri-canva
Copy link
Contributor

Congratulations @avdv, this was quite the challenging upgrade! Thanks for sticking with it.

@virusdave
Copy link
Contributor

Wow, amazing work all!

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

Successfully merging this pull request may close these issues.