[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-11 Thread STINNER Victor

STINNER Victor added the comment:

Thank you Charalampos, I merged your fixes for branches 3.6 and master (3.7).

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-11 Thread STINNER Victor

STINNER Victor added the comment:


New changeset a4465a5bd08f232cf097893006118c82975c3402 by Victor Stinner 
(stratakis) in branch '3.6':
[3.6] bpo-28787: Fix out of tree --with-dtrace builds (GH-135) (#1543)
https://github.com/python/cpython/commit/a4465a5bd08f232cf097893006118c82975c3402


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-11 Thread Charalampos Stratakis

Changes by Charalampos Stratakis :


--
pull_requests: +1642

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-10 Thread STINNER Victor

STINNER Victor added the comment:


New changeset f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd by Victor Stinner 
(stratakis) in branch 'master':
bpo-28787: Fix out of tree --with-dtrace builds (#135)
https://github.com/python/cpython/commit/f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd


--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-05-09 Thread Charalampos Stratakis

Changes by Charalampos Stratakis :


--
pull_requests: +1619

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-04-21 Thread cburroughs

Changes by cburroughs :


--
nosy: +cburroughs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2017-02-16 Thread Charalampos Stratakis

Changes by Charalampos Stratakis :


--
pull_requests: +97

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28787] Out of tree --with--dtrace builds fail with a traceback

2016-11-24 Thread Charalampos Stratakis

New submission from Charalampos Stratakis:

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 
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.

--
components: Build
files: create-Include-dir-to-properly-generate-pydtrace_probes.h-file.patch
keywords: patch
messages: 281627
nosy: cstratak
priority: normal
severity: normal
status: open
title: Out of tree --with--dtrace builds fail with a traceback
versions: Python 3.6, Python 3.7
Added file: 
http://bugs.python.org/file45622/create-Include-dir-to-properly-generate-pydtrace_probes.h-file.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com