Re: [PATCH] Build failure with parallel make
On 08/04/2024 14:55, Ondrej Zajicek wrote: On Mon, Apr 08, 2024 at 12:26:45PM +0100, Jim Hague via Bird-users wrote: While building a Buildroot project, I ran into an occasional Bird build failure. In a parallel make environment, nest can try to write proto-build.c to objdir/nest before that directory exists. I think this patch fixes: It is already fixed: https://gitlab.nic.cz/labs/bird/-/commit/23f3dd5cfbe8681b4e71c8d7345bdeaafc86e077 It seems that there is an old version of BIRD in the Buildroot project. Doh. How did I miss that? Thanks. -- Jim Hague - jim.ha...@acm.org Never trust a computer you can't lift.
Re: [PATCH] Build failure with parallel make
On Mon, Apr 08, 2024 at 12:26:45PM +0100, Jim Hague via Bird-users wrote: > Hi all, > > While building a Buildroot project, I ran into an occasional Bird build > failure. In a parallel make environment, nest can try to write proto-build.c > to objdir/nest before that directory exists. I think this patch fixes: Hi It is already fixed: https://gitlab.nic.cz/labs/bird/-/commit/23f3dd5cfbe8681b4e71c8d7345bdeaafc86e077 It seems that there is an old version of BIRD in the Buildroot project. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) "To err is human -- to blame it on a computer is even more so."
[PATCH] Build failure with parallel make
Hi all, While building a Buildroot project, I ran into an occasional Bird build failure. In a parallel make environment, nest can try to write proto-build.c to objdir/nest before that directory exists. I think this patch fixes: --- nest/Makefile.orig 2024-04-08 11:47:50.917918157 +0100 +++ nest/Makefile 2024-04-08 11:47:59.167838713 +0100 @@ -3,7 +3,7 @@ $(all-daemon) $(cf-local) -$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST)) +$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST)) $(objdir)/.dir-stamp $(E)echo GEN $@ $(Q)echo "$(patsubst %,void %_build(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %_build(); ,$(PROTO_BUILD))}" > $@ -- Jim Hague - jim.ha...@acm.org Never trust a computer you can't lift.