[issue15591] when building the extensions, stdout is lost when stdout is redirected

Matthias Klose report at bugs.python.org
Tue Aug 28 18:50:26 CEST 2012


Matthias Klose added the comment:

bah, this happens when you do a parallel build. --jobserver-fds is passed in MAKEFLAGS, and the test for sharedmods turns on the quiet mode, because it matches just *s* in MAKEFLAGS :-/

The patch tries to parse MAKEFLAGS using getopt, and if getopt is not available, falls back to MAKEFLAGS, and then tries to match -s.

The only downside is that you won't get a quiet build, if you don't have getopt, and pass MAKEFLAGS options as a combined option (e.g. -fs).

----------
keywords: +patch
Added file: http://bugs.python.org/file27034/makeflags.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15591>
_______________________________________


More information about the Python-bugs-list mailing list