Open ivan-mudrak opened 3 years ago
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_foreign_cc!
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"
I have the same issue when use configure_in_place = True
BUILD:
filegroup(
name = "source",
srcs = [
"config",
],
)
configure_make(
name = "example",
configure_command = "config",
configure_in_place = False,
lib_source = ":source",
targets = ["hello"],
)
config:
#!/bin/bash
printf "hello:\n\techo \"hello world\"; mkdir -p example/lib example/lib/example.a\n" > Makefile
error:
cp: cannot stat '<prefix removed>/d4d2a4ac7852ade4cdad0c6a53eb3994/sandbox/linux-sandbox/9/execroot/test_workspace/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example.build_tmpdir/bazel-out/k8-fastbuild/bin/example_foreign_cc/wrapper_build_script.sh': File name too long
@ivan-mudrak @tsarevfs do you know how to fix it?
@irengrig @jsharpe @jheaff1 do you know how to fix it?
I have encountered this too, is there a solution?
cp: cannot stat '/root/.cache/bazel/_bazelroot/0fc3f217f434c77c7876931e2f59fce0/sandbox/processwrapper-sandbox/19/execroot/main/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.buildtmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc.build_tmpdir/bazel-out/k8-fastbuild-ST-bef989340b83/bin/jemalloc__foreign_cc/wrapper_build_script.sh': File name too long
bazel version: 3.7.1
While building xz library with configure_make on macOS BigSur I got the following error:
For some reason, it creates a few nested folder levels with the same pattern.
Build file:
WORKSPACE:
...
I got a similar error while building secp256k1 with configure_make.