many-vase-25409
07/21/2025, 3:34 PM[jvm] jdk = "temurin:1.21"
in pants.toml
) and now I'm seeing what looks like a deadlock during the compilation of my project. The last 8 lines of the log are "Compile xyz/foo.scala with scalac", but the compile never finishes, and the time counter goes up indefinitely. Any ideas? Happens with pants 2.26 and 2.27. Reverting to JDK 17 fixes the issue.adorable-psychiatrist-59834
07/21/2025, 7:51 PMadorable-psychiatrist-59834
07/21/2025, 7:52 PMadorable-psychiatrist-59834
07/21/2025, 8:02 PM[GLOBAL]
process_execution_local_enable_nailgun = false
and insure you are on a compatible scala versionadorable-psychiatrist-59834
07/21/2025, 8:03 PM~/example-jvm (main) > git diff 3rdparty/jvm/org/scala-lang/BUILD pants.toml
diff --git a/3rdparty/jvm/org/scala-lang/BUILD b/3rdparty/jvm/org/scala-lang/BUILD
index 05df923..ca80fe2 100644
--- a/3rdparty/jvm/org/scala-lang/BUILD
+++ b/3rdparty/jvm/org/scala-lang/BUILD
@@ -2,6 +2,6 @@ jvm_artifact(
name="scala-library",
group="org.scala-lang",
artifact="scala-library",
- version="2.13.8",
+ version="2.13.11",
packages=["scala.**"],
)
diff --git a/pants.toml b/pants.toml
index 61cc0e6..666b770 100644
--- a/pants.toml
+++ b/pants.toml
@@ -15,6 +15,8 @@ backend_packages = [
"pants.backend.experimental.scala",
"pants.backend.experimental.scala.lint.scalafmt",
]
+process_execution_local_enable_nailgun = false
+
[source]
# Pants supports many layouts of sources: from Maven/SBT style project-centric layouts, to
@@ -36,7 +38,7 @@ args = [
# Configure the specific Scala version to use for a resolve. This version must match the version used for the
# `jvm_artifact` target providing the scala-library runtime jar.
[scala.version_for_resolve]
-jvm-default = "2.13.8"
+jvm-default = "2.13.11"
[scalac]
args = [
@@ -60,6 +62,7 @@ jvm-default = "acyclic"
force_add_siblings_as_dependencies = false
[jvm]
+jdk = "temurin:1.21"
# Configure remote debugging options that will be used with `test --debug`.
debug_args = [
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005",
happy-kitchen-89482
07/21/2025, 8:08 PM--keep-sandboxes=always
and look inside the sandbox that doesn’t finish (all the sandbox locations are logged to the console)happy-kitchen-89482
07/21/2025, 8:08 PM__run.sh
should contain the command that deadlocksadorable-psychiatrist-59834
07/21/2025, 8:20 PMmany-vase-25409
07/21/2025, 8:46 PMadorable-psychiatrist-59834
07/21/2025, 8:48 PMmany-vase-25409
07/21/2025, 8:52 PMmany-vase-25409
07/21/2025, 8:53 PMadorable-psychiatrist-59834
07/21/2025, 8:56 PMmany-vase-25409
07/21/2025, 9:01 PMmany-vase-25409
07/21/2025, 9:08 PMadorable-psychiatrist-59834
07/21/2025, 9:13 PMhappy-kitchen-89482
07/21/2025, 9:34 PMhappy-kitchen-89482
07/21/2025, 9:35 PMhappy-kitchen-89482
07/21/2025, 9:36 PMadorable-psychiatrist-59834
07/21/2025, 9:41 PMmany-vase-25409
07/21/2025, 9:46 PMmany-vase-25409
07/22/2025, 5:39 AMhappy-kitchen-89482
07/23/2025, 1:34 AMhappy-kitchen-89482
07/23/2025, 1:34 AMmany-vase-25409
07/23/2025, 1:28 PM