Closed Starkiller4011 closed 1 month ago
Hi @Starkiller4011, Can you provide an example code to reproduce the above error. Thanks!
Here is the project I used to see if the bug was related to my code or was something else. This also produces the same issue. It is worth noting that the issue only happens when running bazel from the mounted exfat drive.
|- WORKSPACE.bazel
|- app
| |- HelloWorld.cpp
| |- BUILD.bazel
WORKSPACE.bazel:
workspace(name = "HelloWorld")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "gtest",
remote = "https://github.com/google/googletest",
branch = "main",
)
app/BUILD.bazel:
load("@rules_cc//cc:defs.bzl", "cc_binary")
cc_binary(
name = "HelloWorld",
srcs = ["HelloWorld.cpp"],
)
app/HelloWorld.cpp:
#include <cstdlib>
#include <iostream>
int main(int argc, char** argv) {
std::cout << "Hello World\n";
return EXIT_SUCCESS;
}
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 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post @bazelbuild/triage
in a comment here and we'll take a look. Thanks!
Description of the bug:
I am working from a Manjaro install that has an exfat drive mounted to /proj with a umask of 0000. This drive must be exfat so that it can be shared between a Windows and Linux installation. I have a simple single file C++ project on this drive that will build and run when using
bazel build //app:foo
andbazel run //app:foo
but when building, bazel is unable to create the symbolic links and I get the following warning:What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
sudo mkdir /proj && sudo chmod 777 /proj
UUID=UUIDSTRING /proj exfat defaults,nofail,umask=0000 0 0
bazel build //app:HelloWorld
Which operating system are you running Bazel on?
Manjaro
What is the output of
bazel info release
?release 6.0.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response