Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [yocto][meta-qt5][daisy] Error during bitbake of my image
Date: Mon, 23 Jun 2014 16:01:31 +0200	[thread overview]
Message-ID: <20140623140131.GH2437@jama> (raw)
In-Reply-To: <CACgAsMdQgREcvnQqnH5942TMzAR1LJr5bkHwm0nD+G2wNarEMg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5011 bytes --]

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@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@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@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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-06-23 14:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 18:49 [yocto][meta-qt5][daisy] Error during bitbake of my image Kevyn-Alexandre Paré
2014-06-19 19:26 ` Martin Jansa
2014-06-19 20:32   ` Kevyn-Alexandre Paré
2014-06-19 21:08     ` Martin Jansa
2014-06-19 21:34       ` Kevyn-Alexandre Paré
2014-06-19 23:06         ` Kevyn-Alexandre Paré
2014-06-19 23:21           ` Martin Jansa
2014-06-20  0:38             ` Kevyn-Alexandre Paré
2014-06-20  8:13               ` Martin Jansa
2014-06-20 22:30                 ` Kevyn-Alexandre Paré
2014-06-20 23:48                   ` Martin Jansa
2014-06-21  0:22                     ` Kevyn-Alexandre Paré
2014-06-21  0:32                       ` Kevyn-Alexandre Paré
2014-06-21  1:05                       ` Martin Jansa
2014-06-21  3:35                         ` Kevyn-Alexandre Paré
2014-06-21  7:47                           ` Martin Jansa
2014-06-23 13:40                             ` Kevyn-Alexandre Paré
2014-06-23 14:01                               ` Martin Jansa [this message]
2014-06-23 16:21                                 ` Kevyn-Alexandre Paré
2014-06-23 16:51                                   ` Martin Jansa
2014-07-04 15:00                                     ` Kevyn-Alexandre Paré
2014-07-04 15:37                                       ` Kevyn-Alexandre Paré

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140623140131.GH2437@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox