-
Notifications
You must be signed in to change notification settings - Fork 55
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
Parallel make install is missing dependencies #405
Comments
I'm having trouble reproducing this. Specifically; the following has worked for 10 consecutive times: $ rm -rf /home/aaron/ircd/{bin,lib,modules}/ && \
./configure --prefix=/home/aaron/ircd/ && \
make -j install && \
make distclean && \
echo ok Furthermore, if I'm reading the output of your error log properly, the problem is that it's trying to build Can you provide more information? |
Initially we observed the install failure on A few suggestions to trigger it effectively:
For me using the above against
Thus I should be able to verify the fix if you will have a hard time triggering it on your machine. Looking at the failure specifics (against current
I find it suspicions that |
solanum-unstable-V-1.log.txt is the I find this multiple removals suspicious:
|
I think it gets rebuild indefinitely because of
That |
On top of that removal of the source in the middle of install looks fishy as well:
|
If you remove the |
It was not enough to fix the install. I tried the following change: --- a/ircd/Makefile.am
+++ b/ircd/Makefile.am
@@ -12,7 +12,6 @@ BUILT_SOURCES = ircd_parser.h version.c
version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h
$(SHELL) version.c.SH
$(CP) version.c version.c.last
- touch version.c.SH
libircd_la_SOURCES = \
authproc.c \
@@ -71,4 +70,3 @@ solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
install-exec-hook: install-libircdLTLIBRARIES
- $(RM) -f version.c Still fails as: Looking at the log it sill tries to relink
|
But if I remove --- a/ircd/Makefile.am
+++ b/ircd/Makefile.am
@@ -12,7 +12,6 @@ BUILT_SOURCES = ircd_parser.h version.c
version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h
$(SHELL) version.c.SH
$(CP) version.c version.c.last
- touch version.c.SH
libircd_la_SOURCES = \
authproc.c \
@@ -69,6 +68,3 @@ bin_PROGRAMS = solanum
solanum_SOURCES = main.c
solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
-
-install-exec-hook: install-libircdLTLIBRARIES
- $(RM) -f version.c Looking at https://www.gnu.org/software/automake/manual/html_node/Extending-Installation.html I think the desired ordering should already be implied. |
For nixpkgs we are converting our install hook to parallelize installation, which yields great speedups with e.g., openssl.
For solanum it was noticed, that it does not play well with for example
make -j6 install
. It consistently fails like this:Solanum is one of 12 packages, for which we had to disable parallel install. Would be amzing if this dependency could get set up.
The text was updated successfully, but these errors were encountered: