Hit the following with ubuntu 20.04. README should specify this is required, similar to #44
doing sudo apt install libtinfo5 gets past the error
jon@jk-dev-ubuntu:~/git/schedviz$ sudo yarn bazel run server -- -- -storage_path="/home/jon/git/schedviz/traces"
yarn run v1.22.15
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ /home/jon/git/schedviz/node_modules/.bin/bazel run server -- -storage_path=/home/jon/git/schedviz/traces
INFO: Writing tracer profile to '/root/.cache/bazel/_bazel_root/5ea69f222941b39d1537fc221d7063a2/command.profile.gz'
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/12a2d801f69ca8fff9128a8044549d7cbac306f1.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: Analyzed target //server:server (6 packages loaded, 145 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/5ea69f222941b39d1537fc221d7063a2/external/com_google_protobuf/BUILD:388:1: C++ compilation of rule '@com_google_protobuf//:protoc' failed (Exit 127) clang failed: error executing command external/llvm_toolchain/bin/clang -U_FORTIFY_SOURCE -fstack-protector -fno-omit-frame-pointer -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 39 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/llvm_toolchain/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Target //server:server failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 31.316s, Critical Path: 1.82s
INFO: 8 processes: 4 linux-sandbox, 4 worker.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
jon@jk-dev-ubuntu:~/git/schedviz$
Hit the following with ubuntu 20.04. README should specify this is required, similar to #44
doing
sudo apt install libtinfo5
gets past the error