[oe] [yocto][meta-qt5][daisy] Error during bitbake of my image

Martin Jansa martin.jansa at gmail.com
Mon Jun 23 14:01:31 UTC 2014


On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
> On Sat, Jun 21, 2014 at 3:47 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > On Fri, Jun 20, 2014 at 11:35:34PM -0400, Kevyn-Alexandre Paré wrote:
> >> On Fri, Jun 20, 2014 at 9:05 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> >> > On Fri, Jun 20, 2014 at 08:22:39PM -0400, Kevyn-Alexandre Paré wrote:
> >> >> On Fri, Jun 20, 2014 at 7:48 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> >> >> > On Fri, Jun 20, 2014 at 06:30:09PM -0400, Kevyn-Alexandre Paré wrote:
> >> >> >> [1] I still don't understand why adding qtwebkit IMAGE_INSTALL make my
> >> >> >> build fail with:
> >> >> >> ERROR: qtwebkit not found in the base feeds
> >> >> >> LOG: http://pastebin.com/fx2Zi9vW
> >> >> >> Any clue what I'm doing wrong?
> >> >> >
> >> >> > Check which packages (if any) were created by qtwebkit recipe, if any
> >> >> > then read log.do_configure for possible clues.
> >> >> >
> >> >>
> >> >> qtwebkit-dbg and qtwebkit-dev is part of deploy rpm not qtwebkit? In
> >> >> pkgdata these only to have ".packaged"
> >> >> http://pastebin.com/0ugj2NVF
> >> >>
> >> >> log.do_configure:
> >> >> http://pastebin.com/cXWdDXmy
> >> >
> >> > The WebKit build was disabled for the following reasons:
> >> >     * ICU is required. To build QtWebKit with Qt 5 you need to build Qt
> >> >      5 with libICU support. Check for ICU support being mentioned in
> >> >      qtbase/config.summary.
> >> >
> >>
> >> Yes you told me that in previous email I when to
> >> layers.openembedded.org to check
> >>
> >> icu  53.1 International Component for Unicode libraries   openembedded-core
> >>
> >> I add it in PACKAGECONFIG_append_pn-qtbase and IMAGE_INSTALL I thought
> >> it will be enough?
> >>
> >> Obviously, I'm still missing somethink
> >>
> >> qtbase/config.summary? you mean qtbase.inc?
> >
> > I've just pasted it for you from the log.do_configure you sent me,
> > please _read_ it.
> >
> 
> Thanks for trying to make me _see_ what I'm clearly not seeing yet...
> 
> I cleanall qtbase & my image since I was having multiple
> log.do_configure and could have looked at the wrong one...
> 
> My image with IMAGE_INSTALL & PACKAGECONFIG:
> http://pastebin.com/4JCWb5cY
> 
> Here the way I check that icu is added as part of my image:
> bitbake -e nirs-console-image | grep -n5 PACKAGECONFIG
> 2560-# $B_pn-strace
> 2561-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/distro/include/seperatebuilddir.inc:645
> 2562-#     "${SEPB}"
> 2563-B_pn-strace="/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/nirs-console-image/1.0-r0/build"
> 2564-#
> 2565:# $PACKAGECONFIG [2 operations]
> 2566-#   set /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta/conf/documentation.conf:308
> 2567-#     [doc] "This variable provides a means of enabling or
> disabling features of a recipe on a per-recipe basis."
> 2568-#   _append[pn-qtbase]
> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/nirs-console-image.bb:17
> 2569-#     "   developer   tests   examples   icu   alsa-lib   gles2
> accessibility   glib-2.0   tslib   linuxfb   sqlite3 "

Are you trying to set PACKAGECONFIG_append_pn-qtbase from
nirs-console-image.bb? That wont work you need to set it in distro or
local.conf

> > Check config.summary in qtbase WORKDIR (where you built qtbase to be
> > sure it was enabled) and check with bitbake -e that it's really in your
> > PACKAGECONFIG for qtbase.
> 
> My bad I didn't check in the WORKDIR only in meta-qt5...
> 
> Check config.summary:
> find tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/ -name config.summary
> tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
> 
> http://pastebin.com/gZ2Nqa5g
> 
> Found that ICU is disable:
>  27 Support enabled for:
>  28   Accessibility .......... no
>  29   ALSA ................... no
>  30   CUPS ................... no
>  31   FontConfig ............. no
>  32   FreeType ............... qt
>  33   Iconv .................. no
>  34   ICU .................... no
> 
> Clearly I'm doing something wrong!

Yes, setting PACKAGECONFIG in wrong place.

bitbake -e qtbase | grep ^PACKAGECONFIG=

is what you need to check.

> [1] Will _read_ and try to make the config.summary change to yes...
> 
> [2] When i'm setting my PACKAGECONFIG and i'm having one like:
> PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
> 
> I'm suppose to set:
> PACKAGECONFIG_append_pn-qtbase = " virtual/libgles2"
> and not
> PACKAGECONFIG_append_pn-qtbase = " gles2"
> ?

The later is less wrong, but setting
PACKAGECONFIG_GL_pn-qtbase = "gles2"
is even better.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140623/2ebaca2a/attachment-0002.sig>


More information about the Openembedded-devel mailing list