Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797220 - emerge color output shifts between bright and normal
Summary: emerge color output shifts between bright and normal
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Low minor
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-20 22:53 UTC by Joshua Kinard
Modified: 2021-06-20 22:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from emerge showing color oddity (gentoo-emerge-color-output-oddity-20210620.png,97.78 KB, image/png)
2021-06-20 22:53 UTC, Joshua Kinard
Details
emerge --info output (ip30-emerge-info-20210620.txt,5.01 KB, text/plain)
2021-06-20 22:54 UTC, Joshua Kinard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Kinard gentoo-dev 2021-06-20 22:53:21 UTC
Created attachment 717246 [details]
Output from emerge showing color oddity

I have noticed that in some emerge output that the colorization sometimes switches between the "bright" and "normal" variants.  I am not sure if this is a bug or expected behavior.

In the attached image showing an emerge update of @world on a MIPS machine using binary packages, the top package sys-apps/tcp-wrappers through app-arch/cpio are in the "normal" magenta ANSI terminal color.  But following that, from package net-misc/keychain to sys-fs/xfsprogs, the packages are colorized in "bright" magenta ANSI color.  This repeats itself randomly down the list.  Even normal source packages are affected, dev-python/lxml and dev-python/pyyaml being in "normal" green and the bottom-most package app-portage/repoman being in "bright" green.

This could just be an aspect of emerge being "playful", but it could also be caused by not closing the ANSI color tags correctly.  So I figured I'd report it and see what the real cause is.  I do have "candy" in FEATURES, but the description of that parameter doesn't imply it renders this kind of output.
Comment 1 Joshua Kinard gentoo-dev 2021-06-20 22:54:16 UTC
Created attachment 717249 [details]
emerge --info output