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

2017-04-26 Thread Malte Thiel
I am willed to do it the right way. Would you provide a bit more
information about how to do PACKAGECONFIG properly?

On Wed, Apr 26, 2017 at 8:51 AM, Martin Jansa 
wrote:

> 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  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  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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2017-04-25 Thread Martin Jansa
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  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  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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2017-04-25 Thread Malte Thiel
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  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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2017-04-25 Thread Martin Kelly

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/runtime-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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2017-04-25 Thread Malte Thiel
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/runtime-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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto