Open brunvonlope opened 5 months ago
Set export CLICOLOR_FORCE=1
You'd surely have to set it inside the sandbox, not outside. I'd expect it to work then. clang also has flags to explicitly set color IIRC.
All of these tools try to automatically detect color output, so we'll need to figure out how to satisfy that.
@TingPing Hi, thanks for the tip. Have set on GIMP manifest:
"build-options": {
"env": {
"CLICOLOR_FORCE": "1"
}
}
But the output still don't have color 🙁
Hmm could you try explicitly passing -fcolor-diagnostics
to clang?
Thanks, it worked.
(I needed to use the CLICOLOR_FORCE variable and clang option combo)
I'll reopen this because it should be possible for it to work by default.
Checklist
flatpak-builder version
1.2.3
Flatpak version
1.14.4
How to reproduce
export CLICOLOR_FORCE=1
(that option natively supported by 'ninja' allows the compiler to display colorful warnings)Expected Behavior
Colorful output (which is the result if the same ninja command is run directly on Debian or MSYS2 shells)
Actual Behavior
flatpak-builder is draining the color from the software that supports it
Additional Information
No response