Charalampos Stratakis added the comment:

@Łukasz

Dug a bit more to it.

Yes it is RPM specific for that case, in the sense that we create different 
subfolders for the debug and the normal(optimized) builds under the build/ dir, 
where the Include directory does not exist. the dtrace wrapper assumes that the 
directory already exists. The issue of course can be reproduced with any 
packaging system (or ways to compile python) that follow this approach, 
although I am not aware currently if this can happen or might be happening 
anywhere else.

By creating the directory (if it doesn't exist) at the Makefile rule for 
generating pydtrace_probes.h, this can be circumvented.

Attaching a patch that fixes this issue for consideration.

----------
Added file: 
http://bugs.python.org/file45393/create-Include-dir-to-properly-generate-pydtrace_probes.h-file.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21590>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to