I finished <contributor setup> and following is a ...
# general
a
I finished contributor setup and following is a snapshot of a portion of the logs:
Copy code
Compiling mock v0.0.1 (/root/pants/src/rust/engine/testutil/mock)
Compiling process_execution v0.0.1 (/root/pants/src/rust/engine/process_execution)
  Finished release [optimized + debuginfo] target(s) in 14m 38s
fatal: No names found, cannot describe anything.
05:04:31.99 [INFO] Starting: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.22.0
05:04:55.91 [INFO] Completed: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.22.0
05:05:01.28 [INFO] Initializing scheduler...
05:05:02.03 [INFO] Scheduler initialized.
No goals specified.
Use `./pants help` to get help.
Use `./pants help goals` to list goals.
(pants-dev) [root@9a5752857756 pants]#
What is this
fatal: No names found, cannot describe anything.
in the logs? Does it mean that there was no fatal error since no names were found?
f
fatal: No names found, cannot describe anything.
is an error message from
git
a
Ok, so does that mean I need to do the setup again?
It seems to me that its a
git describe
error. Is it coming from these lines of `bootstrap_code.sh`:
Copy code
# Create the accompanying metadata file.
local -r metadata_file=$(mktemp -t pants.native_engine.metadata.XXXXXX)
echo "engine_version: ${engine_version_calculated}" > "${metadata_file}"
echo "repo_version: $(git describe --dirty)" >> "${metadata_file}"
It looks like it tried to write something in the metadata file named
pants.native_engine.metadata.XXXXXX
.
e
Based on this thread I don't think you actually want to get set up to develop in the Pants repo, you want to get setup to develop in the setup repo: https://pantsbuild.slack.com/archives/C046T6T9U/p1661664441999509?thread_ts=1661373158.171129&amp;cid=C046T6T9U If that's so; easiest to abandon this debug session in favor of working through the dev setup you actually need over there.
a
Thanks a lot @enough-analyst-54434 for the clarification. Let’s continue on the other thread then that we were talking on before.