[Buildroot] [PATCH] package/libnss: disable parallel build with Make 4.4

James Hilliard james.hilliard1 at gmail.com
Thu Oct 20 00:23:08 UTC 2022


On Wed, Oct 19, 2022 at 7:36 PM James Hilliard
<james.hilliard1 at gmail.com> wrote:
>
> On Wed, Oct 19, 2022 at 3:55 PM Giulio Benetti
> <giulio.benetti at benettiengineering.com> wrote:
> >
> > Fixes:
> > http://autobuild.buildroot.net/results/433/4335d0d8454035a8f74645ba8d6c2329ab2e5480/
>
> Hmm, this looks like a bug in the libnss makefile, what was the failure
> seen with make 4.3 here:
> https://lore.kernel.org/buildroot/20220101210952.2148256-1-giulio.benetti@benettiengineering.com/

This patch also does not fix the build with make 4.4(make from master branch)
from my testing.

Even without shuffle mode enabled the build appears to always fail.

>
> >
> > Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> > ---
> >  package/libnss/libnss.mk | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
> > index 041b2cfc56..a613006f70 100644
> > --- a/package/libnss/libnss.mk
> > +++ b/package/libnss/libnss.mk
> > @@ -15,8 +15,8 @@ LIBNSS_LICENSE_FILES = nss/COPYING
> >  LIBNSS_CPE_ID_VENDOR = mozilla
> >  LIBNSS_CPE_ID_PRODUCT = nss
> >
> > -# Don't parallel build if make version = 4.3
> > -ifneq ($(filter $(RUNNING_MAKE_VERSION),4.3),)
> > +# Don't parallel build if make version = 4.3 or 4.4
> > +ifneq ($(filter $(RUNNING_MAKE_VERSION),4.3 4.4),)
> >  LIBNSS_MAKE = $(MAKE1)
> >  else
> >  LIBNSS_MAKE = $(MAKE)
> > --
> > 2.34.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot



More information about the buildroot mailing list