Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: linux-kbuild@vger.kernel.org,
	Michal Marek <michal.lkml@markovi.net>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH] kconfig: fix "Can't open ..." in parallel build
Date: Thu, 16 Aug 2018 08:32:09 +0200	[thread overview]
Message-ID: <20180816063209.GA31303@nazgul.tnic> (raw)
In-Reply-To: <1534394208-13116-1-git-send-email-yamada.masahiro@socionext.com>

On Thu, Aug 16, 2018 at 01:36:48PM +0900, Masahiro Yamada wrote:
> If you run "make menuconfig" or "make nconfig" with -j<N> option in a
> fresh source tree, you will see several "Can't open ..." messages:
> 
>   $ make -j8 menuconfig
>     HOSTCC  scripts/basic/fixdep
>     YACC    scripts/kconfig/zconf.tab.c
>     LEX     scripts/kconfig/zconf.lex.c
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .:   HOSTCC  scripts/kconfig/lxdialog/checklist.o
>   Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>     HOSTCC  scripts/kconfig/lxdialog/inputbox.o
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>     UPD     scripts/kconfig/.mconf-cfg
>   /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg
>     HOSTCC  scripts/kconfig/lxdialog/menubox.o
>     HOSTCC  scripts/kconfig/lxdialog/textbox.o
>     HOSTCC  scripts/kconfig/lxdialog/util.o
>     HOSTCC  scripts/kconfig/lxdialog/yesno.o
>     HOSTCC  scripts/kconfig/mconf.o
>     HOSTCC  scripts/kconfig/zconf.tab.o
>     HOSTLD  scripts/kconfig/mconf
> 
> Correct dependencies to fix this problem.
> 
> Fixes: 1c5af5cf9308 ("kconfig: refactor ncurses package checks for building mconf and nconf")
> Reported-by: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  scripts/kconfig/Makefile | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Yap, works.

Thanks!

Tested-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

      reply	other threads:[~2018-08-16  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-16  4:36 [PATCH] kconfig: fix "Can't open ..." in parallel build Masahiro Yamada
2018-08-16  6:32 ` Borislav Petkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180816063209.GA31303@nazgul.tnic \
    --to=bp@alien8.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=sam@ravnborg.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox