parallel build failure(s)
simon at josefsson.org
Tue Nov 23 22:07:30 CET 2010
Graham Gower <graham.gower at gmail.com> writes:
> I'm using openembedded to cross build gnutls 2.10.2 and have seen a
> build failure which looks like its caused by missing dependencies
> in guile/src/Makefile.am. I am building with make -j 12.
> My failure:
> Another, similar failure:
> Its clear to me that the failures are due to the header file not
> being fully created before the guile-snarf process is invoked.
> I suspect something like the below patch may be the solution, but
> as I'm unable to easily reproduce the failure, I cannot reliably
> test it.
Thanks, committed! I also pushed it to the 2.10.x branch.
> diff --git a/guile/src/Makefile.am.orig b/guile/src/Makefile.am
> index e8e81b1..2ee1297 100644
> --- a/guile/src/Makefile.am.orig
> +++ b/guile/src/Makefile.am
> @@ -122,7 +122,7 @@ extra-smob-types.i.c: $(srcdir)/make-smob-types.scm
> snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
> $(CFLAGS) $(AM_CFLAGS) $(GUILE_CFLAGS)
> +.c.x: $(BUILT_SOURCES)
> $(guile_snarf) -o $@ $< $(snarfcppopts)
> # Target used by doc/Makefile, to create all built sources necessary
More information about the Gnutls-devel