openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* do_kernel_configcheck error after upgrading to release 2.10.0-rc1
@ 2021-10-13 13:11 Heyi Guo
  0 siblings, 0 replies; only message in thread
From: Heyi Guo @ 2021-10-13 13:11 UTC (permalink / raw)
  To: openbmc

Hi all,

After upgrading to openbmc 2.10.0-rc1, I got below error when building 
linux-aspeed:

ERROR: linux-aspeed-5.10.36+gitAUTOINC+992ac74129-r0 
do_kernel_configcheck: Error executing a python function in 
exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
      0001:
  *** 0002:do_kernel_configcheck(d)
      0003:
File: '/home/gary/obmc-upstream/meta/classes/kernel-yocto.bbclass', 
lineno: 570, function: do_kernel_configcheck
      0566:    if analysis:
      0567:        outfile = "{}/{}/cfg/invalid.txt".format(s,kmeta)
      0568:        if os.path.isfile(outfile):
      0569:           os.remove(outfile)
  *** 0570:        with open(outfile, 'w+') as f:
      0571:            f.write( analysis )
      0572:
      0573:        if bsp_check_visibility and os.stat(outfile).st_size > 0:
      0574:            with open (outfile, "r") as myfile:
Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/home/gary/obmc-upstream/build/ali2600/tmp/work-shared/ali2600/kernel-source/meta/cfg/invalid.txt'

ERROR: Logfile of failure stored in: 
/home/gary/obmc-upstream/build/ali2600/tmp/work/ali2600-openbmc-linux-gnueabi/linux-aspeed/5.10.36+gitAUTOINC+992ac74129-r0/temp/log.do_kernel_configcheck.11057
ERROR: Task 
(/home/gary/obmc-upstream/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb:do_kernel_configcheck) 
failed with exit code '1'

It seems no one creates the parent directory "meta/cfg" before trying to 
create the file "invalid.txt". The error could be got around by manually 
creating meta/cfg under the specific directory.

Is it a yocto bug or did I miss something?

Thanks,

Heyi


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-13 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 13:11 do_kernel_configcheck error after upgrading to release 2.10.0-rc1 Heyi Guo

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 NNTP newsgroup(s).