From b69589886d349ef009e625d9e9f56bf61cbac91e Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 17 Oct 2019 11:16:54 +0200 Subject: [PATCH] as seen in GYP3 this seems to be the solution here too --- gyp/pylib/gyp/input.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gyp/pylib/gyp/input.py b/gyp/pylib/gyp/input.py index 968f36ac0a..42390f23eb 100644 --- a/gyp/pylib/gyp/input.py +++ b/gyp/pylib/gyp/input.py @@ -911,6 +911,7 @@ def ExpandVariables(input, phase, variables, build_file): p_stdout, p_stderr = p.communicate('') if p.wait() != 0 or p_stderr: + sys.stderr.write(p_stderr.decode('utf-8')) raise GypError("Call to '%s' returned exit status %d while in %s." % (contents, p.returncode, build_file)) replacement = p_stdout.rstrip()