Comments (7)
@dimitarvdimitrov Would be great to find out which commit actually broke it. Could you see if e31d79d works
@laszlocsomor maybe you have an idea?
from bazel-tools.
@ash2k Same issue there as well. After a bit of investigation, found that there is an extra space in the grep regex at
Line 20 in 20cbdb1
Removing it solved the problem.
Should I submit a PR for that?
from bazel-tools.
@dimitarvdimitrov : That extra space should be there: https://github.com/bazelbuild/bazel/blob/9eb2ef0d1feea9a08161ea0f8c16e3ac0a07064d/tools/bash/runfiles/runfiles.bash#L53
Let me try to repro this error locally.
from bazel-tools.
I fail to repro this on Linux. Do you only see this on macOS?
What's the output of:
grep 'bazel_tools/tools/bash/runfiles/runfiles.bash' bazel-out/darwin-fastbuild/bin/run_all.bash.runfiles_manifest
?
from bazel-tools.
@laszlocsomor Managed to dig up the problem; it is because of my GREP_OPTIONS=--color=always
.
Thanks for the help and sorry for bothering you guys with it.
Closing as it isn't an issue with bazel-tools
from bazel-tools.
Thanks for figuring that out! I wasn't aware GREP_OPTIONS
existed.
Maybe I should make the script runfiles.bash init code ignore it.
from bazel-tools.
@laszlocsomor I think the only safe/deterministic solution would be to completely shield grep from all environment variables using env grep ...
. Same with any other programs in that script (if any) - they can be influenced by an environment variable, if not today, maybe in the future.
from bazel-tools.
Related Issues (20)
- Failed to send SIGTERM, sending SIGKILL HOT 1
- roadmap for nogo, go modules, and generated code HOT 4
- Golangci-lint on generated code HOT 2
- Do not hard code version HOT 2
- Action Required: Fix Renovate Configuration
- Silence output in serial mode HOT 2
- Symlink cycle HOT 1
- golangci-lint rule should cache output results HOT 2
- golangcilint unable to load external deps HOT 1
- Run golangci-lint in a subfolder HOT 2
- Pick up default config file for golangci.yml HOT 1
- [multirun] ctrl-c will leave the started processes running HOT 3
- Fix $@ expansion
- [multirun] shorter labels HOT 3
- Support data attribute in multirun command HOT 2
- Support make variable substitution in command.args HOT 6
- Buildkite builds cannot report status
- use of multirun with ibazel HOT 2
- golangcilint: errors on generated file imports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-tools.