-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest merge with experimental fails #996
Comments
This sounds like a binary incompatibility from #994. Can you provide more information about your flow? Are you publishing the projects locally yourself or pulling from the published snapshots? In any case, this looks like your chisel-testers were compiled against a commit pre #994 but the chisel3 getting pulled in is post #994. You just need to make sure your testers are compiled against a newer local publish of chisel3. If you're using the snapshots that are published on the web, then it sounds like there's an issue with our snapshot publishing. |
Hi Jack I'm pulling and building FIRRTL, Chisel3 and chisel-testers from master and use local snapshots. I get this error for all commits, starting from Jan21. I rolled back to Jan18 commits and all works seamlessly. I test with chisel_katas project |
As Jack says, it sounds like you need to re-run However, the unfortunate truth is that it would be reasonable to try deleting your project classfiles to force the issue. I know I am not the only person to run into similar situations where sbt occasionally chokes. |
I confirm that the problem persists. Check my log here: https://drive.google.com/open?id=1L4g1G39_g6VpVuSAw4mP4GahJcKa3eRZ What I did:
My test still fails for |
same for commit eb6ddf4 on Jan 22 by Schuyler |
@albert-magyar Removed all binary files from chisel-testers and rebuilt it from scratch. Didn't help as well. Something is wrong here |
@ducky64's PR renames
What's curious is why the stack trace claims:
It looks like when treadle support was added six months ago, the Module type parameter was: def apply[T <: MultiIOModule]( Make sure your code |
I tried it out, and I am able to run |
@albert-magyar Which OS are you running ? Hmm that's strange. I'll try that again tomorrow from scratch. I'm Running this on Ubuntu 16.04.5 with GCC8.1.0 bku@lap:~$ java -version |
OS X 10.13.6 |
I've had errors with sbt preferring sonatype versions over local versions even if local versions were published more recently. I'm not sure how to fix this, but this might be your problem, especially since your log says
|
Unfortunately, the sbt diagnostic output is incorrect for at least two reasons:
|
@ucbjrl Jim, Can I rebuild treadle separately ? I didn't see a separate repo for it If not possible, I'll clean cache and local in my ~/.ivy2 and will try from scratch. |
Yes. The treadle repo is https://github.com/freechipsproject/treadle. |
#998 has added aliases for |
Possibly, but we're talking about SNAPSHOT (i.e., bleeding edge) versions, and I don't believe we currently make any guarantee about binary compatibility between SNAPSHOT releases. The tacit assumption is that SNAPSHOT clients are compiling against SNAPSHOT versions. |
The problem is now resolved. I removed ~/.ivy2/cache/edu.berkeley.cs folder, which indeed contained lots of stuff, including treadle. Made a pull and rebuilt everything from scratch. Now works. The question is how to maintain binary coherency with caching ? Should I remove all caches and the ~/.ivy2/local folder before publishing a fresh batch of snapshots ? That was the first time I encountered such problem, so sorry for inconvenience |
Thanks everybody for feedback |
* Remove GhpagesPlugin. (#979) * Restore old SCM reference (after removing ghpages) * Remove reference to sbt-ghpages plugin.
Type of issue: bug report
Two latest commits by Richard Lin on Jan21 break output generation.
[info] my_pkg.MaccTester *** ABORTED ***
[info] java.lang.NoClassDefFoundError: chisel3/core/ImplicitModule
[info] at chisel3.iotesters.setupTreadleBackend$.apply(TreadleBackend.scala:141)
[info] at chisel3.iotesters.Driver$.$anonfun$execute$2(Driver.scala:54)
This fails to compile, but release from Jan 18 works fine with my code here
Any support required ?
The text was updated successfully, but these errors were encountered: