-
Notifications
You must be signed in to change notification settings - Fork 93
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
clang
(and probably everything) under flatpak-builder have no colored output
#605
Comments
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:
But the output still don't have color 🙁 |
Hmm could you try explicitly passing |
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. |
Following 0f42555 Ninja and Cmake (which some modules use) supports colorful output. To enable it, we need to set in the manifest due to the sandboxing. See also: flatpak/flatpak-builder#605
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
The text was updated successfully, but these errors were encountered: