brew --build-from-source fails on missing C99 header #4953
Unanswered
eblume
asked this question in
Tap maintenance and brew development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
(Please note: the above warnings should all be consistent with having followed the "How to Open a Homebrew Pull Request" tutorial, explained and linked below.)
Description of issue
Please see issue 153199 for a full description of the problem. Briefly:
I am trying to update the
daemontools
formula to include a missing path change required for the bundled brew service (via one of the installable scripts, 'svcscanboot.sh'). As a homebrew novice, following this guide, I created the requisite patch and went to test it withbrew --build-from-source
. This fails, and my reading of the source code that fails is essentially that the code as written requires headers I don't have access to providing the system callexecve
.Now, I don't consider myself a C stdlib expert, but I'm pretty sure I can execve all I want right now, so this seems to me to be some sort of library path resolution issue, maybe? Or maybe I need some developer package on my $PATH first?
As an additional layer to this onion: is any of this necessary? Whatever upstream process that produced the compiled artifacts has already done all the necessary compilation, my script change is just for some of the installable non-compiled artifacts (a brew service definition and a bash script) -- is the issue here that I should omit a
revision
change and not compile?Basically, I would love some assistance or pointers on how to succeed at fixing this formula with a 2-line diff. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions