Re: Avoiding "warning: jobserver unavailable: using -j1. Add `+' to parent make rule." in src:debian-installer?
Cyril Brulebois (2013-06-06):
> Hi,
>
> src:debian-installer has a few definitions in build/Makefile to
> recurse once or many times depending on a few parameters. That
> currently leads to some:
> | make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
>
> Since I suspect we want that to be sequential anyway, I guess we could
> specify -j1 on that rule explicitly (see attached patch), thoughts?
Ping?
> From bde88aec7b74d2d5683e503c607f47d576d998e8 Mon Sep 17 00:00:00 2001
> From: Cyril Brulebois <kibi@debian.org>
> Date: Thu, 6 Jun 2013 22:55:14 +0200
> Subject: [PATCH] Specify -j1 for the submake definition.
>
> That's what happens anyway, and warnings go away accordingly.
> ---
> build/Makefile | 2 +-
> debian/changelog | 2 ++
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/build/Makefile b/build/Makefile
> index 54a2fde..9e7833e 100644
> --- a/build/Makefile
> +++ b/build/Makefile
> @@ -108,7 +108,7 @@ endif
>
> # Useful command sequences
> define submake
> - $(ROOTCMD) $(MAKE) --no-print-directory
> + $(ROOTCMD) $(MAKE) --no-print-directory -j1
> endef
>
> define recurse_once
> diff --git a/debian/changelog b/debian/changelog
> index 10ff1f8..53aceb5 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -18,6 +18,8 @@ debian-installer (2013XXXX) UNRELEASED; urgency=low
> - doc/i18n/languages.xsl
> * Bump linux kernel version from 3.2.0-4 to 3.9-1.
> * Set DEBIAN_VERSION to just '8'.
> + * Specify -j1 for the submake definition in build/Makefile; that's what
> + happens anyway, and warnings go away accordingly.
>
> [ Philipp Kern ]
> * s390(x): Remove the tape image flavour (no longer supported by
Reply to: