-
Notifications
You must be signed in to change notification settings - Fork 4.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
git_repository target doesn't build, but build's on its own when local. #8811
Comments
This might be a bug with the build rules in yara, it looks like the cc_library target for yara needs some extract includes = [...] paths set. I'll leave this bug open though, just in case there is something weird with bazel here as it's unclear if it should have compiled at all in the first place. |
I'm surprised that it doesn't find hex_grammar.h. It might be an issue with cc_ rules, but I haven't investigated. |
This is a known issue with the cc_rules, we're working on it. The libryara actually passes the include directive for the private headers here. This will be fixed as part of #6790. |
This is still an issue with current Bazel. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
Description of the problem / feature request:
https://github.com/VirusTotal/yara includes a WORKSPACE and bazel BUILD files. If you clone this repository, I can successfully
bazel build :all
without issue. However if another workspace references this repository via git_repository, it will not build successfully.Included here is a complete walk through to reproduce...
All looks good? Now let's try this as a remote git repository in a clean workspace.
WORKSPACE contains the following...
The text was updated successfully, but these errors were encountered: