Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server is not running in Arch Linux #58

Open
lucastanure opened this issue Dec 12, 2023 · 0 comments
Open

Server is not running in Arch Linux #58

lucastanure opened this issue Dec 12, 2023 · 0 comments

Comments

@lucastanure
Copy link

I tried to run the server on my Arch Linux, but it doesn't run.
I installed yarn and bazel. I tried to run the command with yarn and without.
I am not familiar with yarn, so I coud use some help here.

 $ yarn --version
1.22.21

$ bazel --version
bazel 6.4.0

$ yarn bazel run server -- -- -storage_path=~/schedviz_traces
yarn run v1.22.21
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.
$ /workspace/neat/schedviz/node_modules/.bin/bazel run server -- '-storage_path=~/schedviz_traces'
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Writing tracer profile to '/home/tanureal/.cache/bazel/_bazel_tanureal/44a250536f8b1b544f60c8660768e4db/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
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: //client/app/sidebar:sidebar: no such attribute 'strict_templates' in 'ng_module' rule
ERROR: /workspace/neat/schedviz/client/app/sidebar/thread_table/BUILD.bazel:8:1: //client/app/sidebar/thread_table:thread_table: no such attribute 'strict_templates' in 'ng_module' rule
ERROR: /workspace/neat/schedviz/client/app/sidebar/settings_menu/BUILD.bazel:8:1: //client/app/sidebar/settings_menu:settings_menu: no such attribute 'strict_templates' in 'ng_module' rule
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar/settings_menu:settings_menu' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar/thread_table:thread_table' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar:sidebar.ts' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar:sidebar_module.ts' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar:sidebar.ng.html' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/sidebar/BUILD.bazel:8:1: Target '//client/app/sidebar:sidebar.css' contains an error and its package is in error and referenced by '//client/app/sidebar:sidebar'
ERROR: /workspace/neat/schedviz/client/app/dashboard/BUILD.bazel:8:1: Target '//client/app/sidebar:sidebar' contains an error and its package is in error and referenced by '//client/app/dashboard:dashboard'
ERROR: Analysis of target '//server:server' failed; build aborted: Analysis failed
INFO: Elapsed time: 102.455s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (122 packages loaded, 1089 targets configured)
FAILED: Build did NOT complete successfully (122 packages loaded, 1089 targets configured)
    Fetching @org_golang_x_sync; fetching
    Fetching @org_golang_google_grpc; Cloning 2fdaae294f38ed9a121193c51ec99fecd3b13eb7 of https://github.com/grpc/grpc-go
    Fetching @com_github_hashicorp_golang-lru; fetching
    Fetching @com_github_golang_protobuf; Cloning c823c79ea1570fb5ff454033735a8e68575d1d0f of https://github.com/golang/protobuf
    Fetching @com_github_google_uuid; fetching
    Fetching @build_bazel_rules_sass_deps; Running yarn install on @io_bazel_rules_sass//sass:package.json
    Fetching @com_github_workiva_go-datastructures; fetching
    Fetching @org_golang_x_tools; Cloning 589c23e65e65055d47b9ad4a99723bc389136265 of https://go.googlesource.com/tools ... (10 fetches)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

$ bazel run server -- -- -storage_path=~/schedviz_traces
Extracting Bazel installation...
Killed non-responsive server process (pid=105016)
Starting local Bazel server and connecting to it...
INFO: Reading rc options for 'run' from /workspace/neat/schedviz/.bazelrc:
  Inherited 'build' options: --host_force_python=PY2 --crosstool_top=@llvm_toolchain//:toolchain --incompatible_strict_action_env --incompatible_new_actions_api=false --experimental_allow_incremental_repository_updates --incompatible_depset_is_not_iterable=false
ERROR: --experimental_allow_incremental_repository_updates :: Unrecognized option: --experimental_allow_incremental_repository_updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant