bazel fetch //...
I get the errors below at different times. This happens with an empty WORKSPACE file and .bazelrc is the default from installation.
Any Ideas on what is causing this?
ERROR: /Users/erik/src/bazel/base_workspace/tools/j2objc/BUILD:10:1: no such package '@bazel-j2objc//': In new_http_archive rule //external:bazel-j2objc the 'build_file' attribute does not specify an existing file (/Users/erik/src/java/buck/third_party/java/j2objc/BUILD.remote does not exist) and referenced by '//tools/j2objc:j2objc'.
ERROR: /Users/erik/src/bazel/base_workspace/tools/build_defs/d/BUILD:18:1: no such package '@dmd-darwin-x86_64//': error loading package 'external': The repository named '@dmd-darwin-x86_64' could not be resolved and referenced by '//tools/build_defs/d:dmd'.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/b66e7912-3cb6-4405-b2ca-7d66a022c9c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm not sure where that rule is coming from. This is occurring on a clean bazel master with an empty project. Also the error varies:
mkdir proj && cd proj && touch WORKSPACE && bazel fetch //...
ERROR: /Users/erik/src/bazel/base_workspace/tools/build_defs/d/BUILD:18:1: no such package '@dmd-darwin-x86_64//': error loading package 'external': The repository named '@dmd-darwin-x86_64' could not be resolved and referenced by '//tools/build_defs/d:dmd'.
Could this be an issue with the installer not setting ~/.bazel up correctly?% diff -bur ~/.bazel/base_workspace ~/bazel/base_workspaceOnly in /home/admin/bazel/base_workspace: examplesOnly in /home/admin/bazel/base_workspace/third_party/ijar: testOnly in /home/admin/bazel/base_workspace/tools: androidOnly in /home/admin/bazel/base_workspace/tools/build_defs/sass: testOnly in /home/admin/bazel/base_workspace/tools/build_defs/scala: testOnly in /home/admin/bazel/base_workspace/tools/build_rules/rust: testdiff -bur /home/admin/.bazel/base_workspace/tools/defaults/BUILD /home/admin/bazel/base_workspace/tools/defaults/BUILD--- /home/admin/.bazel/base_workspace/tools/defaults/BUILD 1980-01-01 00:00:00.000000000 +0000+++ /home/admin/bazel/base_workspace/tools/defaults/BUILD 2015-10-26 20:06:56.652000000 +0000@@ -0,0 +1,2 @@+# At runtime, a package is synthesized in memory that corresponds+# the command-line flag settings.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAFenBsb2a%3DWONzd0tX%3Dt-hGQUrrdyYfcDw0gUyu4ezogo7sX_g%40mail.gmail.com.
TL;DR: Use "bazel fetch -- //... -//tools/..." as a workaround for now.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAFenBsb%3D_minCGircGyB1j%2BoOPr_eMBYqfYM4gLrCuuD8un1yQ%40mail.gmail.com.
Specify -//tools/... and -//third_party/...
This is definitely also happening to me. Any updates on a fix or workaround?
% bazel build :allINFO: Found 0 targets...INFO: Elapsed time: 0.396s, Critical Path: 0.00s% bazel query :allINFO: Empty results
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAFenBsYU8%3DPvttUUemZxkztAHtz7XzXRb2bFJPJusPuovxmydw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAMXKpGAHKxZvPU22Fe8PR51%3DKM%3DvT%3DvrqVQP_gGvgfxG2frkWA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAP01z6%2Bh%2BKZ3h%3DbGj7Y%2BEju%2BizDgis1gbNyfdh6w0VKYbsjtRw%40mail.gmail.com.