From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:55002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727320AbfJ2JJp (ORCPT ); Tue, 29 Oct 2019 05:09:45 -0400 Date: Tue, 29 Oct 2019 05:09:41 -0400 From: Sasha Levin Subject: Re: [PATCH AUTOSEL 5.3 50/89] kbuild: fix build error of 'make nsdeps' in clean tree Message-ID: <20191029090941.GK1554@sasha-vm> References: <20191018220324.8165-1-sashal@kernel.org> <20191018220324.8165-50-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Masahiro Yamada Cc: Linux Kernel Mailing List , stable , Matthias Maennich , Jessica Yu , Linux Kbuild mailing list On Sat, Oct 19, 2019 at 09:14:13AM +0900, Masahiro Yamada wrote: >On Sat, Oct 19, 2019 at 7:04 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. I've dropped it everywhere, thank you. -- Thanks, Sasha