Giter VIP home page Giter VIP logo

build-webos's Introduction

build-webos

This repository contains the top level code that aggregates the various OpenEmbedded layers into a whole from which webOS Open Source Edition (OSE) images can be built.

Prerequisites

Before you begin, make sure that you prepare the target device and systems that meet the System Requirements.

How to Build a webOS OSE Image

To build a webOS OSE image, refer to Building webOS OSE

If you are already familiar with building webOS OSE, check the following quick summary:

# Download this repository
$ git clone https://github.com/webosose/build-webos.git
$ cd build-webos
$ git checkout -t origin/<branch of the latest webOS OSE version>

# Install and configure the build
$ sudo scripts/prerequisites.sh
$ ./mcf -p 0 -b 0 raspberrypi4-64

# Start to build
$ source oe-init-build-env
$ bitbake webos-image

Note: See also Flashing webOS OSE.

Copyright and License Information

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (c) 2008-2024 LG Electronics, Inc.

All content, including all source code files and documentation files in this repository except otherwise noted are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SPDX-License-Identifier: Apache-2.0

How to Download Source Codes and Licenses

If you ONLY want to check the source codes and those license information, enter the following commands:

# Download this repository
$ git clone https://github.com/webosose/build-webos.git
$ cd build-webos
$ git checkout -t origin/<branch of the latest webOS OSE version>

# Install and configure the build
$ sudo scripts/prerequisites.sh
$ ./mcf -p 0 -b 0 raspberrypi4-64

# Download source codes and licenses
$ source oe-init-build-env
$ bitbake --runall=patch webos-image

You can check the source codes and licenses under the BUILD/work directory.

build-webos's People

Contributors

dpmin7 avatar ekyooo avatar eunminlim avatar geayoung100 avatar heeam-shin avatar hieunv0828 avatar jaekyu-lee avatar jaeyoonjung avatar jb-seo avatar jhcho009 avatar jongwoonglee90 avatar santhoshmuthu avatar seonmijin avatar shr-project avatar ultramask avatar ywbyun0815 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-webos's Issues

display

the left edge of the screen is missing some kind of screen resolution issue give option to change and fix aspect ratio and resolution

Video perfomance

Hi!
Using pre-installed test apps I was able to navigate to a page in my local network. The page only has a <video /> tag. I found out that mp4 HD videos freeze for a second every several seconds but it plays smoothly when the video quality is 360p. However, the Youtube app is able to play crispy HD videos smoothly. How can I achieve the same quality?
Thank you!

QEMUX86 build webruntime failing

Building webos OSE with following command :
git clone https://github.com/webosose/build-webos.git
./mcf -p 10 -b 10 qemux86 .
bitbake webos-image
Build failing with webruntime recipe:

Error log : version `GCC_7.0.0' not found. failing at do_compile stage.
Host Environment: 16.04 Ubuntu. with GCC 7.4.x 64-bit system.
Is there any answer to over come this error.
This error is seen at 98% of the build.

Webos

Jen tak na zkoušku

localization-tool-native-1.11.0-r9 do_fetch error

When I run "bitbake webos-image-devel" There is 2 Error. because the master branch is not existed.
device_type : qemux86-64
git checkout 2.20

ERROR: localization-tool-native-1.11.0-r9 do_fetch: Fetcher failure: Unable to find revision 9ac1b6554a0e4ce54da7c7ebbd581877b7330055 in branch master even from upstream ERROR: localization-tool-native-1.11.0-r9 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/iLib-js/ilib-loctool-webos-dist.git;branch=master;protocol=https')

Loading multiple videos with MediaSource API

When trying to load a webpage with more then one MediaSources, browser window goes black and there's following error message in debugger console:

Uncaught InvalidStateError: Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'.

Same page works fine in desktop chrome.

I'm attaching minimal example, it tries to load and play two videos using MediaSource API.

simplest-html.zip

I got GPG issues on executing scripts/prerequisites.sh

I tried to build webOS, and i got gpg key issues on executing scripts/prerequisties.sh
following is error image
image
It was ok to pass run prerequisties.sh until 23/03/23,,,
Following is what i tried to solve this error

  • apt-key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BE5F80F804B81517

image

  • curl
curl -sS https://download.spotify.com/pubkey_BE5F80F804B81517.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/spotify.gpg

image

I guess the public key is deprecated or third party server(requested when prerequisties.sh runs) deleted the public key..
Please check this issue, thank you for reading

Develop Native apps in Qt5

Can someone guide, how to develop GUI application using Qt as WebOS has Qt implementation inside.
it will be very nice as it will open the way to develop lots of Apps in C++. like Sailfish OS and Ubuntu etc.

Build error at meta-webosose/meta-webos/recipes-webos/nodejs-module-webos/nodejs-module-webos-dynaload.bb:do_configure

Build error at "make webos-image".

WARNING: nodejs-module-webos-service-1.0.1-1-r3 do_install: : Installing roles and services files from bitbake is deprecated - use cmake, qmake, etc.
ERROR: nodejs-module-webos-dynaload-3.0.2-1-r4 do_configure: Function failed: do_configure (log file is located at /home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/temp/log.do_configure.25311)
ERROR: Logfile of failure stored in: /home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/temp/log.do_configure.25311
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| gyp info it worked if it ends with ok
| gyp info using [email protected]
| gyp info using [email protected] | linux | x64
| gyp info spawn python
| gyp info spawn args [ '/home/koba/webos/build-webos/BUILD/sysroots/x86_64-linux/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
| gyp info spawn args   'binding.gyp',
| gyp info spawn args   '-f',
| gyp info spawn args   'make',
| gyp info spawn args   '-I',
| gyp info spawn args   '/home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/git/build/config.gypi',
| gyp info spawn args   '-I',
| gyp info spawn args   '/home/koba/webos/build-webos/BUILD/sysroots/x86_64-linux/usr/lib/node_modules/node-gyp/addon.gypi',
| gyp info spawn args   '-I',
| gyp info spawn args   '/home/koba/.node-gyp/6.11.2/common.gypi',
| gyp info spawn args   '-Dlibrary=shared_library',
| gyp info spawn args   '-Dvisibility=default',
| gyp info spawn args   '-Dnode_root_dir=/home/koba/.node-gyp/6.11.2',
| gyp info spawn args   '-Dmodule_root_dir=/home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/git',
| gyp info spawn args   '--depth=.',
| gyp info spawn args   '--generator-output',
| gyp info spawn args   'build',
| gyp info spawn args   '-Goutput_dir=.' ]
| (node:25978) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead.
| gyp: /home/koba/.node-gyp/6.11.2/common.gypi not found (cwd: /home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/git) while reading includes of binding.gyp
| gyp ERR! configure error
| gyp ERR! stack Error: `gyp` failed with exit code: 1
| gyp ERR! stack     at ChildProcess.onCpExit (/home/koba/webos/build-webos/BUILD/sysroots/x86_64-linux/usr/lib/node_modules/node-gyp/lib/configure.js:337:16)
| gyp ERR! stack     at emitTwo (events.js:106:13)
| gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
| gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
| gyp ERR! System Linux 4.4.0-116-generic
| gyp ERR! command "/home/koba/webos/build-webos/BUILD/sysroots/x86_64-linux/usr/bin/node" "/home/koba/webos/build-webos/BUILD/sysroots/x86_64-linux/usr/bin/node-gyp" "--arch" "arm" "configure"
| gyp ERR! cwd /home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/git
| gyp ERR! node -v v6.11.2
| gyp ERR! node-gyp -v v0.12.2
| gyp ERR! not ok
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/koba/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/nodejs-module-webos-dynaload/3.0.2-1-r4/temp/log.do_configure.25311)
ERROR: Task (/home/koba/webos/build-webos/meta-webosose/meta-webos/recipes-webos/nodejs-module-webos/nodejs-module-webos-dynaload.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4390 tasks of which 11 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 28.261276721954346 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 340 scratch)
NOTE:   do_package_qa: 0.0% sstate reuse(0 setscene, 186 scratch)
NOTE:   do_package: 0.0% sstate reuse(0 setscene, 194 scratch)
NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 192 scratch)
NOTE:   do_package_write_ipk: 0.0% sstate reuse(0 setscene, 186 scratch)
NOTE:   do_populate_lic: 0.0% sstate reuse(0 setscene, 432 scratch)

Summary: 1 task failed:
  /home/koba/webos/build-webos/meta-webosose/meta-webos/recipes-webos/nodejs-module-webos/nodejs-module-webos-dynaload.bb:do_configure
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [webos-image] Error 1

/home/koba/.node-gyp/6.11.2/common.gypi is missing. (/home/koba is my home dir.)
This seems root cause.
There is /home/koba/.node-gyp/6.11.2/
It is automatically generated during build process (because I use a clean new vm instance to build this.)

$ ls -l /home/koba/.node-gyp/6.11.2/
total 8
drwxr-xr-x 3 koba koba 4096 Nov  1  2016 include
-rw-r--r-- 1 koba koba    2 Apr  1 02:07 installVersion

I keep having fetch errors while trying to build

Summary: 1 task failed: /home/foxl/Downloads/build-webos/meta-webosose/meta-webos/recipes-upstreamable/node-gyp/node-gyp-native_git.bb:do_fetch Summary: There were 8 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
thank you if your able to help me

SSD with exFat is not supported in LG Tv

Thanks for the lovely open source

After buying an SSD, San disk, I was surprised after plugged in the ssd drive that LG tv is not supporting exFat file system. And the tv response is to format my ssd to ntfs. Would you please update this and a support to exFat? exFat is a universal file system which gives the freedom read/write any data from Mac/linux or Windows. Ntfs is limited to windows.

Your response is appreciated

Webosose Can't build because Ostree's master branch has been changed to the main branch

error code :

ERROR: ostree-2020.3-r0 do_fetch: Fetcher failure: Unable to find revision 6ed48234ba579ff73eb128af237212b0a00f2057 in branch master even from upstream
ERROR: ostree-2020.3-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/ostreedev/ostree'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/default/Downloads/build-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/ostree/2020.3-r0/temp/log.do_fetch.24493
ERROR: Task (/home/default/Downloads/build-webos/meta-oe/meta-oe/recipes-extended/ostree/ostree_2020.3.bb:do_fetch) failed with exit code '1'

check the follow link for detail : [https://github.com/ostreedev/ostree/issues/2360]

build problem

WARNING: ostree-2020.3-r0 do_fetch: Failed to fetch URL gitsm://github.com/ostreedev/ostree, attempting MIRRORS if available
ERROR: ostree-2020.3-r0 do_fetch: Fetcher failure: Unable to find revision 6ed48234ba579ff73eb128af237212b0a00f2057 in branch master even from upstream
ERROR: ostree-2020.3-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/ostreedev/ostree'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /media/woongbae/Backup/git_repo/build-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/ostree/2020.3-r0/temp/log.do_fetch.9393
ERROR: Task (/media/woongbae/Backup/git_repo/build-webos/meta-oe/meta-oe/recipes-extended/ostree/ostree_2020.3.bb:do_fetch) failed with exit code '1'

Build failed. Anyone help me.
3rd build already -0-

custom the image

How could i custom build the image? For example, i don't want some exiting app, like video-call, camera app....... I want to remove them when I build the image.

Build issue with webOS OSE

I get an error such as the following while building the webOS.

| collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
| compilation terminated.
| [27062/40470] CXX v8_snapshot_clang_arm/obj/v8/v8_libbase/region-allocator.o
| [27063/40470] CXX v8_snapshot_clang_arm/obj/v8/v8_libbase/platform-posix.o
| [27064/40470] CXX v8_snapshot_clang_arm/obj/v8/v8_libbase/random-number-generator.o
| [27065/40470] CXX v8_snapshot_clang_arm/obj/v8/v8_cppgc_shared/worklist.o
| [27066/40470] CXX v8_snapshot_clang_arm/obj/v8/v8_cppgc_shared/stack.o
| [27067/40470] LINK host/top_domain_generator
| [27068/40470] CXX v8_snapshot_clang_arm/obj/v8/torque_base/torque-parser.o
| [27069/40470] CXX v8_snapshot_clang_arm/obj/v8/torque_base/implementation-visitor.o
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/data/webos/build-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/webruntime/91.0.4472.114-11-r52.4/temp/run.do_compile.3665598' failed with exit code 1
ERROR: Task (/data/webos/build-webos/meta-webosose/meta-webos/recipes-webos/chromium/webruntime_91.bb:do_compile) failed with exit code '1'

Does anyone know the root cause of this?

webOS can't build webos-emul version

my system info is

Linux instance-20190923-1019 4.15.0-1026-oracle #29-Ubuntu SMP Wed Sep 18 10:17:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

when i was build image error message appear.
this is error message

Initialising tasks: 100% |#######################################| Time: 0:00:07
Sstate summary: Wanted 2 Found 0 Missed 2 Current 2881 (0% match, 99% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: webos-image-devel-1.0-r2 do_rootfs: The postinstall intercept hook 'update_icon_cache' failed, details in /buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/temp/log.do_rootfs
ERROR: webos-image-devel-1.0-r2 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/temp/log.do_rootfs.20213
ERROR: Task (/buildFolder/build-emul/build-webos/meta-webosose/meta-webos/recipes-core/images/webos-image-devel.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7975 tasks of which 7972 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /buildFolder/build-emul/build-webos/meta-webosose/meta-webos/recipes-core/images/webos-image-devel.bb:do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

and this is log for do_rootfs error

NOTE: > Executing update_icon_cache intercept ...
NOTE: Exit code 127. Output:
/buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/intercept_scripts-6679068372455a5bd09b0baac9f4e70c1c28d9cad41aced38613385a8c2fb78b/update_icon_cache: 6: /buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/intercept_scripts-6679068372455a5bd09b0baac9f4e70c1c28d9cad41aced38613385a8c2fb78b/update_icon_cache: /buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/recipe-sysroot-native//gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: not found

ERROR: The postinstall intercept hook 'update_icon_cache' failed, details in /buildFolder/build-emul/build-webos/BUILD/work/qemux86-webos-linux/webos-image-devel/1.0-r2/temp/log.do_rootfs
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

when i build image work succesfull in raspberrypi case but emul version image is fail

plese check this issue.

Bad code (or possibly practice of it)

Hi, I've recently stumbled across WebOS OS and thought that it looked awesome (which it is); this was a huge relief to me because I had one or two spare Raspberry pi 3s and could replace my TV's god-awful default Netflix experience which doesn't output to digital audio and therefore isn't compatible with my amp . There is only one huge problem: I can't find any pre-built binaries and when I try to build it myself I get a wall of errors. It is bad practice to release a project and expect every user to spend an hour or so setting up an Ubuntu VM (because barely anyone uses dual boot and fewer have a good Ubuntu setup lying around) and then waiting for it to build an image. Another reason for this being bad practice is not everyone will get the same result (and in my case, people can get errors). Here's what I've done:

  1. Setup an Ubuntu VM with the recommended no. of cores (4), 9GB of RAM (1GB more than the minimum) and a 20GB disk (because this is a bare-bones install of Ubuntu which leaves 16 GB free for an 8GB OS (as per the SD card recommendations)). The cores are running at 4GHz and are not hyperthreaded.

  2. Installed Ubuntu raw (meaning not Ubuntu Studio or anything) ver 18.04 in the minimum version (excluding office etc. but with the additional drivers just in case)

  3. Following this I cloned the repo into a 0777 permission folder which I owned and was in my user domain and all of the rest NOT USING sudo su root and as the base user for the VM and under rapi 3 settings without setting parallelism values.

  4. Get an error by running either
    $ source oe-init-build-env $ bitbake webos-image

or

make webos-image

Which reads the following:

image

and

image

I would appreciate any help that I can get. Bear in mind that I've never had to build an OS or anything on Ubuntu before (or any Linux platform) and I'm used to just hitting Ctrl + B or F5 in .NET. I would also like it if you would include the binaries since additional space on GitHub doesn't cost (or at least it doesn't on GItLab) and I know that you probably have them because you'd had to have used them for QA or at least to make sure that it builds,

Thomas

qtmultimedia is not compatible with the current version of Qt.

I create built-in native app and got build error related to qtmultimedia when I add this module to .bb file. Error log as below:

qtmultimedia was skipped: Recipe will be skipped because: fails to build: qtmultimedia/6.0.0-r1/git/src/qtmultimediaquicktools/qsgvideonode_texture.cpp:56:30: error: 'class QSGRhiSupport' has no member named 'isRhiEnabled'. http://gecko.lge.com:8000/Errors/Details/565741
qtmultimedia was skipped: Recipe will be skipped because: fails to build: qtmultimedia/6.0.0-r1/git/src/qtmultimediaquicktools/qsgvideonode_texture.cpp:56:30: error: 'class QSGRhiSupport' has no member named 'isRhiEnabled'. http://gecko.lge.com:8000/Errors/Details/565741

There are no build errors with other modules like qtdeclarative or qtwayland. As far as I know, this error is due to incompatibility with the current Qt version. Please patch the code to update isRhiEnabled in the QSGRhiSupport class.

Additional information: I simply run the command build: bitbake qtmultimedia, and the same error occurs. So it must be an error of Qt in this build-webos

Regarding webos building issues

my building system is :

cat /etc/release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"

my purpose is building arm architecture 32bit system image, so i choose Raspberry Pi 3 as
target device according to the building guide:

git clone https://github.com/webosose/build-webos.git

./mcf -p 0 -b 4 raspberrypi3

make webos-image

unluckly, build failed, the log is:
3: webruntime-72.0.3626.121-23-r25.1 do_configure - 5s (pid 28462)
$<50>ERROR: Logfile of failure stored in: /home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/temp/log.do_configure.28462
Log data follows:
| DEBUG: Executing shell function do_configure
| GN_ARGS is cros_host_ar="ar" cros_host_cc="gcc " cros_host_cxx="g++ " cros_host_extra_ldflags="-L/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -L/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-rpath-link,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-rpath,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-O1" cros_target_ar="arm-webos-linux-gnueabi-ar" cros_target_cc="arm-webos-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" cros_target_cxx="arm-webos-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" enable_memorymanager_webapi=true ffmpeg_branding="Chrome" host_os="linux" is_app_shell_cbe=true is_clang=false is_cross_linux_build=true is_webos=true is_debug=false is_component_build=false ozone_auto_platforms=false ozone_platform_wayland_external=true proprietary_codecs=true target_os="linux" target_sysroot="/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" treat_warnings_as_errors=false use_bundled_fontconfig=false use_cbe=true use_cups=false use_custom_libcxx=false use_custom_libcxx_for_host=true use_kerberos=false use_ozone=true use_pmlog=true use_sysroot=false use_system_debugger_abort=true use_webos_v8_snapshot=true use_xkbcommon=true enable_av1_decoder=false symbol_level=1 blink_symbol_level=0 use_gst_media=true enable_webm_video_codecs=false use_jumbo_build=true jumbo_file_merge_limit=8 use_webos_gpu_info_collector=false use_lttng=true use_neva_media=true is_host_clang=true fatal_linker_warnings=false enable_nacl=false disable_ftp_support=true enable_print_preview=false enable_remoting=false use_gnome_keyring=false use_pulseaudio=false linux_use_bundled_binutils=false use_debug_fission=false use_gold=true target_cpu="arm" arm_arch="armv7ve" arm_version=7 arm_float_abi="hard" host_pkg_config="pkg-config-native" closure_compile=false
| BUILD_TARGETS are webos:weboswebruntime app_shell
| ERROR at //BUILD.gn:1061:3: Empty sources for copy command.
| copy("layout_test_data_mojo_bindings") {
| ^---------------------------------------
| You have to specify at least one file to copy in the "sources".
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/temp/log.do_configure.28462)

but now i don't want to discuss the detail about the issue i encounter.
i just want you give me some advice, do i need use some special branch or tag for building pi3?
Thanks.

Can not access to 'https://code.qt.io/yocto/meta-qt6.git/'

When i build webos using './mcf -p 0 -b 0 rasberrypi4-64', i fail to clone git link
subprocess.CalledProcessError: Command 'git clone https://code.qt.io/yocto/meta-qt6.git meta-qt6' returned non-zero exit status 128.

Is this a temporal bug?

If not how can I build webOS?
plz notify other link for yocto.

Thanks

nodejs_16.14.2.bb:do_compile) failed with exit code '1'

I am trying to build this on Ubuntu 22.10 x86_64. I'm getting the following error after following the guide:

./mcf -p 8 -b 8 raspberrypi4
make

Setscene tasks: 4295 of 4295
Currently  8 running tasks (2127 of 10411)  20% |###############################                                                                                                                           |
0: linux-raspberrypi-1_5.15.34+gitAUTOINC+e1b976ee4f_0086da6acd-r0 do_fetch - 17m43s (pid 1600724)  84% |##################################################################################                |
ERROR: nodejs-native-16.14.2-r0 do_compile: oe_runmake failed
ERROR: nodejs-native-16.14.2-r0 do_compile: ExecutionError('/home/developer/webosose/build-webos/BUILD/work/x86_64-linux/nodejs-native/16.14.2-r0/temp/run.do_compile.1963232', 1, None, None)
ERROR: Logfile of failure stored in: /home/developer/webosose/build-webos/BUILD/work/x86_64-linux/nodejs-native/16.14.2-r0/temp/log.do_compile.1963232
|   g++  -o Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/memory-reducer.o ../deps/v8/src/heap/memory-reducer.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_EMBEDDER_STRING="-node.20"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ATOMIC_MARKING_STATE' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I/home/developer/webosose/build-webos/BUILD/work/x86_64-linux/nodejs-native/16.14.2-r0/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I.//Release/obj/gen -I.//Release/obj/gen/generate-bytecode-output-root -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google  -pthread -Wno-unused-parameter -m64 -Wno-return-type -fno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++14 -MMD -MF .//Release/.deps/Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/memory-reducer.o.d.raw -isystem/home/developer/webosose/build-webos/BUILD/work/x86_64-linux/nodejs-native/16.14.2-r0/recipe-sysroot-native/usr/include -isystem/home/developer/webosose/build-webos/BUILD/work/x86_64-linux/nodejs-native/16.14.2-r0/recipe-sysroot-native/usr/include -O2 -pipe -c
| {standard input}: Assembler messages:
| {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
| g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [tools/v8_gypfiles/v8_base_without_compiler.host.mk:975: Release/obj.host/v8_base_without_compiler/deps/v8/src/heap/heap.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm 89e49ae1fd8258832b8403b0632542071c9af418.intermediate 33145e028b8b26295f56aa27a95eeb0eaccb313f.intermediate 3e1aeba0226705d401fa14a3f8a75f4def24663f.intermediate 86aa29cd237649188c6186a4eb7abc7426d8d769.intermediate e11746de0a48ca481764bd956822e1b19d0b0d0d.intermediate
| make: *** [Makefile:113: node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/home/developer/webosose/build-webos/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_16.14.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2797 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 217 scratch)
NOTE:   do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 344 scratch)
NOTE:   do_package: 0.0% sstate reuse(0 setscene, 23 scratch)
NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 19 scratch)

Summary: 1 task failed:
  virtual:native:/home/developer/webosose/build-webos/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_16.14.2.bb:do_compile
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
make: *** [Makefile:42: webos-image] Error 1

Prebuilt raspberry pi 3 image

Hey guys,

first off: As a former webos dev during the palm pre and palm pre 2 days, I have to pay my respects. The new architecture looks amazing, and is really well thought-through. Enact, wayland, mojo, pretty much everything looks very good and is very well engineered.

Anyways, I wanted to ask whether there's a prebuilt image for Raspberries so that people can get started easier when they don't have 100GB available?

It also might make sense to have some prebuilt libraries available in different architectures, using a lazy-cache mechanism similar to ninja or others - so that e.g. chromium does not have to be built from scratch (assuming it takes a lot of space, memory and compile time; currently still digging through the tutorial).

webOS OSE kernel doesn't work with ftrace feature

The Linux kernel inside webOS OSE doesn't work with ftrace feature as follows:

root@raspberrypi3:/sys/kernel/debug/tracing# cat tracing_on
1

root@raspberrypi3:/sys/kernel/debug/tracing# cat trace
# tracer: nop
#
# entries-in-buffer/entries-written: 0/0   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |

root@raspberrypi3:/sys/kernel/debug/tracing# cat current_tracer
nop

root@raspberrypi3:/sys/kernel/debug/tracing# cat available_tracers
blk function_graph wakeup_dl wakeup_rt wakeup irqsoff function nop

root@raspberrypi3:/sys/kernel/debug/tracing# echo "function_graph" > current_tracer

Right after writing "function_graph" to "current_tracer", the system freezes and cannot do anything.
The same problem happens when I tested to enable "function" tracer as follows:

root@raspberrypi3:/sys/kernel/debug/tracing# echo function > current_tracer

Except for those, it seems that other tracers work fine.

It may not be an important issue for webOS OSE, but I'm just leaving a note for later reference.

Not compiled in WSL

I tried to compile in WSL, but got the error like below:

sudo make webos-image
for MACHINE in raspberrypi4 ; do . ./oe-init-build-env && bitbake  webos-image; done
Altered environment for raspberrypi4@webos development
NOTE: Retrying server connection...
ERROR: Unable to connect to bitbake server, or start one
Makefile:42: recipe for target 'webos-image' failed
make: *** [webos-image] Error 1

Is there anything you can do with this?

ares-install stuck indefinitely

I'm not sure if this is the right platform for such issues, anyhow:

I have been trying to install apps to webOS OSE via ares-install and it doesn't seem to complete the process and is stuck at processing. Below you can find the verbose log of ares-install

ares-install --device target com.limelight.webos_1.4.0_arm.ipk -v
ares-install verb argv {
ares-install verb argv   device: 'target',
ares-install verb argv   level: 'verbose',
ares-install verb argv   argv: {
ares-install verb argv     remain: [ 'com.limelight.webos_1.4.0_arm.ipk' ],
ares-install verb argv     cooked: [
ares-install verb argv       '--device',
ares-install verb argv       'target',
ares-install verb argv       'com.limelight.webos_1.4.0_arm.ipk',
ares-install verb argv       '--level',
ares-install verb argv       'verbose'
ares-install verb argv     ],
ares-install verb argv     original: [ '--device', 'target', 'com.limelight.webos_1.4.0_arm.ipk', '-v' ]
ares-install verb argv   }
ares-install verb argv }
ares-install info install() pkgPath: com.limelight.webos_1.4.0_arm.ipk
ares-install info install#install() installing com.limelight.webos_1.4.0_arm.ipk
ares-install info install#makeSession() need to make new session
ares-install info novacom#Session() opening session to 'target'
ares-install info novacom#Resolver()#load()
[Info] Set target device : target
ares-install info novacom#Resolver()#getDeviceBy() key: name , value: target
ares-install verb novacom#Session()#begin() target: {
ares-install verb novacom#Session()#begin()   name: 'target',
ares-install verb novacom#Session()#begin()   type: undefined,
ares-install verb novacom#Session()#begin()   privateKeyName: undefined,
ares-install verb novacom#Session()#begin()   passphase: undefined,
ares-install verb novacom#Session()#begin()   description: 'new device description',
ares-install verb novacom#Session()#begin()   conn: [ 'ssh' ],
ares-install verb novacom#Session()#begin()   devId: null,
ares-install verb novacom#Session()#begin()   addr: 'ssh://root@<IP_ADDRESS>:22',
ares-install verb novacom#Session()#begin()   host: '<IP_ADDRESS>',
ares-install verb novacom#Session()#begin()   port: 22,
ares-install verb novacom#Session()#begin()   username: 'root',
ares-install verb novacom#Session()#begin()   default: true,
ares-install verb novacom#Session()#begin()   profile: 'ose',
ares-install verb novacom#Session()#begin()   files: 'stream',
ares-install verb novacom#Session()#begin()   password: '',
ares-install verb novacom#Session()#begin()   privateKey: undefined
ares-install verb novacom#Session()#begin() }
ares-install info novacom#Session()#begin() ssh session event: connected
ares-install info novacom#Session()#run() cmd:/bin/rm -rf /media/developer/temp && /bin/mkdir -p /media/developer/temp && /bin/chmod 777 /media/developer/temp, opt:{}
Installing package com.limelight.webos_1.4.0_arm.ipk
.   Processing
ares-install info novacom#Session()#put() uploding into device: /media/developer/temp/com.limelight.webos_1.4.0_arm.ipk from host: com.limelight.webos_1.4.0_arm.ipk
ares-install verb novacom#Session()#put() sftpPut()::start
ares-install verb novacom#Session()#sftpPut() host:com.limelight.webos_1.4.0_arm.ipk => device:/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk
ares-install verb Error: Received exit code 127 while establishing SFTP session
ares-install info novacom#Session()#put() sftp is not available, attempt transfering file via streamPut
ares-install info novacom#Session()#streamPut() streaming into device:/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk
ares-install info novacom#Session()#run() cmd:/bin/cat > "/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk", opt:{}
... Processing
ares-install info novacom#Session()#run() cmd:/bin/ls -l "/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk", opt:{}
ares-install verb novacom#Session()#run() on data (stdout)
ares-install verb install#install() ls -l: -rw-r--r-- 1 root root 910774 Feb 23 06:53 /media/developer/temp/com.limelight.webos_1.4.0_arm.ipk
ares-install verb install#install()
ares-install info novacom#Session()#run() cmd:/usr/bin/tail -c 200 "/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk" | /usr/bin/md5sum, opt:{}
ares-install verb novacom#Session()#run() on data (stdout)
ares-install verb install#install() srcMd5: fa591849cb73258990c1ff54014c5355 , dstMd5: fa591849cb73258990c1ff54014c5355
ares-install verb luna#send() calling: -i luna://com.webos.appInstallService/dev/install '{"id":"com.ares.defaultName","ipkUrl":"/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk","subscribe":true}'
ares-install info novacom#Session()#run() cmd:/usr/bin/luna-send-pub -i luna://com.webos.appInstallService/dev/install '{"id":"com.ares.defaultName","ipkUrl":"/media/developer/temp/com.limelight.webos_1.4.0_arm.ipk","subscribe":true}', opt:{}
..  Processing

Cant find pre-build images

Website says that they "provides pre-built images of webOS OSE platform" and they "decided to publish them using GitHub Releases" but i cant find that images anywhere.

API for taking screenshots

I'm wondering what methods are available for taking screenshots in png or jpeg format. I've searched there: http://webosose.org/develop/ls2-api/ls2-api-reference/ and couldn't find any related method.

In X11 environment our application is able to take screenshots using AWT, but on WebOS it's not working.

The error I'm getting is:

java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

Also tried ':0.0' value for DISPLAY variable, same error.

build problem in webOSOSE

while building webosose for raspberrypi4, I am getting this error
image

Can someone help me out in resolving the problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.