Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-4961] [FreeBSD] make didn't run dtrace to generate provider.h #690

Open
swift-ci opened this issue May 21, 2017 · 4 comments
Open

[SR-4961] [FreeBSD] make didn't run dtrace to generate provider.h #690

swift-ci opened this issue May 21, 2017 · 4 comments

Comments

@swift-ci
Copy link

Previous ID SR-4961
Radar None
Original Reporter vg (JIRA User)
Type Bug

Attachment: Download

Environment

11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 #0: Mon Oct 24 06:55:27 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

Additional Detail from JIRA
Votes 1
Component/s libdispatch
Labels Bug
Assignee None
Priority Medium

md5: f75a1ef98441596da76f1499fb28a0ef

Issue Description:

Trying to build parts of swift 3.1.1-RELEASE

Making all in dispatch
Making all in man
Making all in os
Making all in private
Making all in src
make[1]: don't know how to make provider.h. Stop

Didn't handle command on run make

dtrace -h -s ./src/provider.d -o src/provider.h
@swift-ci
Copy link
Author

Comment by David Grove (JIRA)

running configure should determine whether or not dtrace is available on the build machine. This looks like configure found dtrace, but the build did not. But I can't tell from the incomplete build log; if you want more help please include the entire build log, starting with the sh autogen.sh

@swift-ci
Copy link
Author

Comment by Veniamin Gvozdikov (JIRA)

i've just attached file.

@swift-ci
Copy link
Author

Comment by David Grove (JIRA)

In the configure log, I see:

checking for dtrace... /usr/sbin/dtrace

That should have caused a definition in src/Makefile of

DTRACE=/usr/sbin/dtrace

Could you look in your src/Makefile and check to see how DTRACE is defined?

But from the make output it looks like DTRACE is defined to be just dtrace (no absolute path) and it appears that dtrace is not on your shell's path.

@swift-ci
Copy link
Author

Comment by Veniamin Gvozdikov (JIRA)

Yes it is line 243. I also attached Makefile

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant