loud-lizard-27679
08/10/2023, 5:03 PMflat-zoo-31952
08/10/2023, 5:07 PM~/.cache/pants/pants_dev_deps maybe?loud-lizard-27679
08/10/2023, 5:07 PMloud-lizard-27679
08/10/2023, 5:07 PM~/.cache/pantsflat-zoo-31952
08/10/2023, 5:08 PMflat-zoo-31952
08/10/2023, 5:08 PMloud-lizard-27679
08/10/2023, 5:08 PMloud-lizard-27679
08/10/2023, 5:08 PMflat-zoo-31952
08/10/2023, 5:08 PMloud-lizard-27679
08/10/2023, 5:08 PMflat-zoo-31952
08/10/2023, 5:08 PM./pantsloud-lizard-27679
08/10/2023, 5:09 PMloud-lizard-27679
08/10/2023, 5:09 PMloud-lizard-27679
08/10/2023, 5:09 PMflat-zoo-31952
08/10/2023, 5:09 PMloud-lizard-27679
08/10/2023, 5:09 PMloud-lizard-27679
08/10/2023, 5:10 PMps -ef | grep -i pants doesn't show anythingloud-lizard-27679
08/10/2023, 5:10 PMflat-zoo-31952
08/10/2023, 5:11 PM~/.cache/nce/loud-lizard-27679
08/10/2023, 5:11 PMloud-lizard-27679
08/10/2023, 5:11 PMloud-lizard-27679
08/10/2023, 5:12 PMflat-zoo-31952
08/10/2023, 5:12 PMloud-lizard-27679
08/10/2023, 5:12 PM$ /home/matthias/.cache/pants/pants_dev_deps/b6a9ea0e006135b304496084706b185ea6a919b6.venv/bin/python3.9 -Im ensurepip --upgrade --default-pip
/home/matthias/.cache/pants/pants_dev_deps/b6a9ea0e006135b304496084706b185ea6a919b6.venv/bin/python3.9: No module named ensurepipflat-zoo-31952
08/10/2023, 5:13 PMflat-zoo-31952
08/10/2023, 5:14 PMpants and/or ./pants is recreating that pants_dev_deps directory every time?loud-lizard-27679
08/10/2023, 5:14 PMloud-lizard-27679
08/10/2023, 5:14 PMloud-lizard-27679
08/10/2023, 5:15 PMflat-zoo-31952
08/10/2023, 5:15 PMloud-lizard-27679
08/10/2023, 5:15 PMloud-lizard-27679
08/10/2023, 5:16 PMflat-zoo-31952
08/10/2023, 5:18 PMflat-zoo-31952
08/10/2023, 5:19 PMloud-lizard-27679
08/10/2023, 5:19 PMflat-zoo-31952
08/10/2023, 5:20 PMflat-zoo-31952
08/10/2023, 5:20 PMflat-zoo-31952
08/10/2023, 5:22 PMloud-lizard-27679
08/10/2023, 5:23 PMflat-zoo-31952
08/10/2023, 5:23 PMloud-lizard-27679
08/10/2023, 5:23 PMbitter-ability-32190
08/10/2023, 5:24 PMbitter-ability-32190
08/10/2023, 5:24 PMpants usesflat-zoo-31952
08/10/2023, 5:25 PMbitter-ability-32190
08/10/2023, 5:25 PMflat-zoo-31952
08/10/2023, 5:26 PMpants over ./pants in-repo once that is donebitter-ability-32190
08/10/2023, 5:28 PMloud-lizard-27679
08/10/2023, 5:37 PMloud-lizard-27679
08/10/2023, 5:37 PMloud-lizard-27679
08/10/2023, 5:38 PMerror: failed to run custom build command for `grpc_util v0.0.1 (/home/matthias/pants/src/rust/engine/grpc_util)`
Caused by:
process didn't exit successfully: `/home/matthias/pants/src/rust/engine/target/release/build/grpc_util-cddf00b0d183a9f4/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=protos/test.proto
cargo:rerun-if-changed=protos
--- stderr
thread 'main' panicked at 'Could not find `protoc` installation and this build crate cannot proceed without
this knowledge. If `protoc` is installed and this crate had trouble finding
it, you can set the `PROTOC` environment variable with the specific path to your
installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from <https://github.com/protocolbuffers/protobuf/releases>
For more information: <https://docs.rs/prost-build/#sourcing-protoc>
', /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `protos v0.0.1 (/home/matthias/pants/src/rust/engine/protos)`
Caused by:
process didn't exit successfully: `/home/matthias/pants/src/rust/engine/target/release/build/protos-c41201e5b06d9ea9/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=protos/bazelbuild_remote-apis/build/bazel/remote/execution/v2/remote_execution.proto
cargo:rerun-if-changed=protos/bazelbuild_remote-apis/build/bazel/semver/semver.proto
cargo:rerun-if-changed=protos/buildbarn/cas.proto
cargo:rerun-if-changed=protos/googleapis/google/bytestream/bytestream.proto
cargo:rerun-if-changed=protos/googleapis/google/rpc/code.proto
cargo:rerun-if-changed=protos/googleapis/google/rpc/error_details.proto
cargo:rerun-if-changed=protos/googleapis/google/rpc/status.proto
cargo:rerun-if-changed=protos/googleapis/google/longrunning/operations.proto
cargo:rerun-if-changed=protos/pants/cache.proto
cargo:rerun-if-changed=protos/standard/google/protobuf/empty.proto
cargo:rerun-if-changed=protos/bazelbuild_remote-apis
cargo:rerun-if-changed=protos/buildbarn
cargo:rerun-if-changed=protos/googleapis
cargo:rerun-if-changed=protos/pants
cargo:rerun-if-changed=protos/standard
--- stderr
thread 'main' panicked at 'Could not find `protoc` installation and this build crate cannot proceed without
this knowledge. If `protoc` is installed and this crate had trouble finding
it, you can set the `PROTOC` environment variable with the specific path to your
installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from <https://github.com/protocolbuffers/protobuf/releases>
For more information: <https://docs.rs/prost-build/#sourcing-protoc>
', /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceloud-lizard-27679
08/10/2023, 5:38 PMapt install protobuf-compiler does somethingflat-zoo-31952
08/10/2023, 5:38 PMflat-zoo-31952
08/10/2023, 5:39 PMloud-lizard-27679
08/10/2023, 5:40 PMloud-lizard-27679
08/10/2023, 5:41 PMloud-lizard-27679
08/10/2023, 5:41 PMloud-lizard-27679
08/10/2023, 5:42 PMThere is no pantsd metadata at /home/matthias/pants/.pids/8b5fde57d45d/pantsd.
Traceback (most recent call last):
File "/home/matthias/pants/src/python/pants/bin/pants_loader.py", line 18, in <module>
from pants.bin.pants_runner import PantsRunner
File "/home/matthias/pants/src/python/pants/bin/pants_runner.py", line 11, in <module>
from pants.base.exception_sink import ExceptionSink
File "/home/matthias/pants/src/python/pants/base/exception_sink.py", line 19, in <module>
from pants.util.dirutil import safe_mkdir, safe_open
File "/home/matthias/pants/src/python/pants/util/dirutil.py", line 21, in <module>
from pants.util.strutil import ensure_text
File "/home/matthias/pants/src/python/pants/util/strutil.py", line 17, in <module>
from pants.engine.internals.native_engine import Digest
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directoryflat-zoo-31952
08/10/2023, 5:45 PMloud-lizard-27679
08/10/2023, 5:45 PMloud-lizard-27679
08/10/2023, 5:46 PMloud-lizard-27679
08/10/2023, 5:47 PMflat-zoo-31952
08/10/2023, 5:48 PMI think basically all of this stuff should be in the docs. How to install the correct Python interpreter (Standalone Python seems to work), and rustup and apparently protoc.I agree, this is a documentation gap.
Or better yet, get it running with Nix so the only thing people need to install is nix and everything else is taken care of automaticallyWe can't dictate what distros or packaging tech people use. Many (if not most) of our developers use Mac too, and are likely using brew to get deps. However, having good dev docs for challenges that we know in various setup come up would be great. I could see that going in https://github.com/pantsbuild/pants/blob/main/docs/markdown/Contributions/development/contributor-setup.md if you're willing to add a troubleshooting section there with your problems and steps and submit a PR. It would be much appreciated.
loud-lizard-27679
08/10/2023, 5:49 PMflat-zoo-31952
08/10/2023, 5:51 PMloud-lizard-27679
08/10/2023, 5:51 PMloud-lizard-27679
08/10/2023, 5:51 PMflat-zoo-31952
08/10/2023, 5:52 PMloud-lizard-27679
08/10/2023, 5:53 PMloud-lizard-27679
08/10/2023, 5:53 PM/home/matthias/.cache/pants/pants_dev_deps/b6a9ea0e006135b304496084706b185ea6a919b6.venv/bin/python: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/70i27j50bn0zj2zgbxww087xhbg60ps6-libxcrypt-
4.4.36/lib/libcrypt.so.2)flat-zoo-31952
08/10/2023, 5:53 PMflat-zoo-31952
08/10/2023, 5:54 PMloud-lizard-27679
08/10/2023, 5:55 PM~/.cache/pants again now, and now I get a different error.flat-zoo-31952
08/10/2023, 5:56 PMloud-lizard-27679
08/10/2023, 5:56 PMloud-lizard-27679
08/10/2023, 5:56 PMclang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tools/deps/include -I/tools/deps/include/ncursesw -I/tools/deps/libedit/include -fPIC -I/home/matthias/.cache/pants/named_caches/pex_root/venvs/9b295203f2e20a675f10f528c2d0f52164f7ff12/5d74400d2b55d43e0cfb00c9dab3c5e407b54e54/include -I/home/matthias/cpython-3.9.17+20230726-x86_64-unknown-linux-gnu-lto-full/install/include/python3.9 -c src/python-codec.c -o build/temp.linux-x86_64-cpython-39/src/python-codec.o
error: command 'clang' failed: No such file or directory
[end of output]loud-lizard-27679
08/10/2023, 5:57 PMloud-lizard-27679
08/10/2023, 5:58 PMhdrhistogram seems to need thisloud-lizard-27679
08/10/2023, 5:58 PMpants list ::loud-lizard-27679
08/10/2023, 5:58 PMflat-zoo-31952
08/10/2023, 5:59 PMbitter-ability-32190
08/10/2023, 5:59 PMhdrhistogram is sdist-only? 😬
https://pypi.org/project/hdrhistogram/#filesloud-lizard-27679
08/10/2023, 5:59 PMbitter-ability-32190
08/10/2023, 5:59 PMflat-zoo-31952
08/10/2023, 6:00 PMflat-zoo-31952
08/10/2023, 6:00 PMbitter-ability-32190
08/10/2023, 6:00 PMloud-lizard-27679
08/10/2023, 6:02 PM