chipsalliance / chipsalliance/rocket-chip
make verilog fails
- Dominant language
- Scala
- Stars
- 3.9k
- Forks
- 1.3k
- Avg merge
- 5d 13m
- Merged PRs (30d)
- 1
Description
`
1 targets failed
methodCodeHashSignatures os.ResourceNotFoundException: java.net.URLClassLoader@67b7dd76/mill/api/Discover.class
os.ResourcePath.getInputStream(ResourcePath.scala:21)
os.read$inputStream$.apply(ReadWriteOps.scala:244)
mill.codesig.ExternalSummary$.load0$1(ExternalSummary.scala:55)
mill.codesig.ExternalSummary$.$anonfun$apply$6(ExternalSummary.scala:48)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
scala.collection.mutable.HashMap.getOrElse(HashMap.scala:451)
mill.codesig.ExternalSummary$.load$1(ExternalSummary.scala:48)
mill.codesig.ExternalSummary$.$anonfun$apply$9(ExternalSummary.scala:69)
mill.codesig.ExternalSummary$.$anonfun$apply$9$adapted(ExternalSummary.scala:69)
scala.collection.immutable.BitmapIndexedSetNode.foreach(HashSet.scala:951)
scala.collection.immutable.BitmapIndexedSetNode.foreach(HashSet.scala:958)
scala.collection.immutable.HashSet.foreach(HashSet.scala:958)
mill.codesig.ExternalSummary$.apply(ExternalSummary.scala:69)
mill.codesig.CodeSig$.compute(CodeSig.scala:17)
mill.runner.MillBuildRootModule.$anonfun$methodCodeHashSignatures$2(MillBuildRootModule.scala:184)
mill.define.Task$TraverseCtx.evaluate(Task.scala:71)
make: *** [Makefile:11: verilog] Error 1
`
I followed the README to install Rocket Tools and Chisel3.
I installed Java 17 and set the Mill version to 0.11.13.
After running make verilog, I encountered an error.
I noticed that the error message mentioned Java8, so I switched to Java 8,
but the error still persists.
Contributor guide
Research direction
Start with the Makefile's verilog target and the README setup for Rocket Tools and Chisel3, then reproduce the failure using the reported Mill 0.11.13 and Java versions. Trace the ExternalSummary and missing Discover.class stack frames. Done means make verilog completes successfully or the supported setup and failure cause are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100