Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2015 19:34:33 -0700
From:      Fred Woods <fred.woods@mcnhealthcare.com>
To:        freebsd-ports@freebsd.org
Subject:   python --with-pydebug and google generate your project build tools
Message-ID:  <CACejS80P=TNkoURSEOQFtSkTWbDPEJmLt2S%2BFUREt32hhX7evQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACejS80P=TNkoURSEOQFtSkTWbDPEJmLt2S%2BFUREt32hhX7evQ>