I've got two errors building mosh-chrome:
1) What version of bazel are you using to build mosh-chrome? The current version of bazel is 0.4.5, but you have tagged io_bazel to 0.3.0 in the top level WORKSPACE fiile
If using bazel 0.4.5 you will get an error using the io_bazel tag 0.3.0 building protobuf.
I downgraded to bazel 0.3.2, and now get the following warnings instead of of a cryptic error in bazel 0.4.5.
WARNING: /home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/external/io_bazel/third_party/protobuf/protobuf.bzl:95:19: Variables HOST_CFG and DATA_CFG are deprecated in favor of strings "host" and "data" correspondingly.
WARNING: /home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/external/io_bazel/third_party/protobuf/protobuf.bzl:101:28: Variables HOST_CFG and DATA_CFG are deprecated in favor of strings "host" and "data" correspondingly.
2) The second error I have no idea how to get around this. I run the following command:
bazel build //:mosh_chrome_dev --config=pnacl
The following error gets printed out. looks like the header files are not downloaded/extracted? bazel complains about different source files each time, but the headers are pretty much are the same.
ERROR: /home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/external/libssh/BUILD:8:1: undeclared inclusion(s) in rule '@libssh//:libssh':
this rule is missing dependency declarations for the following files included by 'external/libssh/src/packet_crypt.c':
'/home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/bazel-sandbox/5f078b5d-edc7-4b8c-a3eb-244f6775b450-17/execroot/mosh-chrome/external/nacl_sdk/toolchain/linux_pnacl/le32-nacl/include/assert.h'
...
ERROR: /home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/external/libssh/BUILD:8:1: undeclared inclusion(s) in rule '@libssh//:libssh':
this rule is missing dependency declarations for the following files included by 'external/libssh/src/external/curve25519_ref.c':
'/home/edsouza/.cache/bazel/_bazel_edsouza/519fa9779a1f3bc07135a6b64620b0bf/bazel-sandbox/35eff48a-4124-4d15-a02f-0aaf713d2ab2-5/execroot/mosh-chrome/external/nacl_sdk/toolchain/linux_pnacl/le32-nacl/include/unistd.h'
Any help would be greatly appreciated.
--
Ellery D'Souza
I was able to successfully build mosh-chrome using the following, but this disables the sandbox:
bazel build //:mosh_chrome_dev --config=pnacl --verbose_failures --local_resources 4096,1.0,1.0 --spawn_strategy=standalone
--
You received this message because you are subscribed to a topic in the Google Groups "Mosh for Chrome Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mosh-chrome-users/4tFmuFgz1Hk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mosh-chrome-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to mosh-chrome-us...@googlegroups.com.