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

Kevyn-Alexandre Paré kapare at rogue-research.com
Fri Jul 4 15:00:01 UTC 2014


On Mon, Jun 23, 2014 at 12:51 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Mon, Jun 23, 2014 at 12:21:24PM -0400, Kevyn-Alexandre Paré wrote:
>> On Mon, Jun 23, 2014 at 10:01 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
>> > On Mon, Jun 23, 2014 at 09:40:28AM -0400, Kevyn-Alexandre Paré wrote:
>> <snip>
>> >> 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
>>
>> Yes I was :( I was rereading ref manual
>>
>> Configuration file: This method is identical to changing the block
>> through an append file except you edit your local.conf or
>> <mydistro>.conf file. As with append files previously described, you
>> can either completely override the variable:
>>
>>      PACKAGECONFIG_pn-<recipename>="f4 f5"
>>
>>
>> Or, you can just amend the variable:
>>
>>      PACKAGECONFIG_append_pn-<recipename> = " f4"
>>
>>
>> I Move my PACKAGECONFIG_append to my local.conf
>>
>> Here my setup for now just trying to make it compile remove the gles
>> for now it was giving me errors...
>>
>> bitbake -e qtbase | grep ^PACKAGECONFIG=
>> PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
>> openssl     gl          xcb xvideo xsync xshape xrender xrandr xfixes
>> xinput2 xinput xinerama xcursor gtkstyle xkb     fontconfig freetype
>>   jpeg libpng zlib     pulseaudio       developer tests examples icu
>> alsa-lib accessibility glib-2.0 tslib sqlite3
>>
>> cat tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtbase/5.2.1-r0/build/config.summary
>> | grep ICU
>>   ICU .................... yes
>>
>> it's compiling further then before and stop
>>
>> meta-qt5/recipes-qt/qt5/qtdeclarative_5.2.1.bb, do_compile) failed
>> with exit code '1'
>>
>> http://pastebin.com/qJAME8ew
>
> Try to disable tests for qtdeclarative, they are not tested as often as
> default setup so it's possible that there is some issue:
> compiling
> /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/qtdeclarative/5.2.1-r0/qtdeclarative-opensource-src-5.2.1/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
> mv: `libplugin1.so' and `./libplugin1.so' are the same file
> make[5]: [libplugin1.so] Error 1 (ignored)
>

thx will try to make something more simple work and then will go back
to add "gles" and the config (PACKAGECONFIG) that depends on it.

Simple qt with frame buffer:

# Remove GL & X11 and replace directfb to linuxfb
# conf/local.conf
PACKAGECONFIG_GL_pn-qtbase = ""
PACKAGECONFIG_X11_pn-qtbase = ""
PACKAGECONFIG_FB_pn-qtbase = "linuxfb"

# Package config enable
# bitbake -e qtbase | grep ^PACKAGECONFIG=
PACKAGECONFIG="     release     dbus udev evdev widgets tools libs
openssl          linuxfb               jpeg libpng zlib     pulseaudio
     "

# Package enable in the iamge recipe
# recipes recipes-images/gumstix/nirs-console-image.bb
require recipes-images/gumstix/gumstix-console-image.bb

inherit populate_sdk_qt5

IMAGE_INSTALL += " \
  bzip2 \
  u-boot \
  u-boot-fw-utils \
  psplash \
  qtbase \
  qtbase-fonts \
  qtbase-fonts-ttf-vera \
  qtbase-fonts-ttf-dejavu \
  qtbase-fonts-pfa \
  qtbase-fonts-pfb \
  qtbase-fonts-qpf \
  qtbase-tools \
  qtbase-plugins \
  qtbase-dev \
"

# Compile
bitbake nirs-console-image

# This result on an image


# Them try to generate the SDK to use with qtcreator
# Populate SDK
bitbake -c populate_sdk nirs-console-image

# This result with error not founding the
Computing transaction...error: Can't install
qtwebkit-dev-5.2.1-r0 at armv7a_vfp_neon: no package provides qtwebkit =
5.2.1-r0
http://pastebin.com/Tc8qtu6W

[1] Is it possible to use qtcreator without the populate_sdk?
[2] Any recommendation on how to compile a hello world without the SDK?

BR,

-KA



More information about the Openembedded-devel mailing list