[Bug 346154] [NEW] GCC commands executed by libtool not recognized properly

Mateusz Łoskot mateusz at loskot.net
Fri Mar 20 22:53:01 UTC 2009


Public bug reported:

Binary package hint: colormake

Using colormake to build autotools-enabled project which uses libtool,
it's not uncommon that GCC lines look like this:

/bin/bash ../libtool --tag=CXX   --mode=compile g++ ...

Colormake does not recognize such lines because it expects only white
spaces in front of GCC commands like gcc, g++, etc. The following tiny
patch fixes this issue by relaxing regular expression a little
(colormake.pl.orig - original version of colormake.pl):

mloskot at dog:/usr/share/colormake$ diff colormake.pl.orig colormake.pl
76c76
< 	elsif ($thisline =~ s/^(\s*(g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/) 
---
> 	elsif ($thisline =~ s/^(.*(g?cc|(g|c)\+\+).*)$/$col_gcc$1$col_norm/) 

Ubuntu 9.04 (Jaunty)
Colormake 0.2-5

** Affects: colormake (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: jaunty

** Tags added: jaunty

-- 
GCC commands executed by libtool not recognized properly
https://bugs.launchpad.net/bugs/346154
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list