Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Symlink cycle #57

Open
macduy opened this issue Apr 11, 2019 · 1 comment
Open

Symlink cycle #57

macduy opened this issue Apr 11, 2019 · 1 comment

Comments

@macduy
Copy link

macduy commented Apr 11, 2019

It looks like this line causes issues with newer versions of Bazel (I'm using 0.24.1):

ln -snf "$BUILD_WORKSPACE_DIRECTORY" "src/$PREFIX_DIR_PATH/$PREFIX_BASE_NAME"

When running e.g. bazel build //... I get:

ERROR: infinite symlink expansion detected
[start of symlink chain]
<WORKSPACE ROOT>/bazel-<WORKSPACE DIRECTORY>/bazel-<WORKSPACE DIRECTORY>
/private/var/tmp/_bazel_<USERNAM>/<HASH>/execroot/__main__/bazel-<WORKSPACE DIRECTORY>
<WORKSPACE ROOT>bazel-<WORKSPACE DIRECTORY>
[end of symlink chain]
@adam-rocska
Copy link

It'd be nice to have this fixed 😅

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

No branches or pull requests

2 participants