Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1803892ybg; Sat, 19 Oct 2019 02:52:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy89nQ6WpNLFfevCfVd8BqVYkbEYJZ5/5AxEfTY/vml1wxnzaMRYMTxDb0WPug7aH5FNZhN X-Received: by 2002:a17:906:70c7:: with SMTP id g7mr13052479ejk.9.1571478730658; Sat, 19 Oct 2019 02:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571478730; cv=none; d=google.com; s=arc-20160816; b=bB1sh4G8EfzeRjFvyTGrkdaJyUr2gqSu/mXOoSdbN3PPRqQJQ5hJBjgt9ifo15Bvip dFiKaKSPetYkVPPdV+HAD+egBzNJLBSyT0MHS5BGHO+yjV3kTO94OPpCy/DhOWSRcec/ mjLiMz2OkSvyL9hAmKw+jbro2U/xCtAhnBo7ZC3bp0QA+GH9FbJPVttkAXL9+u+SJfRW C0obaz4YdvEulmNfICpg4LTJB24J+gr5krbdKb48zFZcdRjitP8HvstoWvw11QY2yXe1 sJaSSLNQsfzO9PmEXmqgl2yXLsg7IBp7hnU7Cq5vLjZCUC/XZXtQI/FAswhbyaa58OYR nMNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=Wv7SDO7TGz/Tz/kPoq97RTLIMVXEt2S+6Yr6mw+gDCQ=; b=YAJUuZZOryXMZO4Dgn4wQ6EBx1U2y9mz4gGUp18bhwu5npGe3oNaNGt2o5T2jiVm9d s6lY141p4TSB+PMvqXIZKV+/sJ0LH6g/06Z4rDTdz0u5ilF+eDXHn7sNAYGK8u58YzoA 9KMEPLOVg4oMrCDuBlMPQhuLl4/2l4Ed2eRfKB66YosZDK2+klqV/8lqAmd2p+kMsiIW yWa7wuqRbnjsCZ6TE8qYIGzIB3pnGS986TJlkw3VpuuutdaWlhLN/0co85SkbSh1Ry9f SM2mVABuw+vViuY6bstbx4sA1sKyzaYf5147uRkDrWq5SCOarHIZP5x42mSOI1qpLSG2 ejpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qiFlhYVB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si4760228ejr.244.2019.10.19.02.51.47; Sat, 19 Oct 2019 02:52:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qiFlhYVB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390862AbfJSANs (ORCPT + 99 others); Fri, 18 Oct 2019 20:13:48 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:30391 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728453AbfJSANs (ORCPT ); Fri, 18 Oct 2019 20:13:48 -0400 Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x9J0DhVI017441; Sat, 19 Oct 2019 09:13:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x9J0DhVI017441 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1571444024; bh=Wv7SDO7TGz/Tz/kPoq97RTLIMVXEt2S+6Yr6mw+gDCQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qiFlhYVBWH7HcAHa04a0nidYNnCnZHQY+DeY0xGKGwNJa1W70j6ualaYq5jjbei7Q P0um+gifV5M5Isba1elISoevdeTYTvYVo+IEQZvfPEPAi3ROzpZ97MNGbVtXp/hr6S C7NJr+SBe2+MffR3Mmv4rXjGb4m703A0rEuKsGUFbbvRVUMxdlarZPmASzStUihaTW F7PTu2wrtwAtPEmVRw52VavGHZ7/s9dcNkNl6ZviYD+KYHI/Y0HoxDDFKJn/x6KaOm U/aN4/z6b3N8Es3NGkKRp/W04yH52En28mxmOllC7turK959Lb1IJcMKhaLE4Ojp6B 3Mg4brqp1262Q== X-Nifty-SrcIP: [209.85.222.46] Received: by mail-ua1-f46.google.com with SMTP id l13so2338807uap.8; Fri, 18 Oct 2019 17:13:44 -0700 (PDT) X-Gm-Message-State: APjAAAX/TkFC5XQJsNcLY2bIJo7JNP6DZM2EPPfir952rYF9Fs9bfqkL n1AUebqcGfqaLUcOu+3uDlbXLT4LsEk3cJl/CcY= X-Received: by 2002:ab0:59ed:: with SMTP id k42mr7047231uad.25.1571444023192; Fri, 18 Oct 2019 17:13:43 -0700 (PDT) MIME-Version: 1.0 References: <20191018220525.9042-1-sashal@kernel.org> <20191018220525.9042-77-sashal@kernel.org> In-Reply-To: <20191018220525.9042-77-sashal@kernel.org> From: Masahiro Yamada Date: Sat, 19 Oct 2019 09:13:07 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL 4.19 077/100] kbuild: fix build error of 'make nsdeps' in clean tree To: Sasha Levin Cc: Linux Kernel Mailing List , stable , Matthias Maennich , Jessica Yu , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sasha, On Sat, Oct 19, 2019 at 7:18 AM Sasha Levin wrote: > > From: Masahiro Yamada > > [ Upstream commit d85103ac78a6d8573b21348b36f4cca2e1839a31 ] > > Running 'make nsdeps' in a clean source tree fails as follows: > > $ make -s clean; make -s defconfig; make nsdeps > [ snip ] > awk: fatal: cannot open file `init/modules.order' for reading (No such file or directory) > make: *** [Makefile;1307: modules.order] Error 2 > make: *** Deleting file 'modules.order' > make: *** Waiting for unfinished jobs.... > > The cause of the error is 'make nsdeps' does not build modules at all. > Set KBUILD_MODULES to fix it. > > Reviewed-by: Matthias Maennich > Signed-off-by: Masahiro Yamada > Signed-off-by: Jessica Yu > Signed-off-by: Sasha Levin > --- nsdeps was introduced in v5.4 Please do not backport this commit. Thanks. > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 4d29c7370b464..80f169534c4a7 100644 > --- a/Makefile > +++ b/Makefile > @@ -566,7 +566,7 @@ endif > # in addition to whatever we do anyway. > # Just "make" or "make all" shall build modules as well > > -ifneq ($(filter all _all modules,$(MAKECMDGOALS)),) > +ifneq ($(filter all _all modules nsdeps,$(MAKECMDGOALS)),) > KBUILD_MODULES := 1 > endif > > -- > 2.20.1 > -- Best Regards Masahiro Yamada