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

Bazel build error: target '@herumi_bls_eth_go_binary//:go_default_library' is not visible from target '//shared/bls:go_default_library'. #5506

Closed
ethers opened this issue Apr 19, 2020 · 6 comments

Comments

@ethers
Copy link

ethers commented Apr 19, 2020

Version c3217ab

ERROR prysm/shared/bls/BUILD.bazel:5:1: in go_library rule //shared/bls:go_default_library: target '@herumi_bls_eth_go_binary//:go_default_library' is not visible from target '//shared/bls:go_default_library'. Check the visibility declaration of the former target if you think the dependency is legitimate
ERROR: Analysis of target '//beacon-chain:beacon-chain' failed; build aborted: Analysis of target '//shared/bls:go_default_library' failed; build aborted
INFO: Elapsed time: 934.850s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (398 packages loaded, 9758 targets configured)
Fetching @com_github_btcsuite_btcd; fetching 21s

@ethers
Copy link
Author

ethers commented Apr 19, 2020

Still issue on 3377472

@nisdas
Copy link
Member

nisdas commented Apr 19, 2020

@ethers could you paste your build command from which you get the above error and what bazel version you are on ?

@ethers
Copy link
Author

ethers commented Apr 19, 2020

@nisdas Version
Build label: 1.2.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Nov 26 00:00:00 2019 (1574726400)
Build timestamp: 1574726400
Build timestamp as int: 1574726400

bazel build //beacon-chain:beacon-chain

Could herumi / #5453 be contributing? Is there a way to bypass it? I know pretty much nothing about Bazel, herumi, but can try commenting out things in some files with some guidance. Thanks

@prestonvanloon
Copy link
Member

prestonvanloon commented Apr 19, 2020 via email

@ethers
Copy link
Author

ethers commented Apr 19, 2020

Thanks I'll try that. Meantime prysmaticlabs/documentation#35

@ethers
Copy link
Author

ethers commented Apr 19, 2020

Definitely been building much more and I'll close hoping it all succeeds

@ethers ethers closed this as completed Apr 19, 2020
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