Author: Matti Picus <[email protected]>
Branch: throw-away
Changeset: r93841:0ed68c3e6d03
Date: 2018-02-20 19:46 +0200
http://bitbucket.org/pypy/pypy/changeset/0ed68c3e6d03/
Log: try to debug win32 buildbot
diff --git a/rpython/translator/platform/windows.py
b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -83,6 +83,7 @@
stderr=subprocess.PIPE)
stdout, stderr = popen.communicate()
+ print 'running', vcvars, "\nstderr '%s'" % stderr, '\nstdout'
if popen.wait() != 0:
return None
except:
@@ -92,6 +93,7 @@
vcdict = {}
for line in stdout.split("\n"):
if '=' not in line:
+ print line
continue
key, value = line.split('=', 1)
vcdict[key] = value
@@ -277,7 +279,10 @@
mfid = 2
out_arg = '-outputresource:%s;%s' % (exe_name, mfid)
args = ['-nologo', '-manifest', str(temp_manifest), out_arg]
- self._execute_c_compiler('mt.exe', args, exe_name)
+ try:
+ self._execute_c_compiler('mt.exe', args, exe_name)
+ except EnvironmentError:
+ print '\n'.join(os.environ['PATH'].split(';'))
return exe_name
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit