[Webkit-unassigned] [Bug 107489] New: [chromium/mac] ninja build output includes [K ansi escape codes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 21 17:32:46 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107489

           Summary: [chromium/mac] ninja build output includes [K ansi
                    escape codes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thakis at chromium.org
                CC: eric at webkit.org, dpranke at chromium.org


http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/53890/steps/compile-webkit/logs/stdio :

[3/1348] STAMP obj/Source/WebCore/WebCore.gyp/webcore_bindings_sources.actions_rules_copies.stamp

ninja writes this if it thinks it's writing to a "smart terminal". ninja's src/build.cc:

  if (smart_terminal_ && !force_full_command) {
#ifndef _WIN32
    printf("%s", to_print.c_str());
    printf("\x1B[K");  // Clear to end of line.
    fflush(stdout);
    have_blank_line_ = false;
#else


smart_terminal_ is set like so:

  smart_terminal_ = isatty(1) && term && string(term) != "dumb";

So for some reason stderr is from a tty on the mac build bot. Not sure why.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list