-
Notifications
You must be signed in to change notification settings - Fork 177
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
make jobs safety issue: heimbase-protos.h #1202
Comments
I can't reproduce this. In $(libheimbase_la_OBJECTS): $(srcdir)/heimbase-protos.h heim_err.h
$(srcdir)/heimbase-protos.h: $(dist_libheimbase_la_SOURCES)
cd $(srcdir) && \
perl ../../cf/make-proto.pl -q -P comment -o heimbase-protos.h $(dist_libheimbase_la_SOURCES) || \
rm -f heimbase-protos.h This should suffice to prevent a race. Oh, wait, this is about things that follow |
The most recent GNU make has support for What we should really do is take a page from OS/Net and first build all the headers, then build empty filters, then build everything. We could and should build all the headers first, but we can't really build empty filters because that's not necessarily supported by all ELF systems. We could generate shared objects with do-nothing stubs so that we could install these in a directory that can go last in the OS/Net (the core of Solaris and Illumos) does the following (simplified):
|
Describe the bug
Makefile dependencies aren't adequately recorded as of commit 3253c49, leading to make running in subdirectories requiring heimbase-protos.h with no rule to build it:
(possibly related to out-of-tree builds, haven't tested otherwise)
To Reproduce
Steps to reproduce the behavior:
(likely stochastic, so this might not work every time)
Expected behavior
build completes
Desktop (please complete the following information):
NetBSD 9.3
The text was updated successfully, but these errors were encountered: