Bug#679645: devscripts: debuild does not properly forward coloured output

James McCoy jamessan at debian.org
Sat Jun 30 13:07:30 UTC 2012


On Sat, Jun 30, 2012 at 02:48:55PM +0200, Ralf Jung wrote:
> tools that usually produce output with colours do not do so when run by
> debuild. Examples are the cmake build system (noticeably, colours work fine
> when using dpkg-buildpackage) and linitan with the --color option.
> As colours are very useful to quicker see what's going on, it's desirable for
> debuild not to loose that information.

That's likely because they're not being run with a controlling tty.
It's pretty common for tools that used colored output to only do so when
isatty(3) returns 1.

Providing a pty for the build process (for other reasons) is something
that has been requested on IRC, too.

It's something we can look into.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120630/d628d537/attachment.pgp>


More information about the devscripts-devel mailing list