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

Malte Thiel thieldev at gmail.com
Tue Apr 25 23:27:55 PDT 2017


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170426/ff9b02f6/attachment.html>


More information about the yocto mailing list