[yocto] Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found

Martin Jansa martin.jansa at gmail.com
Tue Apr 25 23:51:40 PDT 2017


No, this won't be added to meta-qt5 layer, because it's not the right fix.

If you're happy with empty packages, then you don't need meta-qt5 at all.

Empty packages are useless and bitbake is right not to create them.

My guess is that you don't have all necessary PACKAGECONFIGs enabled for
qtbase.

On Wed, Apr 26, 2017 at 8:27 AM, Malte Thiel <thieldev at gmail.com> wrote:

> Hey,
>
> thanks, that solved my problem! Should probably added to the qt5 layer?
>
> Best
>
>
> On Tue, Apr 25, 2017 at 9:51 PM, Martin Kelly <mkelly at xevo.com> wrote:
>
>> On 04/25/2017 07:41 AM, Malte Thiel wrote:
>>
>>> Hello,
>>>
>>> I am trying to compile a Qt 5.8 application using the master branch
>>> of meta-qt5/recipes-qt/qt5/ (For 5.8 support).
>>>
>>> Within my recipe I have:
>>>
>>> RDEPENDS_${PN} = "libgcc glibc qtbase [...] qtdeclarative"
>>>
>>> My recipe (and therefore the application) compiles fine. However, in
>>> do_rootfs I get the following error:
>>>
>>> ------------------------------------------------------------
>>> ERROR: my-image-1.0-r0 do_rootfs: Error executing a python function in
>>> exec_python_func() autogenerated:
>>>
>>> [...]
>>>
>>> Exception: FileNotFoundError: [Errno 2] No such file or directory:
>>> '/home/sec/sdk/build/0101301/tmp/sysroots/sm2-imx6/pkgdata/r
>>> untime-reverse/qtdeclarative-plugins'
>>>
>>> ERROR: my-image-1.0-r0 do_rootfs: Function failed:
>>> license_create_manifest
>>> ------------------------------------------------------------
>>>
>>> It's true, there is no file 'qtdeclarative-plugins'.
>>> However, qtdeclarative RPROVIDES qtdeclarative-plugins, so I expect that
>>> this file should be generated somehow?
>>>
>>> Any help is appreciated
>>>
>>>
>>>
>>>
>> Hi,
>>
>> I actually hit this issue as well. I discovered that
>> qtdeclarative-plugins wasn't being generated because it was empty, and by
>> default, bitbake won't generate an empty package. You can fix it by adding:
>>
>> ALLOW_EMPTY_${PN}-plugins = "1"
>>
>> to the qtdeclarative_git.bb file. That said, I'm not sure if this is the
>> right fix, or if there is some other reason why qtdeclarative-plugins is
>> not being generated.
>>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170426/bc188885/attachment.html>


More information about the yocto mailing list