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

configure_in_place broken in bazel 0.28.1 #302

Closed
slam opened this issue Aug 7, 2019 · 0 comments · Fixed by #303
Closed

configure_in_place broken in bazel 0.28.1 #302

slam opened this issue Aug 7, 2019 · 0 comments · Fixed by #303

Comments

@slam
Copy link
Contributor

slam commented Aug 7, 2019

This only happens to rule_foreign_cc builds using the configure rule with configure_in_place turned on. It fails with an error like this:

__________________________PKG_CONFIG_PATH=
bazel-out/k8-opt/bin/external/com_facebook_faiss/faiss/logs/Configure_script.sh: line 74: /tmp/tmp.83MMt3zWJ8/configure: No such file or directory

_____ END BUILD LOGS _____

Narrowed it down to bazel changing the http archives in external to a symlink, like so:

$ ls -ld bazel-u4/external/com_facebook_faiss
lrwxrwxrwx 1 root root 91 Aug  7 01:06 bazel-u4/external/com_facebook_faiss -> /root/.cache/bazel/_bazel_root/129a8b5e1f972fe0890644e192abc210/external/com_facebook_faiss

vs bazel 0.27.0:

$ ls -ld bazel-ubiquity/external/com_facebook_faiss
drwxr-xr-x 2 root root 4096 Aug  7 01:15 bazel-ubiquity/external/com_facebook_faiss

PR incoming.

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

Successfully merging a pull request may close this issue.

1 participant