clodl icon indicating copy to clipboard operation
clodl copied to clipboard

bazel build //:clotestbin-cc fails with `.../copy-closure: paths["$lib"]: unbound variable`

Open hofbi opened this issue 2 months ago • 3 comments

Describe the bug Fresh bazel build //:clotestbin-cc fails

To Reproduce

  • Clone the repo
  • Install the requirements
  • cd tests
  • bazel build //:clotestbin-cc

Expected behavior The target is corecctly built

Environment

  • OS name + version: Ubuntu 20.04
  • Version of the code: Latest master

Additional context

WARNING: Option 'host_javabase' is deprecated
WARNING: Option 'host_javabase' is deprecated
INFO: Analyzed target //:clotestbin-cc (0 packages loaded, 0 targets configured).
ERROR: ~/clodl/tests/BUILD:109:15: Action clotestbin-cc-closure.zip failed: (Exit 1): bash failed: error executing Action command (from target //:clotestbin-cc-closure) /bin/bash -c ... (remaining 4 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bazel-out/k8-opt-exec-ST-879f06706572/bin/external/io_tweag_clodl/copy-closure: line 76: paths["$lib"]: unbound variable
Target //:clotestbin-cc failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.321s, Critical Path: 0.07s
INFO: 2 processes: 2 internal.
ERROR: Build did NOT complete successfully

hofbi avatar Jun 13 '24 11:06 hofbi