[yocto] meta-qt5 problem in yocto 1.7
peterengcomau001 at adam.com.au
peterengcomau001 at adam.com.au
Sun Feb 1 11:38:17 PST 2015
Hi Alex,
I have no problem with qt5 with daisy and have been using it fine for
over 6 months. During that time I have cleaned my tmp file multiple
times which would force a new reload of the sources.
Also I dont have a problem with Dizzy when building
core-image-mininal, core-image-full-cmdline and core-image-sato.
My problems occur when i explicitly use qt5 as follows:
IMAGE_INSTALL += "
qtbase
qtbase-fonts
qtbase-plugins
qtbase-tools
qtmultimedia
qtmultimedia-plugins
qtmultimedia-qmlplugins
qtsvg
qtsvg-plugins
qtsensors
qtsystems
qtsystems-tools
qtsystems-qmlplugins
qtscript
qtgraphicaleffects-qmlplugins
qtconnectivity-qmlplugins
qtlocation-plugins
qtlocation-qmlplugins
qtdeclarative
qtdeclarative-qmlplugins
qtdeclarative-plugins
qtquick1
qtquick1-qmlplugins
qtquick1-plugins
qtwebkit
qtwebkit-qmlplugins
"
If i bitbake my recipe using the -k option, I only get 3 failed
recipes
0: qtbase-native-5.4.0-r0 do_fetch (pid 13279)
1: qtbase-5.4.0-r0 do_fetch (pid 13280)
2: qtdeclarative-5.4.0-r0 do_fetch (pid 13283)
and these relate two 2 failed fetchs:
ERROR: Function failed: Fetcher failure for URL:
'http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtdeclarative-opensource-src-5.4.0.tar.xz'.
Unable to fetch URL from any source.
ERROR: Function failed: Fetcher failure for URL:
'http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtbase-opensource-src-5.4.0.tar.xz'.
Unable to fetch URL from any source.
These take a few minutes to fail, so it seems as if they can
identify the file in the source but cant get it to download. Howeve,
i can downlod them nanually without any problems.
I originally had qtwebkit errors but after many builds , this is
finally gone.
I dont have problems with teh examples because they are not in my
recipe.
At present I really dont know how to proceeed.
Regards
Lachlan
----- Original Message -----
From: "Alex J Lennon"
To:, "Martin Jansa" , "Simon Bolek"
Cc:
Sent:Sun, 01 Feb 2015 18:10:44 +0100
Subject:Re: [yocto] meta-qt5 problem in yocto 1.7
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.32.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
and
---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150202/800127d7/attachment.html>
More information about the yocto
mailing list