All of lore.kernel.org
 help / color / mirror / Atom feed
* Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found
@ 2017-04-25 14:41 Malte Thiel
  2017-04-25 19:51 ` Martin Kelly
  0 siblings, 1 reply; 5+ messages in thread
From: Malte Thiel @ 2017-04-25 14:41 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1343 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found
  2017-04-25 14:41 Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found Malte Thiel
@ 2017-04-25 19:51 ` Martin Kelly
  2017-04-26  6:27   ` Malte Thiel
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Kelly @ 2017-04-25 19:51 UTC (permalink / raw)
  To: Malte Thiel, yocto

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found
  2017-04-25 19:51 ` Martin Kelly
@ 2017-04-26  6:27   ` Malte Thiel
  2017-04-26  6:51     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Malte Thiel @ 2017-04-26  6:27 UTC (permalink / raw)
  To: Martin Kelly; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

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@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.
>

[-- Attachment #2: Type: text/html, Size: 2474 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found
  2017-04-26  6:27   ` Malte Thiel
@ 2017-04-26  6:51     ` Martin Jansa
  2017-04-26  8:56       ` Malte Thiel
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2017-04-26  6:51 UTC (permalink / raw)
  To: Malte Thiel; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2388 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3646 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found
  2017-04-26  6:51     ` Martin Jansa
@ 2017-04-26  8:56       ` Malte Thiel
  0 siblings, 0 replies; 5+ messages in thread
From: Malte Thiel @ 2017-04-26  8:56 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2678 bytes --]

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 <martin.jansa@gmail.com>
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 <thieldev@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@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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 4367 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-26  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25 14:41 Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found Malte Thiel
2017-04-25 19:51 ` Martin Kelly
2017-04-26  6:27   ` Malte Thiel
2017-04-26  6:51     ` Martin Jansa
2017-04-26  8:56       ` Malte Thiel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.