tweag / clodl

Turn dynamically linked ELF binaries and libraries into self-contained closures.
BSD 3-Clause "New" or "Revised" License
170 stars 6 forks source link

Fix cp failures in tests #21

Closed mboes closed 6 years ago

mboes commented 6 years ago

On NixOS, inside a nix-shell --pure shell, I get:

$ bazel build //...
[...]
INFO: From Executing genrule //:clotest:
cp: cannot stat '/home/mboes/.cache/bazel/_bazel_mboes/516d4f3dd4e279fb51d72cf964cb28de/sandbox/2049516182333261116/execroot/io_tweag_clodl/bazel-out/k8-fastbuild/bin/../../../bazel-out/k8-fastbuild/bin/libbootstrap_libbootstrap.so': No such file or directory
INFO: From Executing genrule //:clotestbin-closure:
cp: cannot stat '/home/mboes/.cache/bazel/_bazel_mboes/516d4f3dd4e279fb51d72cf964cb28de/sandbox/3745048280373793804/execroot/io_tweag_clodl/bazel-out/k8-fastbuild/bin/../../../bazel-out/k8-fastbuild/bin/libbootstrap_libbootstrap.so': No such file or directory
[...]
$ echo $?
0

These errors look suspicious.

facundominguez commented 6 years ago

These messages are harmless and can be ignored. The comments at the failing cp call give details.

Ideally, we would avoid these messages by filtering the list of files that we ask to copy, but I haven't got round to it yet.

facundominguez commented 6 years ago

Done in de86709.