You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
slam
added a commit
to slam/rules_foreign_cc
that referenced
this issue
Aug 7, 2019
This only happens to
rule_foreign_cc
builds using the configure rule withconfigure_in_place
turned on. It fails with an error like this:Narrowed it down to bazel changing the http archives in
external
to a symlink, like so:vs bazel 0.27.0:
PR incoming.
The text was updated successfully, but these errors were encountered: