[yocto] meta-qt5 problem in yocto 1.7

Alex J Lennon ajlennon at dynamicdevices.co.uk
Sun Feb 1 09:10:44 PST 2015


On 31/01/2015 19:10, peterengcomau001 at adam.com.au wrote:
>
> Hi Alex,
>
> Thanks for confirming the problem exists.
> I set QT_MODULE_BRANCH ?= "dev" in
> meta-qt5/recipes-qt/qt5/qt5-git.inc, but still get the same problem. 
> Do I have the correct file ?

Lachlan,

So I have been building for qemux86 with dizzy,

Build Configuration:
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "dizzy:9fc095a439c36014c73b3a8f240afba09fe0e4d7"
meta-oe
meta-efl
meta-webserver
meta-networking   = "dizzy:200f6cafc878d4c26871fc56d21ecc8eaa9aa61b"
meta-mono         = "master:b73fc7c525cc0068b2ed84fc26b5d2d4d87c6c12"
meta-gnome
meta-efl          = "dizzy:200f6cafc878d4c26871fc56d21ecc8eaa9aa61b"
meta-browser.master = "master:14e4829d716db416f62403ddd0941ab97491d707"
meta-ruby
meta-python       = "dizzy:200f6cafc878d4c26871fc56d21ecc8eaa9aa61b"
meta-qt5.dizzy    = "dizzy:8b0ffbd849203d07164ccfad2535bdb107eecd08"

local.conf is here http://pastebin.com/0t2GFWhu
bblayers.conf is here http://pastebin.com/CK6dF9f5

Build command is

bitbake -k core-image-minimal

So this fails a few times building, which seems to be related to gcc
issues, and I've seen on and off for some time.

Afer a few restarts I get to the point where most of it is built and I have

ERROR: Function failed: do_configure (log file is located at
/data_drive/imx6/rootfs_builder/qemux86.dizzy/tmp/work/i586-poky-linux/qtwebkit-examples/5.3.2-r0/temp/log.do_configure.26328)
ERROR: Logfile of failure stored in:
/data_drive/imx6/rootfs_builder/qemux86.dizzy/tmp/work/i586-poky-linux/qtwebkit-examples/5.3.2-r0/temp/log.do_configure.26328

ERROR: Task 842
(/data_drive/imx6/rootfs_builder/sources/meta-qt5.dizzy/recipes-qt/qt5/qtwebkit-examples_5.3.2.bb,
do_configure) failed with exit code '1'
WARNING: Failed to fetch URL
git://qt.gitorious.org/qt/qtsystems.git;branch=5.3, attempting MIRRORS
if available
ERROR: Fetcher failure: Unable to find revision
aa651c73bf7bc57c1b6b1bfcfa9afe901884a102 in branch 5.3 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://qt.gitorious.org/qt/qtsystems.git;branch=5.3'. Unable to fetch
URL from any source.
ERROR: Logfile of failure stored in:
/data_drive/imx6/rootfs_builder/qemux86.dizzy/tmp/work/i586-poky-linux/qtsystems/5.3.99+5.4.0-beta1+gitAUTOINC+aa651c73bf-r0/temp/log.do_fetch.26325
ERROR: Task 756
(/data_drive/imx6/rootfs_builder/sources/meta-qt5.dizzy/recipes-qt/qt5/qtsystems_git.bb,
do_fetch) failed with exit code '1'

...

Note from the above that qtbase has built ok without modifications to
meta-qt5

To double check the qtbase and also to get qtwebkit building I

bitbake -f -c cleansstate qtbase
bitbake qtbase

This builds OK

...

Then

bitbake -k core-image-minimal

Gives

ERROR: Task 843
(/data_drive/imx6/rootfs_builder/sources/meta-qt5.dizzy/recipes-qt/qt5/qtwebkit-examples_5.3.2.bb,
do_compile) failed with exit code '1'
WARNING: Failed to fetch URL
git://qt.gitorious.org/qt/qtsystems.git;branch=5.3, attempting MIRRORS
if available
ERROR: Fetcher failure: Unable to find revision
aa651c73bf7bc57c1b6b1bfcfa9afe901884a102 in branch 5.3 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://qt.gitorious.org/qt/qtsystems.git;branch=5.3'. Unable to fetch
URL from any source.
ERROR: Logfile of failure stored in:
/data_drive/imx6/rootfs_builder/qemux86.dizzy/tmp/work/i586-poky-linux/qtsystems/5.3.99+5.4.0-beta1+gitAUTOINC+aa651c73bf-r0/temp/log.do_fetch.21451
ERROR: Task 756
(/data_drive/imx6/rootfs_builder/sources/meta-qt5.dizzy/recipes-qt/qt5/qtsystems_git.bb,
do_fetch) failed with exit code '1'

...

Changing the branch in qtsystems_git gets qtsystems building

#QT_MODULE_BRANCH = "5.3"
QT_MODULE_BRANCH = "dev"

...

I then removed the qtwebkit examples from local.conf as there's some
strange linker problem there

#    qtwebkit-examples-examples \

I then had to remove the qt examples packages as for some reason they
aren't getting built at all

# qtbase-examples \

...

That gets me to the point I get a dizzy root filesystem built. Next I
need to understand why I am not getting the examples packages built.

Hope that helps somewhat.

Cheers,

Alex




More information about the yocto mailing list