cool-easter-32542
06/06/2025, 8:06 AMargv: [
"/bin/tar",
"-xvf",
"cpython-3.11.10+20241008-x86_64-unknown-linux-gnu-install_only.tar.gz",
],
env: {
"PATH": "/usr/bin:/bin:/usr/local/bin:/opt/homebrew/bin",
},
working_directory: None,
input_digests: InputDigests {
complete: DirectoryDigest {
digest: Digest {
hash: Fingerprint<1b39261139a602b99605b617ff193df4952d000c5d7d10e6526352392977683c>,
size_bytes: 149,
},
tree: "Some(..)",
},
nailgun: DirectoryDigest {
digest: Digest {
hash: Fingerprint<e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855>,
size_bytes: 0,
},
tree: "Some(..)",
},
inputs: DirectoryDigest {
digest: Digest {
hash: Fingerprint<1b39261139a602b99605b617ff193df4952d000c5d7d10e6526352392977683c>,
size_bytes: 149,
},
tree: "Some(..)",
},
immutable_inputs: {},
use_nailgun: {},
},
output_files: {},
output_directories: {
RelativePath(
"python",
),
},
timeout: None,
execution_slot_variable: None,
concurrency_available: 0,
description: "Extract Pants' execution Python",
level: Debug,
append_only_caches: {},
jdk_home: None,
cache_scope: Successful,
execution_environment: ProcessExecutionEnvironment {
name: Some(
"docker",
),
platform: Linux_x86_64,
strategy: Docker(
"sha256:93b9055430ce944e6316e724e814427c9ad63c3fb9d87577f7e8436b9aa594c3",
),
},
remote_cache_speculation_delay: 0ns,
attempt: 0,
}
Failed to digest inputs: "Failed to open \"/private/var/folders/cp/l_x7790x5y1cgsx3lcvkt34jktdbmw/T/pants-sandbox-StVDus/python/share/terminfo/1/1178\": Permission denied (os error 13)"
docker_environment(
name="docker",
platform="linux_x86_64",
image="python:3.10-slim-buster",
)
Pants version
2.26
OS
MacOS
Additional info
The sandbox runs on a volume that is shared between docker container(amd64/Linux) and host(arm/MacOS). Because MacOS is by default case-insensitive unpacking of the tar file leads to errors. As a workaround it is possible to define a case-sensitive volume in mac and to define the volume within the parameter local_execution_root_dir. However, this will only solve partly the problem because there is an issue with symlinks in shared volumes in docker/podman (see containers/podman#26211).
I think the only way to fix it is to alllow `local_execution_root_dir`to be a folder that is not a volume mount to the docker container or to add a parameter to turn off the volume mount of the sandbox.
pantsbuild/pants