Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue28787

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Out of tree --with--dtrace builds fail with a traceback
Type:Stage:resolved
Components:BuildVersions:Python 3.7, Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: cburroughs, cstratak, vstinner
Priority:normalKeywords:patch

Created on2016-11-24 10:10 bycstratak, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
create-Include-dir-to-properly-generate-pydtrace_probes.h-file.patchcstratak,2016-11-24 10:10review
Pull Requests
URLStatusLinkedEdit
PR 135mergedcstratak,2017-02-16 14:04
PR 1519closedcstratak,2017-05-09 13:50
PR 1543mergedcstratak,2017-05-11 09:54
Messages (4)
msg281627 -(view)Author: Charalampos Stratakis (cstratak)*Date: 2016-11-24 10:10
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  -oInclude/pydtrace_probes.h -h -s ../Include/pydtrace.dTraceback (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' failedmake: *** [Include/pydtrace_probes.h] Error 1This is because the Include directory doesn't exist.Attaching a patch to fix this.
msg293425 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2017-05-10 15:08
New changesetf6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd by Victor Stinner (stratakis) in branch 'master':bpo-28787: Fix out of tree --with-dtrace builds (#135)https://github.com/python/cpython/commit/f6eae5bf1c5d7b83e5d5bdbecfff928e478c1cfd
msg293487 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2017-05-11 11:13
New changeseta4465a5bd08f232cf097893006118c82975c3402 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
msg293488 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2017-05-11 11:13
Thank you Charalampos, I merged your fixes for branches 3.6 and master (3.7).
History
DateUserActionArgs
2022-04-11 14:58:40adminsetgithub: 72973
2017-05-11 11:13:53vstinnersetstatus: open -> closed
resolution: fixed
messages: +msg293488

stage: resolved
2017-05-11 11:13:20vstinnersetmessages: +msg293487
2017-05-11 09:54:07cstrataksetpull_requests: +pull_request1642
2017-05-10 15:08:17vstinnersetnosy: +vstinner
messages: +msg293425
2017-05-09 13:50:04cstrataksetpull_requests: +pull_request1619
2017-04-21 18:16:10cburroughssetnosy: +cburroughs
2017-02-16 14:04:38cstrataksetpull_requests: +pull_request97
2016-11-24 10:10:45cstratakcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp