Yocto build base version for meta-warpx

68 views
Skip to first unread message

TitusRathinaraj Stalin

unread,
Jun 8, 2017, 11:02:15 PM6/8/17
to >warpx.io
Hello Experts,
Can you please tell which yocto base version I should use ?
I used this link and used mentioned commands.
https://github.com/Freescale/fsl-community-bsp-platform
I added all the meta-warpx dependencies layers (python, qt5 etc.,) too....

Getting below error in python now.
fsl-community-bsp/sources/meta-warpx/recipes-devtools/python/python-pyqt_5.3.1.bb:29: Could not inherit file classes/sip.bbclass

I suspect there is some freescale yocto and meta-warpx version mismatch ?
Can you anyone please help ?
How to build this meta-warpx layer with its dependencies ?
I want to build the below image.
bitbake warpx-headfull-image-sdk

Thanks for the help.

TitusRathinaraj Stalin

unread,
Jun 8, 2017, 11:21:20 PM6/8/17
to >warpx.io
Also tried the yocto version 2.1 krogoth and the latest one 2.3 pyro).

https://www.yoctoproject.org/downloads
git clone -b krogoth git://git.yoctoproject.org/poky.git

I have used the following dependencies meta layers for meta-warpx layer.

https://github.com/sbabic/meta-swupdate
https://github.com/Freescale/meta-fsl-arm
https://github.com/meta-qt5/meta-qt5
https://github.com/openembedded/meta-openembedded

Here is my bblayers.conf

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/titus/workdir/yocto/krogoth/poky/meta \
  /home/titus/workdir/yocto/krogoth/poky/meta-poky \
  /home/titus/workdir/yocto/krogoth/poky/meta-yocto-bsp \
  /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/meta-oe \
  /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/meta-multimedia \
\
  /home/titus/workdir/yocto/krogoth/poky/meta-warpx \
  /home/titus/workdir/yocto/krogoth/poky/meta-fsl-arm \
  /home/titus/workdir/yocto/krogoth/poky/meta-openembedded \
  /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/meta-python \
  /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/meta-networking \
  /home/titus/workdir/yocto/krogoth/poky/meta-qt5 \
  /home/titus/workdir/yocto/krogoth/poky/meta-swupdate \
  "

Now getting the below error.
bitbake-layers show-layers
ERROR: Unable to parse /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/conf/layer.conf: [Errno 2] file /home/titus/workdir/yocto/krogoth/poky/meta-openembedded/conf/layer.conf not found

Diego Rondini

unread,
Jun 9, 2017, 4:16:40 AM6/9/17
to wa...@googlegroups.com, TitusRathinaraj Stalin
In data venerdì 9 giugno 2017 05:21:20 CEST, TitusRathinaraj Stalin ha
scritto:
> Also tried the yocto version 2.1 krogoth and the latest one 2.3 pyro).
>
> https://www.yoctoproject.org/downloads
> git clone -b krogoth git://git.yoctoproject.org/poky.git
>
> I have used the following dependencies meta layers for meta-warpx layer.
>
> https://github.com/sbabic/meta-swupdate
> https://github.com/Freescale/meta-fsl-arm
> https://github.com/meta-qt5/meta-qt5
> https://github.com/openembedded/meta-openembedded
>

Hi Titus,

thanks for reaching out to us. Perhaps some initialization steps are not
explained as they should.

For every project you need to pick up the *krogoth* branch (2.1).
First you need to pick up the fsl-community-bsp-platform repos:
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
krogoth
$ repo sync

then you need to pick (always *krogoth* branch) the following repos:
https://github.com/meta-qt5/meta-qt5
https://github.com/Kynetics/meta-warpx
(optional, if you want update ramdisk) https://github.com/sbabic/meta-swupdate

Then put in main folder (where you run the 'repo' commands) this script:
https://github.com/Kynetics/meta-warpx/blob/master/first-setup/setup-warpx-warp
Run it with 'source setup-warpx-warp' and your build environment should be
initialized.
Then copy:
https://github.com/Kynetics/meta-warpx/blob/master/first-setup/
local.conf.sample (as local.conf)
https://github.com/Kynetics/meta-warpx/blob/master/first-setup/bblayers.conf
to your build-warpx-warp/conf/ folder.

You should now be ready to bitbake warpx-headfull-image-sdk .

Hope this helps,
Diego

TitusRathinaraj Stalin

unread,
Jun 9, 2017, 8:50:48 PM6/9/17
to >warpx.io, tituse...@gmail.com
Hi Diego,
Thank you.
Able to start the build and got the below error.

Can you please help with this error ?

BTW, I'm using Ubuntu16.04 LTS 64bit PC.

WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |################################################################| ETA:  00:00:00
Loaded 2562 entries from dependency cache.
Parsing recipes: 100% |##############################################################| Time: 00:00:00
Parsing of 1997 .bb files complete (1996 cached, 1 parsed). 2562 targets, 192 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "warp"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.3"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard       cortexa9"
TARGET_FPU        = "hard"
meta             
meta-poky         = "HEAD:3565a9697f53ba975a1b7235b802f659418746c3"
meta-oe          
meta-multimedia  
meta-networking  
meta-python       = "HEAD:55c8a76da5dc099a7bc3838495c672140cedb78e"
meta-fsl-arm      = "HEAD:e2254e7b2ded0c2b66b1226f879b3a6d52037b2d"
meta-fsl-arm-extra = "HEAD:2c28e636ec15c2cfd49bc9cebe0bbbcfde95bc7b"
meta-qt5          = "krogoth:1100037b9becaaa5749602bca9d63693119c4585"
meta-warpx        = "krogoth:b2110ade3cd53f3b98a8f057d508c075b4d691e2"
meta-swupdate     = "krogoth:712d4aee92ea3a23952a3e7fb812e5c4df7492ec"




NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: python-pyqt-5.3.1-r1 do_generate: Error calling sip on QtCore
ERROR: python-pyqt-5.3.1-r1 do_generate: Function failed: do_generate (log file is located at /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt/5.3.1-r1/temp/log.do_generate.22155)
ERROR: Logfile of failure stored in: /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt/5.3.1-r1/temp/log.do_generate.22155
Log data follows:
| DEBUG: Executing shell function do_generate
| NOTE: using modules 'QtCore QtGui QtQml QtQuick QtSvg QtWebKit QtWidgets QtOpenGL QtXmlPatterns' and tags '-tWS_X11 -tQt_5_3_1 -xVendorID -xPyQt_Accessibility -xPyQt_Desktop_OpenGL -xPyQt_SessionManager'
| calling 'sip4 -I sip -I /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/sysroots/x86_64-linux/usr/share/sip -tWS_X11 -tQt_5_3_1 -xVendorID -xPyQt_Accessibility -xPyQt_Desktop_OpenGL -xPyQt_SessionManager  -c QtCore -b QtCore/QtCore.pro.in sip/QtCore/QtCoremod.sip'
| /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt/5.3.1-r1/temp/run.do_generate.22155: 137: /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt/5.3.1-r1/temp/run.do_generate.22155: sip4: not found
| WARNING: exit code 1 from a shell command.
| ERROR: Error calling sip on QtCore
| ERROR: Function failed: do_generate (log file is located at /home/titus/workdir/Titus/yocto/build-warpx-warp/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt/5.3.1-r1/temp/log.do_generate.22155)
ERROR: Task 3512 (/home/titus/workdir/Titus/yocto/sources/meta-warpx/recipes-devtools/python/python-pyqt_5.3.1.bb, do_generate) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1927 tasks of which 1912 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/titus/workdir/Titus/yocto/sources/meta-warpx/recipes-devtools/python/python-pyqt_5.3.1.bb, do_generate
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
titus@titusPC:~/workdir/Titus/yocto/build-warpx-warp$

TitusRathinaraj Stalin

unread,
Jun 13, 2017, 9:54:59 PM6/13/17
to >warpx.io, tituse...@gmail.com
Hi Diego,
I'm able to build now once I installed the python and sip modules in my host PC.
It worked in both Ubuntu 14.04/16.04
Thanks for the help.
Reply all
Reply to author
Forward
0 new messages