Hi, Chromium was not adapted to the changes in kirkstone when AGL build was updated to use it. You will need this review chain: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/27449 It includes the port to m91 to match what is present right now on marlin. But also some stuff that is specific to moving to kirkstone: * Work with a more recent nodejs. I took the opportunity to update all the NPM dependencies to a more recent baseline. * python2 and pkgconfig dependencies explicitely. * Updates of the recipe append rules to match kirkstone expected format. Basically, when those commits are landed, you should be able to run the HTML5 image again in qemux86-64. El mié, 11-05-2022 a las 19:28 +1000, Bernard Craddock escribió: > Hi Team, > As previously mentioned I would like to build, run and review the > HTML5 image mainly for curiosity, but also to see if there's any > synergies between html5 and flutter > I watched Lorenzo's clip https://www.youtube.com/watch?v=lx6aXffPL0k > then launched same > > $ source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b qemux86-64 > agl-devel agl-localdev agl-demo > $ nohup time bitbake agl-demo-platform-html5 > > $ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.4 LTS > Release: 20.04 > Codename: focal > > Noticing chromium used is 87 whilst knowing chromium91 project is > underway so little apprehensive build would fail, Which it did on the > following with most if not all the reported html errors being > npm node, node-gyp install/build elated with some complaints thrown > in for good measure concerning can't find python2 in path etc, which > maybe correct but perhaps only symptoms of the fact chromium config > failed. > I've the attached the full log so easy to see > > Summary: 4 tasks failed: > /home/bcraddock/AGL/master/meta-agl-demo/recipes- > wam/chromium/chromium_git.bb:do_configure > /home/bcraddock/AGL/master/meta-agl-demo/recipes-demo/html5- > hvac/html5-hvac_git.bb:do_compile > /home/bcraddock/AGL/master/meta-agl-demo/recipes-demo/html5- > launcher/html5-launcher_git.bb:do_compile > /home/bcraddock/AGL/master/meta-agl-demo/recipes-demo/html5- > homescreen/html5-homescreen_git.bb:do_compile > Summary: There was 1 WARNING message. > Summary: There were 4 ERROR messages, returning a non-zero exit code. > > $ grep -n ERROR kirkstone-platform-html5-fail-nohup.out > 14631:ERROR: chromium-87.0.4280.88.ose10.agl.marlin+git-r0 > do_configure: ExecutionError('/home/bcraddock/AGL/master/qemux86- > 64/tmp/work/corei7-64-agl- > linux/chromium/87.0.4280.88.ose10.agl.marlin+git- > r0/temp/run.do_configure.1355770', 1, None, None) > 14632:ERROR: Logfile of failure stored in: > /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl- > linux/chromium/87.0.4280.88.ose10.agl.marlin+git- > r0/temp/log.do_configure.1355770 > 14642:| ERROR at //build/config/linux/atk/BUILD.gn:24:17: Script > returned non-zero exit code. > 14656:ERROR: Task (/home/bcraddock/AGL/master/meta-agl-demo/recipes- > wam/chromium/chromium_git.bb:do_configure) failed with exit code '1' > > I appreciate the fact I need to quickly come up to speed with gn and > ninja, but as of today too much new machinery to learn - and i don't > understand why is this thing failing how to resolve ? > | BUILD_TARGETS are webos:weboswebruntime chrome > | ERROR at //build/config/linux/atk/BUILD.gn:24:17: Script returned > non-zero exit code. > | atk_lib_dir = exec_script(pkg_config_script, > | ^---------- > | Current dir: /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7- > 64-agl-linux/chromium/87.0.4280.88.ose10.agl.marlin+git- > r0/build/Release/ > | Command: python /home/bcraddock/AGL/master/qemux86- > 64/tmp/work/corei7-64-agl- > linux/chromium/87.0.4280.88.ose10.agl.marlin+git- > r0/git/src/build/config/linux/pkg-config.py --libdir atk > | Returned 1 and printed out: > | > | Error from pkg-config. > | > | See //ui/accessibility/BUILD.gn:291:20: which caused the file to be > included. > | configs += [ "//build/config/linux/atk" ] > | ^------------------------- > | WARNING: exit code 1 from a shell command. > > @Jose <jdapena@xxxxxxxxxx> > I saw you pushed the following into master, but I can't see any of > it, and then noticed SPEC-4251 perhaps needs revisiting > SPEC-4355 Update to recent versions of webpack and other nodejs > dependencies. > SPEC-4251 Use appinfo.json instead of config.xml > Launch background after launcher. > > 14703:ERROR: html5-hvac-1.0+gitAUTOINC+45641bf053-r0 do_compile: > ExecutionError('/home/bcraddock/AGL/master/qemux86- > 64/tmp/work/corei7-64-agl-linux/html5-hvac/1.0+gitAUTOINC+45641bf053- > r0/temp/run.do_compile.1309079', 1, None, None) > 14704:ERROR: Logfile of failure stored in: > /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl- > linux/html5-hvac/1.0+gitAUTOINC+45641bf053- > r0/temp/log.do_compile.1309079 > 14802:ERROR: Task (/home/bcraddock/AGL/master/meta-agl-demo/recipes- > demo/html5-hvac/html5-hvac_git.bb:do_compile) failed with exit code > '1' > > 14803:ERROR: html5-launcher-1.0+gitAUTOINC+b37179742f-r0 do_compile: > ExecutionError('/home/bcraddock/AGL/master/qemux86- > 64/tmp/work/corei7-64-agl-linux/html5- > launcher/1.0+gitAUTOINC+b37179742f-r0/temp/run.do_compile.1309080', > 1, None, None) > 14804:ERROR: html5-homescreen-1.0+gitAUTOINC+21bd1dcdff-r0 > do_compile: ExecutionError('/home/bcraddock/AGL/master/qemux86- > 64/tmp/work/corei7-64-agl-linux/html5- > homescreen/1.0+gitAUTOINC+21bd1dcdff-r0/temp/run.do_compile.1309081', > 1, None, None) > 14805:ERROR: Logfile of failure stored in: > /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl- > linux/html5-launcher/1.0+gitAUTOINC+b37179742f- > r0/temp/log.do_compile.1309080 > 14835:ERROR: Task (/home/bcraddock/AGL/master/meta-agl-demo/recipes- > demo/html5-launcher/html5-launcher_git.bb:do_compile) failed with > exit code '1' > > 14836:ERROR: Logfile of failure stored in: > /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl- > linux/html5-homescreen/1.0+gitAUTOINC+21bd1dcdff- > r0/temp/log.do_compile.1309081 > 14866:ERROR: Task (/home/bcraddock/AGL/master/meta-agl-demo/recipes- > demo/html5-homescreen/html5-homescreen_git.bb:do_compile) failed with > exit code '1' > 14875:Summary: There were 4 ERROR messages, returning a non-zero exit > code. > > I appreciate any feedback to get this working, including happy to > wait if the plan is replace v87 with v91 > > best regards > Bern > > $ pkg-config --version > 0.29.1 > pkg-config is already the newest version (0.29.1-0ubuntu4). > > Bernard Craddock > Co-founder Pumped Fuel > www.pumpedfuel.com > L2, 11 York Street Sydney 2000 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9816): https://lists.automotivelinux.org/g/agl-dev-community/message/9816 Mute This Topic: https://lists.automotivelinux.org/mt/91031859/2167316 Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-