Problem building webos-image-devel (2.0) for raspberry4

Hello Forum,

I am new to webOS and have never used bitbake before, so I am a bit lost.

I was following following the steps of the tutorial to build a webOS 2.0 development image and everything seemed to work:


...
gibim74@nuc4250:~/build-webos$ source oe-init-build-env
gibim74@nuc4250:~/build-webos$ bitbake webos-image-devel

In the finalization stage of the buildingphase the following error occurred - please advise:

'/home/florian/build-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/webos-image-devel/1.0-r2/rootfs/.opt'
| cat: /home/florian/build-webos/BUILD/deploy/images/raspberrypi4/uImage: No such file or directory
| cp: cannot stat '/home/florian/build-webos/BUILD/deploy/images/raspberrypi4/uImage': No such file or directory
| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_image_ostree (log file is located at /home/florian/build-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/webos-image-devel/1.0-r2/temp/log.do_image_ostree.7225)
ERROR: Task (/home/florian/build-webos/meta-webosose/meta-webos/recipes-core/images/webos-image-devel.bb:do_image_ostree) failed with exit code '1'

Adding the notes
NOTE: Tasks Summary: Attempted 7153 tasks of which 10 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Build completion summary:
NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 402 scratch)
NOTE: do_package_qa: 0.0% sstate reuse(0 setscene, 422 scratch)
NOTE: do_package: 0.0% sstate reuse(0 setscene, 422 scratch)
NOTE: do_packagedata: 0.0% sstate reuse(0 setscene, 422 scratch)
NOTE: do_package_write_ipk: 0.0% sstate reuse(0 setscene, 422 scratch)
NOTE: do_populate_lic: 0.0% sstate reuse(0 setscene, 585 scratch)
Summary: 1 task failed:
/home/florian/build-webos/meta-webosose/meta-webos/recipes-core/images/webos-image-devel.bb:do_image_ostree
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thanks
GiBiM74

Hi @GiBiM74 ,

Welcome to the webOS OSE forum.

Would you test running the commands below and let us know the result?

$ bitbake -C deploy virtual/kernel
$ bitbake webos-image-devel

Thank you.

Hi Felipe,

these are my results:

```gave me two warnings: 
`WARNING: /home/florian/build-webos/oe-core/meta/recipes-kernel/linux/linux-yocto_4.18.bb.do_deploy is tainted from a forced run`
WARNING: linux-yocto-1_4.18.33+gitAUTOINC+865683fc87_1a564c76f4-r0 do_kernel_configcheck: [kernel config]: This BSP sets config options that are not offered anywhere within this kernel:

``CONFIG_RESfOURCE_COUNTERS
CONFIG_NETPRIO_CGROUP
CONFIG_VIRTIO_RING
CONFIG_CGROUP_MEM_RES_CTLR
CONFIG_CLS_CGROUP
CONFIG_DEVPTS_MULTIPLE_INSTANCES

bitbake webos-image-devel
gave me one ERROR: 
ERROR: Task (/home/florian/build-webos/meta-webosose/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1748 tasks of which 1747 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/florian/build-webos/meta-webosose/meta-webos/recipes-webos/enactjs-apps/enact-framework.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

I am on 
|Distributor ID:|Ubuntu|
|---|---|
|Description:|Ubuntu 18.04.3 LTS|
|Release:|18.04|
|Codename:|bionic|

Thx

Hi @GiBiM74
Today, I have verified that webos-image-devel builds successfully on my AWS.
Did you run the prerequisites.sh scripts before the build?
if you are not, please check following page.

Thanks
-Minaje Kim

Yes I did. I could also successfully run it on Digital Ocean. So I think there must be something with my NUC-install.

have you tried on ubuntu 19.04?

This isn't the kernel used for raspberrypi4 builds, you're probably building for qemux86.

I have not managed to get it working on ubuntu 19.04 - we are new here :grinning:
TEAM VEWD