[yocto] meta-qt5 problem in yocto 1.7

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Sat Jan 31 04:30:23 PST 2015



	Hello Martin,
Thanks for your reply.
I managed to fix the problem of referring to 5.4 instead of 5.3.2 by
checking out the master branch instead of the dizzy branch of
meta-qt5.

However my problem is with the do_fetch. Most of the do_fetch work
fine but  I get the folliowing two errors:
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.

I can downlond these tarballs manually without any problem but I
cannot get bitbake to do it for me. All other entries in meta-qt5
seem fine.

	I have tried to get this to work manullay by :
 1.  downloaded the two tarballs and put them in the directory
/home/lachlan/poky-1.7/local-mirror
 2. adding to the localconf
     INHERIT += "own-mirrors"
     SOURCE_MIRROR_URL = "file://.*
file:///home/lachlan/poky-1,7/local-mirror"

	but this gives checksum errors

	Any idea how I can fix the problem of downloading from the source,
or is their a manula workaround ?

	Thanks

	Lachlan

----- Original Message -----
 From: "Martin Jansa" .jansa at gmail.com> 
To:"Simon Bolek" 
Cc:, 
Sent:Wed, 28 Jan 2015 20:54:12 +0100
Subject:Re: [yocto] meta-qt5 problem in yocto 1.7

 On Wed, Jan 28, 2015 at 07:31:35PM +0100, Simon Bolek wrote:
 > Hi Lachlan,

 I'm getting lost in HTML format of previous message so I'll just
reply
 on top :/.

 The redirect should be fine, but sometimes it gives you broken
mirror.
 e.g. today I've seen couple of 5.1.1 builds fail to fetch, because
they
 were redirected to http://mirrors.neusoft.edu.cn which was returning
 HTTP 500.

 git recipes in older branches are also working only from already
 populated premirror, because upstream renamed 5.[012] branches to
 old/5.[012], that's why it shows current SRCREV to exist in
origin/5.4
 (after you call "git remote prune origin")

 I've just cherry-picked
 pick 76af63c qt3d: change to 'dev' branch
 from master to dizzy to fix qt3d branch.

 Similar problem exist in qtwayland recipes where the branches were
also
 rewritten and pruned when first 5.4 release was created.

 If you find issue like this, just update the branch parameter (based
on
 git branch -a --contains and send me the patch (as described in
 README). Such fixes are perfectly fine for meta-qt5 release
branches.

 Regards,

 > There is a redirection, yes, and this should not be a problem, as
far as
 > I'm concerned. Why it does not work for those particular recipes
of yours,
 > i have no clue. BUT, what I would do, is to bitbake 
 > trying to narrow down the problem.
 > When you still have problems when bitbaking single recipes, you
might try
 > to override the SRC_URI from qt5-{PV}.inc (in my case
qt5-5.3.2.inc, yours
 > might be different)
 > 
 > Whether those are reasonalble advices, well, I am not 100% sure,
but maybe
 > Martin Jansa would help here. I also have some problems with
generating
 > meta-toolchain-qt5, which I already posted here.
 > 
 > 
 > @Martin: i was so bold to email you directly. I apoligize if this
is not
 > welcome, please correct me and i will not do this again.
 > 
 > best regards
 > simon :-)
 > 
 > Message: 7
 > > Date: Tue, 27 Jan 2015 01:32:43 +1030
 > > From: peterengcomau001 at adam.com.au [4]
 > > To: yocto at yoctoproject.org [5]
 > > Subject: [yocto] meta-qt5 problem in yocto 1.7
 > > Message-ID:
 > > ? ? ? ?
 > > Content-Type: text/plain; charset="utf-8"
 > >
 > > I have just downloaded yocto poky 1.7 and try to build an image.
I
 > > get
 > > teh follwing problems with fetching qt5 source:
 > > Summary: 5 tasks failed:
 > > ? /home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qt3d_git.bb,
 > > do_fetch
 > > ?
 > >
 > >
/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtmultimedia_5.3.2.bb,
 > > do_fetch
 > > ?
/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtwebkit_5.3.2.bb,
 > > do_fetch
 > > ?
 > >
 > >
/home/lachlan/poky-1.7/meta-atmel/recipes-multimedia/gstreamer1.0-plugins/
 > > gstreamer1.0-plugins-hantro_1.0.bb,
 > > do_configure
 > > ?
 > >
 > >
/home/lachlan/poky-1.7/meta-atmel/recipes-utils/obp-utils/obp-utils_git.bb
 > > ,
 > > do_install
 > >
 > > I presume the last two problems(do_configure & do_install)?
result
 > > from dependencies on the previous three failed fetches.
 > >
 > > The more complete error code for teh first three errors is:
 > > WARNING: Failed to fetch URL
 > > git://qt.gitorious.org/qt/qt3d.git;branch=master [7], attempting
 > > MIRRORS
 > > if available
 > > ERROR: Fetcher failure: Unable to find revision
 > > 8a9723d7420829a2ba0141a9f7d8dc8cd11d8331 in branch master even
from
 > > upstream
 > > ERROR: Function failed: Fetcher failure for URL:
 > > 'git://qt.gitorious.org/qt/qt3d.git;branch=master [8]'. Unable
to
 > > fetch
 > > URL from any source.
 > > ERROR: Logfile of failure stored in:
 > >
 > >
 > >
/home/lachlan/poky-1.7/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/qt3d/5.3.99+5.4.0-beta1+gitAUTOINC+8a9723d742-r0/temp/log.do_fetch.29304
 > > ERROR: Task 1993
 > > (/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qt3d_git.bb,
 > > do_fetch) failed with exit code '1'
 > > WARNING: Failed to fetch URL
 > >
 > >
http://downloadqt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtmultimedia-opensource-src-5.3.2.tar.xz
 > > [9],
 > > attempting MIRRORS if available
 > > ERROR: Fetcher failure: Fetch command failed with exit code 4,
no
 > > output
 > > ERROR: Function failed: Fetcher failure for URL:
 > >
 > > '
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtmultimedia-opensource-src-5.3.2.tar.xz
 > > [10]'.
 > > Unable to fetch URL from any source.
 > > ERROR: Logfile of failure stored in:
 > >
 > >
 > >
/home/lachlan/poky-1.7/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/qtmultimedia/5.3.2-r0/temp/log.do_fetch.7762
 > > ERROR: Task 535
 > >
 > >
(/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtmultimedia_5.3.2.bb,
 > > do_fetch) failed with exit code '1'
 > > WARNING: Failed to fetch URL
 > > http://www.apache.org/dist/subversion/subversion-1.8.9.tar.bz2
[11],
 > > attempting MIRRORS if available
 > > WARNING: Failed to fetch URL
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.2.tar.xz
 > > [12],
 > > attempting MIRRORS if available
 > > ERROR: Fetcher failure: Fetch command failed with exit code 4,
no
 > > output
 > > ERROR: Function failed: Fetcher failure for URL:
 > >
 > > '
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.2.tar.xz
 > > [13]'.
 > > Unable to fetch URL from any source.
 > > ERROR: Logfile of failure stored in:
 > >
 > >
 > >
/home/lachlan/poky-1.7/build-atmel/tmp/work/cortexa5t2hf-vfp-poky-linux-gnueabi/qtwebkit/5.3.2-r0/temp/log.do_fetch.19587
 > > ERROR: Task 675
 > >
(/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtwebkit_5.3.2.bb,
 > > do_fetch) failed with exit code '1'
 > > NOTE: validating kernel config, see log.do_kernel_configcheck
for
 > > details
 > >
 > > If I manually download the one of the files, e.g.? :
 > >
 > > '
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.2tar.xz
 > > [14]
 > > This works fine.
 > >
 > > Can anyone suggest what I can look fro to determine the problem.
I
 > > have tried this a number of time over 24 hours and get the exact
 > > same
 > > failures.
 > >
 > > Thank you for any suggestions moving forward.
 > >
 > > Regards
 > > Lachlan
 > >
 > > ---- Message sent via Adam Internet WebMail -
 > > http://www.adamcom.au/ [15]
 > > -------------- next part --------------
 > > An HTML attachment was scrubbed...
 > > URL:
 > >
 > > ------------------------------
 > >
 > > --
 > > _______________________________________________
 > > yocto mailing list
 > > yocto at yoctoproject.org [17]
 > > https://listsyoctoproject.org/listinfo/yocto [18]
 > >
 > > End of yocto Digest, Vol 52, Issue 86
 > > *************************************
 > >
 > > ---- Message sent via Adam Internet WebMail -
 > > http://www.adam.com.au/
 > >
 > > Links:
 > > ------
 > > [1]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtbase-opensource-src-5.4.0.tar.xz
 > > [2]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtbase-opensource-src-5.4.0.tarxz
 > > [3]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtbase-opensource-src-5.4.0.tar.xz
 > > [4] mailto:peterengcomau001 at adam.com.au
 > > [5] mailto:yocto at yoctoproject.org
 > > [6]
 > >
mailto:f902a9d11fd7326c8f53a3fadfde295f6231fbcb at webmail.adam.com.au
 > > [7] http://qt.gitorious.org/qt/qt3d.git;branch=master
 > > [8] http://qt.gitorious.org/qt/qt3d.git;branch=master
 > > [9]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtmultimedia-opensource-src-5.3.2tar.xz
 > > [10]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtmultimedia-opensource-src-5.3.2.tar.xz
 > > [11]
http://www.apache.org/dist/subversion/subversion-1.8.9.tar.bz2
 > > [12]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.2.tar.xz
 > > [13]
 > >
 > >
http://download.qt-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.2.tar.xz
 > > [14]
 > >
 > >
http://download.qt-projectorg/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-53.2.tar.xz
 > > [15] http://www.adam.com.au/
 > > [16]
 > >
 > >
http://lists.yoctoproject.org/pipermail/yocto/attachments/20150127/7d948cb1/attachment.html
 > > [17] mailto:yocto at yoctoproject.org
 > > [18] https://lists.yoctoproject.org/listinfo/yocto
 > >
 > > -------------- next part --------------
 > > An HTML attachment was scrubbed...
 > > URL: <
 > >
http://lists.yoctoproject.org/pipermail/yocto/attachments/20150129/b8546355/attachment.html
 > > >
 > >
 > > ------------------------------
 > >
 > > --
 > > _______________________________________________
 > > yocto mailing list
 > > yocto at yoctoproject.org
 > > https://lists.yoctoproject.org/listinfo/yocto
 > >
 > >
 > > End of yocto Digest, Vol 52, Issue 111
 > > **************************************
 > >

 -- 
 Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com

@adam.com.au>@yoctoproject.org>.bolek at googlemail.com>---- 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/20150131/851e1ae4/attachment.html>


More information about the yocto mailing list