-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel build at/near head fails in multiple ways. #1191
Comments
@gkdn Is this something you're aware of? Can you speak to this at all? |
The problem here is the WORKSPACE definition in this repo is not accurate. However that file is only relevant for testing of the repo (which seems like lacking here). It is not used by the users of repo, they will actually have their own Since there are no local tests, it is possible that some of the targets are miss configured for open-source. If nobody used those libs, they wouldn't be a way to know it other then tests. We only have limited coverage of the libs in rules_closure side. Anyway, I will test the PR internally but I need a label for that; commented on it. |
I'll grant that basically all users will have their own Regardless: I'm glad to hear this is getting some attention. |
Is bazel an officially supported (and I would hope: tested) usage of google/closure-library? I ask because I'm seeing a lot of low hanging error that suggest some long standing bit-rot issues.
Reproduction:
The resulting error message is:
I"m building with 6.1.1:
That error seems to be a side effect of
@io_bazel_rules_closure//
being loaded viahttp_archive
without a neededstrip_prefix
. That can be bypassed via this patch:However, with that I then get the following error:
I haven't figured out how to bypass that.
NOTE: this seems to mostly be a workspace related issue as things build for the most part from a workspace that loads this repository:
The remaining issues seem to be a combination of
lenient
closure_js_library
rules that have nosrcs
, onlydeps
.closure_js_library
rules that should havetestonly=True
set. (No examples above, but I ran into those while digging on this.)The text was updated successfully, but these errors were encountered: