[yocto] Yocto Qt5

LIU Yang (MM) yang.liu at magnetimarelli.com
Thu May 23 13:51:20 PDT 2013


Hi There,

I am first time coming here for help on Yocto project with Qt5, I have two questions/problems when I tried to bitbake a recipe in our layer.

1.        An error message says: failed on do_rootfs task.
Additional message: Computing transaction...error: Can't install smartpm-1.4-1-r9 at i586<mailto:smartpm-1.4-1-r9 at i586>: no package provides /usr/bin/udev
I tried with two methods: One is to bitbake a recipe in our layer with freescale BSP layer targeting imx6qsabrelite board. The bblayer.conf includes following layers:
                meta
                meta-yocto
                meta-openembedded/meta-oe
                meta-fsl-arm                                     # From freescale for imx6qsabrelite board
                meta-fsl-arm-extra                         # From freescale for imx6qsabrelite board
                meta-qt5                                             # Get from https://github.com/meta-qt5/meta-qt5
                meta-MM
One recipe (We want to bitbake) file in the meta-MM layer looks like following:
=================================================================
IMAGE_FEATURES += "splash package-management x11-browser ssh-server-openssh"
IMAGE_INSTALL += " qtbase qtbase-tools qtbase-plugins qtbase-fonts"

PR="r2"

LICENSE = "MIT"

inherit core-image
export IMAGE_BASENAME = "MM-qt5"
=================================================================

bitbake the recipe without the line in RED above (comment it out), it will succeed, the problem comes when I add this line. My colleague told me to bitbake perl first, and then bitbake the same recipe file again afterwards, the problem goes away. Don't know the reason why???

The other method is: I also tried the same scenario with yocto-bsp layer targeting qemu emulator. I got the same result.


2.       When I succeeded in the way my colleague told me, I found the kernel image (uImage/bzImage) is missing in the boot directory of target filesystem. I checked "tmp/work/imx6qsabrelite-poky-linux-gnueabi/MM-qt5/1.0-r2/rootfs/boot" directory, it was not there. However, bitbake the same recipe without the RED line above, I can find it in both locations. That is really confusing me!!!

Same thing I did with qemu emulator, also same result I got.

By the way, I will appreciate if some of you can direct me how to bitbake, let me know the status, progress, resources on qt5 package with yocto project.

Thanks,
Yang Liu

________________________________
VISIT OUR NEW WEB SITE! www.magnetimarelli.com

Confidential Notice: This electronic communication - including its attachments - may contain proprietary, confidential and/or legally protected information and documents and is intended to be confidential by the sender and solely for the use of the designated addressee(s) above. Any unauthorized use or disclosure of this communication is prohibited by law. If you are not the intended recipient, be aware that any downloading, copying, disclosure, distribution or use of the contents of the above information is strictly prohibited. If you have received this communication by mistake, please forward the message back to the sender at the email address above, delete the message from all mailboxes and any other electronic storage medium and destroy all copies.
Disclaimer Notice: Internet communications cannot be guaranteed to be safe or error-free. Therefore we do not assure that this message is complete or accurate and we do not accept liability for any errors or omissions or for viruses in the contents of this message
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130523/f5ad2b02/attachment.html>


More information about the yocto mailing list