This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cstratak
Recipients cstratak
Date 2016-11-24.10:10:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479982245.65.0.843842109576.issue28787@psf.upfronthosting.co.za>
In-reply-to
Content
By invoking an out of tree build of python with the --with-dtrace flag enabled, make fails with an error.

Create a new folder at the source directory:
$ mkdir _build && cd _build
$ ../configure --with-dtrace
$ make

/usr/bin/dtrace  -o Include/pydtrace_probes.h -h -s ../Include/pydtrace.d
Traceback (most recent call last):
  File "/usr/bin/dtrace", line 440, in <module>
    sys.exit(main())
  File "/usr/bin/dtrace", line 385, in main
    providers.probe_write(s_filename, filename + suffix)
  File "/usr/bin/dtrace", line 181, in probe_write
    hdr = open(header, mode='w')
FileNotFoundError: [Errno 2] No such file or directory: 'Include/pydtrace_probes.h'
Makefile:896: recipe for target 'Include/pydtrace_probes.h' failed
make: *** [Include/pydtrace_probes.h] Error 1

This is because the Include directory doesn't exist.

Attaching a patch to fix this.
History
Date User Action Args
2016-11-24 10:10:45cstrataksetrecipients: + cstratak
2016-11-24 10:10:45cstrataksetmessageid: <1479982245.65.0.843842109576.issue28787@psf.upfronthosting.co.za>
2016-11-24 10:10:45cstrataklinkissue28787 messages
2016-11-24 10:10:45cstratakcreate