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
endobson@yggdrasil () ~/proj/racket/racket-grpc % bazel fetch @trunk//:all (37)
.........
[4 / 4] Cloning https://github.com/mzhaom/trunk.git: Updating references (0 / 2)
java.lang.RuntimeException: Unrecoverable error while evaluating node 'GIT_CLONE:https://github.com/mzhaom/trunk.git -> /private/var/tmp/_bazel_endobson/c44540f7eaf5aad49840e43c8c60c881/external/trunk (a4daafd562215a9e088cfc8997970d1182523ff9) submodules: false' (requested by nodes 'GIT_REPOSITORY:@trunk')
at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:976)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$2.run(AbstractQueueVisitor.java:495)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Creating directories for /private/var/tmp/_bazel_endobson/c44540f7eaf5aad49840e43c8c60c881/external/trunk/third_party/libunwind/build/k8/include failed
at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:320)
at com.google.devtools.build.lib.bazel.repository.GitCloneFunction.compute(GitCloneFunction.java:131)
at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:940)
... 4 more
Caused by: java.io.IOException: Creating directories for /private/var/tmp/_bazel_endobson/c44540f7eaf5aad49840e43c8c60c881/external/trunk/third_party/libunwind/build/k8/include failed
at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:316)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:1149)
at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:450)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:396)
at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:263)
... 6 more
endobson@yggdrasil () ~/proj/racket/racket-grpc % bazel version (0)
.........
Build label: head (@3d84695)
Build target: bazel-out/local_darwin-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel-main_deploy.jar
Build time: Wed Nov 18 09:53:41 2015 (1447840421)
Build timestamp: 1447840421
Build timestamp as int: 1447840421
The text was updated successfully, but these errors were encountered:
I think this is because the git repo has a directory with a "BUILD" file and a subdirectory "build" which doesn't work on case insensitive file systems like mine. I'm not really sure what bazel can do in this case, but possibly something better than crashing and burning.
On the plus side, it doesn't fail as hideously anymore:
ERROR: no such package '@trunk//': Creating directories for /private/var/tmp/_bazel_kchodorow/16a1114002542b106523c47d490a1041/external/trunk/third_party/libunwind/build/k8/include failed.
On the downside, it's still not a great error message and this is from the guts of jgit (which just calls java.io.File.mkdir, which doesn't expose why a mkdir failed). I don't think there's anything more we can really do here.
Important section of workspace
Error message.
The text was updated successfully, but these errors were encountered: