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

Fix Broken Dependency #12293

Merged
merged 4 commits into from
Apr 17, 2023
Merged

Fix Broken Dependency #12293

merged 4 commits into from
Apr 17, 2023

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Apr 17, 2023

What type of PR is this?

Dependency Fix

What does this PR do? Why is it needed?

This vendors the broken dependency into prysm so that we no longer will need to import it or any
of its forks.

Which issues(s) does this PR fix?

Supersedes #12292

Other notes for review

@nisdas nisdas added Ready For Review A pull request ready for code review dependencies Pull requests that update a dependency file labels Apr 17, 2023
@nisdas nisdas requested a review from a team as a code owner April 17, 2023 01:22
terencechain
terencechain previously approved these changes Apr 17, 2023
@nisdas nisdas merged commit 4862d57 into develop Apr 17, 2023
@delete-merged-branch delete-merged-branch bot deleted the fixBrokenDependency branch April 17, 2023 04:22
@prestonvanloon
Copy link
Member

prestonvanloon commented Apr 17, 2023

This PR breaks builds for windows.

bazel build --config=release --config=windows_amd64_docker  //cmd/beacon-chain //cmd/validator //cmd/client-stats //cmd/prysmctl

external/com_github_coreos_go_systemd/journal/journal.go:130:20: undefined: syscall.UnixRights

Comment on lines -11 to +14
deps = select({
"@io_bazel_rules_go//go/platform:android": [
"@com_github_wercker_journalhook//:go_default_library",
],
"@io_bazel_rules_go//go/platform:linux": [
"@com_github_wercker_journalhook//:go_default_library",
],
"//conditions:default": [],
}),
deps = [
"@com_github_coreos_go_systemd//journal:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this conditional again to restore windows builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants