python --with-pydebug and google generate your project build tools
Fred Woods
fred.woods at mcnhealthcare.com
Sun Jan 11 02:34:36 UTC 2015
The google generate your project build tool used by some ports (chromium,
firefox) is not compatible with python built with the debug option
(--with-pydebug).
https://code.google.com/p/gyp/source/browse/trunk/pylib/gyp/input.py
starting at lines 896 to 904.
Code looks for non-zero status or any output on stderr.
Python built with --with-pydebug will write a references count to stderr
upon exit of a python process.
If input.py runs a python sub process, the pydebug output will cause
input.py to assume there was an error in the sub process.
Easy solution: don't build the python port with debugging.
Ugly solution: patch input.py in each affected port to not treat stderr
output as an error.
if p.wiat() != 0 or p_stderr:
if p.wait() != 0:
More information about the freebsd-ports
mailing list