Message151669
NOTE to myself: In OpenIndiana we could have this error:
"""
dtrace: failed to compile script ./Include/phelper.d: Preprocessor not found
"""
In that case, we must install the C preprocessor:
"""
pfexec pkg install cpp
"""
I confirm that current 3.3 patch works in the 32 bits OpenIndiana Python buildbots, after adding this patch (already available in my mercurial repository, but not in the patch published in this issue):
"""
diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py
--- a/Lib/test/test_dtrace.py
+++ b/Lib/test/test_dtrace.py
@@ -173,7 +173,7 @@
# Verify that we are checking:
opcodes = set(["CALL_FUNCTION", "CALL_FUNCTION_VAR",
"CALL_FUNCTION_KW", "CALL_FUNCTION_VAR_KW"])
- obj = compile(open(sample).read(), "sample", "exec")
+ obj = compile(open(sample, encoding="utf-8").read(), "sample", "exec")
class dump() :
def __init__(self) :
self.buf = []
"""
Also, of course, the user must have dtrace permissions, as documented in a previous message. |
|
Date |
User |
Action |
Args |
2012-01-20 03:51:36 | jcea | set | recipients:
+ jcea, loewis, rhettinger, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, techtonik, benjamin.peterson, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, jmcp, scox |
2012-01-20 03:51:36 | jcea | set | messageid: <1327031496.47.0.0201973945798.issue13405@psf.upfronthosting.co.za> |
2012-01-20 03:51:35 | jcea | link | issue13405 messages |
2012-01-20 03:51:35 | jcea | create | |
|