[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649182: marked as done (gcc meta-information output gets colorized so cannot be parsed)



Your message dated Sat, 24 Jun 2017 15:01:00 +0000
with message-id <[🔎] E1dOmYW-000Iwm-GA@fasolo.debian.org>
and subject line Bug#856285: Removed package(s) from unstable
has caused the Debian Bug report #649182,
regarding gcc meta-information output gets colorized so cannot be parsed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
649182: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649182
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: colorgcc
Version: 1.3.2.0-10

When I invoke colorgcc with an option to get information about gcc
itself I get output colorized with the 'reset' color code ESC[0m

This can be a problem is in makefiles where the information may be
parsed so set options for make, e.g.
CCVERSIONBOOST := $(shell $(CC) -dumpversion | cut -c 1,3)

I would suggest that the fix for this would be not to print the reset
code on normal lines, because it seems that all the other colorizing
options reset the colors after they have printed, i.e.:

$ diff -u ~/bin/colorgcc_1.3.2.0-10 ~/bin/colorgcc_1.3.2.0-10-edited
--- /home/dan/bin/colorgcc_1.3.2.0-10     2011-11-18 14:56:59.338531000 +0000
+++ /home/dan/bin/colorgcc_1.3.2.0-10-edited  2011-11-18
14:57:04.222081000 +0000
@@ -321,7 +321,7 @@
    else # Anything else.
    {
       # Doesn't seem to be a warning or an error. Print normally.
-      print(color("reset"), $_);
+      print($_);
    }
 }



--- End Message ---
--- Begin Message ---
Version: 1.3.2.0-12+rm

Dear submitter,

as the package colorgcc has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/856285

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: