[New-bugs-announce] [issue35520] Python won't build with dtrace enabled on some systems.

Jakub Kulik report at bugs.python.org
Mon Dec 17 06:48:50 EST 2018

New submission from Jakub Kulik <kulikjak at gmail.com>:

Python won't build on Solaris with dtrace support enabled.

Solaris is one of those systems where it is necessary to generate dtrace object files with dtrace -G. While this need is included in python configure and Makefiles, it doesn't work correctly.

First, configure tests -G support on file with not completely valid content of just BEGIN inside. Valid should have BEGIN{}. This is not a problem for systems that don't require dtrace object files as this test should fail for them anyway, however it incorrectly detects those like Solaris.

And second, Makefile is not ready for dtrace as the DTRACE_DEPS variable doesn't include all the necessary files.

components: Build
messages: 331997
nosy: kulikjak
priority: normal
severity: normal
status: open
title: Python won't build with dtrace enabled on some systems.
type: compile error
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list