bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Weird file being generated

Open kevmoo opened this issue 9 years ago • 5 comments

From @zoechi on November 1, 2016 11:36

I tried DDC with bazelify

 (master) $ bazelify serve
Building server via bazel...

WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.io/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
____Loading package: 
____Loading...
____Found 1 target...
____Building...
____[3 / 10] Compiling @build//:build with ddc
ERROR: /home/zoechi/.cache/bazel/_bazel_zoechi/3e443aaa6a6cf1824cc4980f306f0a94/external/dart_style/BUILD:25:1: Summarizing Dart library @dart_style//:dart_style (strong mode) failed: Worker process sent response with exit code: 15..
FileSystemException(path=external/dart_style/lib/src/._error_listener.dart; message=Failed to decode data using encoding 'utf-8')

Before I run bazelify serve I purged the ~/.pub-cache/hosted/pub.dartlang.org directory and the .pub directory and then run

pub upgrade
bazelify

(I had to change the BUILD file a bit because I didn't have an web/index.html but instead a web/dashboard_layout_demo.html which was not properly recognized everywhere.)

I don't know where this file comes from. It's not in the dart_style repo. Might have existed at the uploader of the dart_style package, therefore the dart_style repo might be the right place to file the issue but perhaps DDC shouldn't fail at such a file anyway:

image

Dart VM version: 1.21.0-edge.a850b4c977a5b177abe17864006657111d835840 (Mon Oct 31 18:04:44 2016) on "linux_x64"

Copied from original issue: dart-lang/sdk#27713

kevmoo avatar Nov 03 '16 18:11 kevmoo

From @anders-sandholm on November 3, 2016 12:43

@kevmoo

kevmoo avatar Nov 03 '16 18:11 kevmoo

From @jmesserly on November 3, 2016 18:16

is there a way of triaging bazelify/build issues? this does not look related to DDC itself.

kevmoo avatar Nov 03 '16 18:11 kevmoo

thanks Kevin :)

jmesserly avatar Nov 03 '16 19:11 jmesserly

What is the actual bug here? That file appears to exist in your pub cache, and not be an output of bazel.

Do we want to try and add support for files like this, or did the issue just go away?

jakemac53 avatar Feb 08 '17 21:02 jakemac53

@zoechi – you might want to revisit this w/ our latest stuff. Or wait for us to get it to a point where folks should start playing with it.

kevmoo avatar Feb 08 '17 21:02 kevmoo