Linux-KBuild Archive mirror
 help / color / mirror / Atom feed
From: Mirsad Todorovac <mtodorovac69@gmail.com>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Kernel Build System <linux-kbuild@vger.kernel.org>
Subject: Re: [PROBLEM linux-next] Error in "make olddefconfig" and "make menuconfig"
Date: Tue, 14 May 2024 20:44:52 +0200	[thread overview]
Message-ID: <466ee9f8-c87e-40c0-bafc-77e6c630a56a@gmail.com> (raw)
In-Reply-To: <b948b14b-1543-4314-9e9e-58a54cf2b734@gmail.com>

On 5/14/24 20:37, Mirsad Todorovac wrote:
> Hi, Mr. Bagas,
> 
> While bisecting a problem in linux-next tree, I came across the problem:
> 
> marvin@defiant:~/linux/kernel/linux-next$ git describe
> v6.7-rc5-2761-gefc11f34e25f
> marvin@defiant:~/linux/kernel/linux-next$ make olddefconfig
> make[2]: *** No targets.  Stop.
> make[1]: *** [/home/marvin/linux/kernel/linux-next/Makefile:621: scripts_basic] Error 2
> make: *** [Makefile:234: __sub-make] Error 2
> marvin@defiant:~/linux/kernel/linux-next$ make menuconfig
> make[2]: *** No targets.  Stop.
> make[1]: *** [/home/marvin/linux/kernel/linux-next/Makefile:621: scripts_basic] Error 2
> make: *** [Makefile:234: __sub-make] Error 2
> marvin@defiant:~/linux/kernel/linux-next$ 
> 
> Now, this occurred for the first time, and I don't know how to bail out.
> 
> I recall in past couple of years you have some insightful advice.
> 
> Thank you very much.

P.S.

If this can help, I thought that the debug info the Makefile might be useful, but I am
unable to see what goes wrong ...


marvin@defiant:~/linux/kernel/linux-next$ make -d olddefconfig
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
Updating makefiles....
 Considering target file 'Makefile'.
  Looking for an implicit rule for 'Makefile'.
  No implicit rule found for 'Makefile'.
  Finished prerequisites of target file 'Makefile'.
 No need to remake target 'Makefile'.
Updating goal targets....
Considering target file 'olddefconfig'.
 File 'olddefconfig' does not exist.
  Considering target file '__sub-make'.
   File '__sub-make' does not exist.
   Finished prerequisites of target file '__sub-make'.
  Must remake target '__sub-make'.
Putting child 0x56da685e5ea0 (__sub-make) PID 12141 on the chain.
Live child 0x56da685e5ea0 (__sub-make) PID 12141 
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile '/home/marvin/linux/kernel/linux-next/Makefile'...
Reading makefile 'scripts/Kbuild.include' (search path) (no ~ expansion)...
Reading makefile 'scripts/subarch.include' (search path) (no ~ expansion)...
Reading makefile 'scripts/Makefile.compiler' (search path) (no ~ expansion)...
Reading makefile 'arch/x86/Makefile' (search path) (no ~ expansion)...
Updating makefiles....
 Considering target file 'arch/x86/Makefile'.
  Looking for an implicit rule for 'arch/x86/Makefile'.
  No implicit rule found for 'arch/x86/Makefile'.
  Finished prerequisites of target file 'arch/x86/Makefile'.
 No need to remake target 'arch/x86/Makefile'.
 Considering target file 'scripts/Makefile.compiler'.
  Looking for an implicit rule for 'scripts/Makefile.compiler'.
  No implicit rule found for 'scripts/Makefile.compiler'.
  Finished prerequisites of target file 'scripts/Makefile.compiler'.
 No need to remake target 'scripts/Makefile.compiler'.
 Considering target file 'scripts/subarch.include'.
  Looking for an implicit rule for 'scripts/subarch.include'.
  No implicit rule found for 'scripts/subarch.include'.
  Finished prerequisites of target file 'scripts/subarch.include'.
 No need to remake target 'scripts/subarch.include'.
 Considering target file 'scripts/Kbuild.include'.
  Looking for an implicit rule for 'scripts/Kbuild.include'.
  No implicit rule found for 'scripts/Kbuild.include'.
  Finished prerequisites of target file 'scripts/Kbuild.include'.
 No need to remake target 'scripts/Kbuild.include'.
 Considering target file '/home/marvin/linux/kernel/linux-next/Makefile'.
  Looking for an implicit rule for '/home/marvin/linux/kernel/linux-next/Makefile'.
  No implicit rule found for '/home/marvin/linux/kernel/linux-next/Makefile'.
  Finished prerequisites of target file '/home/marvin/linux/kernel/linux-next/Makefile'.
 No need to remake target '/home/marvin/linux/kernel/linux-next/Makefile'.
Updating goal targets....
Considering target file 'olddefconfig'.
 File 'olddefconfig' does not exist.
 Looking for an implicit rule for 'olddefconfig'.
 Trying pattern rule with stem 'olddef'.
 Trying rule prerequisite 'outputmakefile'.
 Trying rule prerequisite 'scripts_basic'.
 Trying rule prerequisite 'FORCE'.
 Found an implicit rule for 'olddefconfig'.
  Considering target file 'outputmakefile'.
   File 'outputmakefile' does not exist.
   Finished prerequisites of target file 'outputmakefile'.
  Must remake target 'outputmakefile'.
  Successfully remade target file 'outputmakefile'.
  Considering target file 'scripts_basic'.
   File 'scripts_basic' does not exist.
   Finished prerequisites of target file 'scripts_basic'.
  Must remake target 'scripts_basic'.
Putting child 0x5f53318546e0 (scripts_basic) PID 12208 on the chain.
Live child 0x5f53318546e0 (scripts_basic) PID 12208 
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'scripts/Makefile.build'...
Updating makefiles....
 Considering target file 'scripts/Makefile.build'.
  Looking for an implicit rule for 'scripts/Makefile.build'.
  No implicit rule found for 'scripts/Makefile.build'.
  Finished prerequisites of target file 'scripts/Makefile.build'.
 No need to remake target 'scripts/Makefile.build'.
make[2]: *** No targets.  Stop.
Reaping losing child 0x5f53318546e0 PID 12208 
make[1]: *** [/home/marvin/linux/kernel/linux-next/Makefile:621: scripts_basic] Error 2
Removing child 0x5f53318546e0 PID 12208 from chain.
Reaping losing child 0x56da685e5ea0 PID 12141 
make: *** [Makefile:234: __sub-make] Error 2
Removing child 0x56da685e5ea0 PID 12141 from chain.
marvin@defiant:~/linux/kernel/linux-next$ 

Hope this helps.

Best regards,
Mirsad Todorovac


  reply	other threads:[~2024-05-14 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14 18:37 [PROBLEM linux-next] Error in "make olddefconfig" and "make menuconfig" Mirsad Todorovac
2024-05-14 18:44 ` Mirsad Todorovac [this message]
2024-05-15  4:17 ` Masahiro Yamada
2024-06-02 11:48   ` Mirsad Todorovac

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=466ee9f8-c87e-40c0-bafc-77e6c630a56a@gmail.com \
    --to=mtodorovac69@gmail.com \
    --cc=bagasdotme@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).