我正在尝试编译以下苍鹭分支
https://github.com/twitter/heron/tree/karthik/pexbuild
在ubuntu 15.10中使用bazel 0.3.1。在工作区中,我指的是另一个包含pex bazel规则的回购
https://github.com/streamlio/bazel_rules_pex
我收到以下错误(有趣的是它不会出现在ubuntu14.04,ubuntu16.10,centos7和mac中)。任何帮助将不胜感激?
bazel build --config=ubuntu --verbose_failures heron/...
ERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Encountered error while reading extension file 'pex/pex_rules.bzl': no such package '@io_bazel_rules_pex//pex': Error cloning repository: https://github.com/streamlio/bazel_rules_pex.git: cannot open git-upload-pack caused by https://github.com/streamlio/bazel_rules_pex.git: cannot open git-upload-pack caused by java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty caused by Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty caused by the trustAnchors parameter must be non-empty.
答案 0 :(得分:0)
远程存储库中有很多修复和改进,我建议你在尝试其他任何事情之前升级bazel。