installTensorFlowTX2 icon indicating copy to clipboard operation
installTensorFlowTX2 copied to clipboard

rules_closure problem: function change

Open kashiwachen opened this issue 6 years ago • 3 comments

nvidia@tegra-ubuntu:/media/nvidia/YYFSD/DL/installTensorFlowTX2$ ./buildTensorFlow.sh ERROR: /home/nvidia/.cache/bazel/_bazel_nvidia/d2751a49dacf4cb14a513ec663770624/external/io_bazel_rules_closure/closure/stylesheets/closure_css_binary.bzl:65:13: The function 'set' has been removed in favor of 'depset', please use the latter. You can temporarily refer to the old 'set' constructor from unexecuted code by using --incompatible_disallow_uncalled_set_constructor=false ERROR: error loading package '': Extension 'closure/stylesheets/closure_css_binary.bzl' has errors ERROR: error loading package '': Extension 'closure/stylesheets/closure_css_binary.bzl' has errors INFO: Elapsed time: 0.284s FAILED: Build did NOT complete successfully (0 packages loaded)

kashiwachen avatar Mar 17 '18 07:03 kashiwachen

I have the same problem. It looks like this situation happened was because of the Bazel version be updated to 0.10.0. Bazel version

If I downgrade Bazel, do I will face the issue 19 .

toreal avatar Mar 23 '18 11:03 toreal

@toreal @PochiaOscar have you guys solved this issue?

jiangyonghui avatar Apr 18 '18 16:04 jiangyonghui

@jiangyonghui Yes. I solved it. I try to get the newest version for all packages.

toreal avatar Apr 19 '18 00:04 toreal