Re: [PROBLEM linux-next] Error in "make olddefconfig" and "make menuconfig"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux