root@Power9:/# su build-user
build-user@Power9:/$ cd
build-user@Power9:~$ cd blackbird-openbmc
build-user@Power9:~/blackbird-openbmc$ export TEMPLATECONF=meta-rcs/meta-blackbird/conf
build-user@Power9:~/blackbird-openbmc$ . openbmc-env
### Initializing OE build env ###
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

Common targets are:
     obmc-phosphor-image
build-user@Power9:~/blackbird-openbmc/build$ bitbake obmc-phosphor-image
ERROR: Execution of event handler 'check_sanity_eventhandler' failed
Traceback (most recent call last):
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 979, in check_sanity_eventhandler(e=<bb.event.SanityCheck object at 0x7fffa08f5828>):
             sanity_data = copy_data(e)
    >        check_sanity(sanity_data)
             if e.generateevents:
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 943, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x7fffa0852fd0>):
         if last_sanity_version < sanity_version or last_nativelsbstr != nativelsbstr: 
    >        check_sanity_version_change(status, sanity_data)
             status.addresult(check_sanity_sstate_dir_change(sstate_dir, sanity_data))
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 638, in check_sanity_version_change(status=<SanityStatus object at 0x7fffa0857ef0>, d=<bb.data_smart.DataSmart object at 0x7fffa0852fd0>):
         status.addresult(check_perl_modules(d))
    >    status.addresult(check_wsl(d))
     
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 517, in check_wsl(d=<bb.data_smart.DataSmart object at 0x7fffa0852fd0>):
     def check_wsl(d):
    >    with open("/proc/version", "r") as f:
             verdata = f.readlines()
FileNotFoundError: [Errno 2] No such file or directory: '/proc/version'

ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/build-user/blackbird-openbmc/poky/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
    self.cooker.updateCache()
  File "/home/build-user/blackbird-openbmc/poky/bitbake/lib/bb/cooker.py", line 1552, in updateCache
    bb.event.fire(bb.event.SanityCheck(False), self.databuilder.mcdata[mc])
  File "/home/build-user/blackbird-openbmc/poky/bitbake/lib/bb/event.py", line 225, in fire
    fire_class_handlers(event, d)
  File "/home/build-user/blackbird-openbmc/poky/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/build-user/blackbird-openbmc/poky/bitbake/lib/bb/event.py", line 106, in execute_handler
    ret = handler(event)
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 979, in check_sanity_eventhandler
    check_sanity(sanity_data)
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 943, in check_sanity
    check_sanity_version_change(status, sanity_data)
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 638, in check_sanity_version_change
    status.addresult(check_wsl(d))
  File "/home/build-user/blackbird-openbmc/meta/classes/sanity.bbclass", line 517, in check_wsl
    with open("/proc/version", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/proc/version'


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
build-user@Power9:~/blackbird-openbmc/build$ 

