[yocto] meta-qt5 problem in yocto 1.7

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Wed Jan 28 09:37:59 PST 2015


Thanks Simon,

	I had already changed the branch to 'master' because all the
do_fetch references were to version 5.4.0 and these could not be
found, ven though they were all located in the master branch of the
git repository. As you say, after changinf to the master branch and
look in the qt3 recipe it is now 'dev'. 

	However running the image still gives the following errors: 

	Summary: 7 tasks failed:  

	
/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtbase-native_5.4.0.bb,
do_fetch  

	 /home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtbase_5.4.0.bb,
do_fetch  

	
/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtxmlpatterns_5.4.0.bb,
do_fetch  

	 /home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtwebkit_5.4.0.bb,
do_fetch  

	
/home/lachlan/poky-1.7/meta-qt5/recipes-qt/qt5/qtdeclarative_5.4.0.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  

	(note that all five of the qt recipes refer to qt5_5.4.0.inc which
sets up the sopurce of the downloads).

	If I look at one of the failed downloads : 

	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. 

	And then try to download the file directly as follows: 

	http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/qtbase-opensource-src-5.4.0.tar.xz
[1] 

	this works.  
 I notice that when trying to enter the directory:
http://download.qt-project.org/official_releases/qt/5.4/5.4.0/submodules/
[2]
it redirects me to:
http://download.qt.io/official_releases/qt/5.4/5.4.0/submodules/ [3]
but because the redirection occurs, this should not be a problem.

Can you or anyone suggest why these specific recipes have their
do_fetch fail, when other qt5 recipes in the same repository dont,
and when I can manullay download the recipes using a browser.

Is it possible to download these recipes manually and load them
somewhere in the build directory so they can be retrieved by bitbake
and therfore  bypassing the do_fetch  that fails? If so, where
would they need to be placed?

Thanks for any help.

Regards
Lachlan

----- Original Message -----
From: "Simon Bolek" 
To:, 
Cc:
Sent:Wed, 28 Jan 2015 10:56:11 +0100
Subject:Re: [yocto] meta-qt5 problem in yocto 1.7

 Hi Lachlan,

 In case you have not solved the problem yet. 
 Look at the recipe of qt3d, once you checked it out of git. There is
a line: 

QT_MODULE_BRANCH = "master"

 just change it to "dev" and it should work. It is already corrected
in the upstream of meta-qt5, but in dizzy it is still "master". If
you look at the gitorious of qt you will find this
SRCDEV="8a9723d7420829a2ba0141a9f7d8dc8cd11d8331" in dev" branch. 
That is, at least, what i figured out. 

Hope that will help.

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://download.qt-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.2.tar.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://lists.yoctoproject.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-project.org/official_releases/qt/5.3/5.3.2/submodules/qtwebkit-opensource-src-5.3.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>


More information about the yocto mailing list