2017-02-23 14:27 GMT+02:00 James McCoy <james...@debian.org>:
> On Thu, Feb 23, 2017 at 11:55:04AM +0000, Martin-Éric Racine wrote:
>> Basically, if
>> dpkg-buildpackage finds the terminal and enables colors accordingly,
>> there is no reason for debuild to fail at finding the terminal and
>> asking dpkg to run in colorized mode.
>
> debuild isn't failing at that.  It's attaching file descriptors to
> dpkg-buildpackage's stdout/stderr to be able to tee dpkg-buildpackage's
> output into the build log.  Therefore, dpkg-buildpackage doesn't detect
> that it's being run in a terminal.

We obviously don't want VT color escape codes in the log, so we have
to sacrifice visual feedback in the process.  Oh well...

Could this be better documented, perhaps in debuild's man page?

Cheers!
Martin-Éric

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to