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

run server fails #38

Closed
HANSEMINATOR opened this issue Mar 7, 2022 · 2 comments
Closed

run server fails #38

HANSEMINATOR opened this issue Mar 7, 2022 · 2 comments

Comments

@HANSEMINATOR
Copy link

Hi

Doing the "yarn bazel run server -- -- -storage_path=." on current master HEAD yields:

INFO: Writing tracer profile to '/home/simonmm/.cache/bazel/_bazel_simonmm/952ff058d280e02422a08c25be80412e/command.profile.gz'
ERROR: /home/simonmm/Documents/tmp/schedviz/client/app/sidebar/BUILD.bazel:8:1: //client/app/sidebar:sidebar: no such attribute 'strict_templates' in 'ng_module' rule
ERROR: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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: /home/simonmm/Documents/tmp/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

I've rolled back to commit a932419 which works.

Regards

@JonKohler
Copy link

I hit this and did a bisect for the heck of it just to step through it, and 899d508 is the bad guy

899d508bed201d6d3cae341ed92a8b401538d706 is the first bad commit
commit 899d508bed201d6d3cae341ed92a8b401538d706
Author: SchedViz Bot <[email protected]>
Date:   Wed Feb 2 14:43:34 2022 -0800

    Internal change
    
    PiperOrigin-RevId: 425982348

:040000 040000 51c104c995d7c180b9334c580610e87c9e1f4b6d da211e25781bc9ff2254110f580d650f22486b08 M      client```

@sabarabc
Copy link
Contributor

I've reverted to a working commit. Google's version of Bazel has diverged from the open source version, which is the cause of the build being broken in the GitHub version of this repo.
The build will still be broken until #40 is fixed.

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

3 participants