SBT emitting extraneous [error] messages
Background Work
- [X] Yes, I searched the mailing list
- [X] Yes, I searched prior issues
- [X] Yes, I searched the documentation
Chipyard Version and Hash
Release: 1.6.0 Hash: dcf8da4
OS Setup
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Other Setup
Ex: Prior steps taken / Documentation Followed / etc...
Current Behavior
Sbt produces nonsensical [error] messages, suggesting a failure when there is actually no problem:

The screemshot above illustrates the error message, and shows how the make flow proceeds as normal after sometime. This can be very confusing, as the flow may appear to hang after the error message.
Expected Behavior
That [error] should not appear.
Other Information
No response
Ya, I've noticed the same behavior. I also see the same error messages when MacroCompiler runs on a design with any SRAMs:
[info] running (fork) barstools.macros.MacroCompiler ...
[error] Picked up JAVA_TOOL_OPTIONS: -Xmx8G -Xss8M ...
[error] WARNING: Empty *.mems.conf file. No memories generated.
[success] Total time: 5 s, completed Feb 17, 2022 5:44:41 PM
This appears to be the source of that second message: https://github.com/ucb-bar/barstools/blob/314d80729e7b32e3c10c0da6734bbdc9a867916f/src/main/scala/barstools/macros/MacroCompiler.scala#L924
Since that's a direct write to stderr, I'd guess that sbt is just prefixing all stderr messages with that red [error] message.
I also encountered this problem. Could you tell me how to solve it?
I also encountered this problem. Could you tell me how to solve it?
In the normal Chipyard flow this shouldn't break anything (at least I don't think so). Are you seeing an issue?
I'm very sorry I didn't reply until now. Yes, I have encountered a problem. I want to generate a bitstream according to the operation steps in "10. Promoting flow". When I run "make sub_project = vcu118 bitstream", there will be "[error] picked up java_tool_options: - xmx8g - xss8m - DJava. Io. TMPDIR = / home / chipard /. Java_tmp [error] warning: empty *. Mems.conf file. No memories generated." Then vivado starts and terminates after executing "# source [file join $scriptdir" prologue. TCL "]".