All of lore.kernel.org
 help / color / mirror / Atom feed
* [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
@ 2019-07-09  5:52 Onur Eser
  2019-07-09  7:59 ` Zoran Stojsavljevic
  2019-07-15  0:55 ` Khem Raj
  0 siblings, 2 replies; 12+ messages in thread
From: Onur Eser @ 2019-07-09  5:52 UTC (permalink / raw)
  To: Yocto Project

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

Hello All,

I have talked to my BSP provider and they have solved the conflict files
issue with an update. Now I am able to create and boot a Yocto Image with
Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain.
Nor with I guess it is trying to compile something before qtdeclarative,
but these 'something' depends on qtdeclarative.

My image is core image is Weston. I added the line 'inherit
populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands
'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk
core-image-weston'. The result is the same.

I cut just the error part of my output:

| cd qdeclarativefolderlistmodel/ && ( test -e Makefile ||
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake
-o Makefile
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/
qdeclarativefolderlistmodel.pro ) && make -f Makefile
| Project ERROR: Unknown module(s) in QT: declarative widgets
| Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first'
failed
| make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
| make[2]: *** Waiting for unfinished jobs....
| Project ERROR: Unknown module(s) in QT: declarative
| Project ERROR: Unknown module(s) in QT: declarative
| Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first'
failed
| make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
| Project ERROR: Unknown module(s) in QT: declarative
| Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first' failed
| make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
| Makefile:63: recipe for target 'sub-parserstress-make_first' failed
| make[2]: *** [sub-parserstress-make_first] Error 3
| make[2]: Entering directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
| make[2]: Nothing to be done for 'first'.
| make[2]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
| make[1]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
| Project ERROR: Unknown module(s) in QT: declarative
| Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first' failed
| make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
| Project ERROR: Unknown module(s) in QT: declarative
| Makefile:188: recipe for target
'sub-qdeclarativefolderlistmodel-make_first' failed
| make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
| make[2]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
| Makefile:45: recipe for target 'sub-declarative-make_first' failed
| make[1]: *** [sub-declarative-make_first] Error 2
| make[1]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
| Makefile:45: recipe for target 'sub-auto-make_first' failed
| make: *** [sub-auto-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile_ptest_base (log file is located at
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base)
failed with exit code '1'

What do you guys think the reason of this issue may be? Any solution offers?

My full output:
https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX

Another source issue again?
Have a lovely day!
Onur

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  5:52 [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain Onur Eser
@ 2019-07-09  7:59 ` Zoran Stojsavljevic
  2019-07-09  8:38   ` Onur Eser
  2019-07-15  0:55 ` Khem Raj
  1 sibling, 1 reply; 12+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-09  7:59 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

Maybe this:
https://www.technexion.com/support/knowledgebase/resolving-dependencies-issues-in-yocto/

Zoran
_______

On Tue, Jul 9, 2019 at 7:59 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Hello All,
>
> I have talked to my BSP provider and they have solved the conflict files issue with an update. Now I am able to create and boot a Yocto Image with Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain. Nor with I guess it is trying to compile something before qtdeclarative, but these 'something' depends on qtdeclarative.
>
> My image is core image is Weston. I added the line 'inherit populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk core-image-weston'. The result is the same.
>
> I cut just the error part of my output:
>
> | cd qdeclarativefolderlistmodel/ && ( test -e Makefile || /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/qdeclarativefolderlistmodel.pro ) && make -f Makefile
> | Project ERROR: Unknown module(s) in QT: declarative widgets
> | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first' failed
> | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
> | make[2]: *** Waiting for unfinished jobs....
> | Project ERROR: Unknown module(s) in QT: declarative
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first' failed
> | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first' failed
> | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
> | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
> | make[2]: *** [sub-parserstress-make_first] Error 3
> | make[2]: Entering directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> | make[2]: Nothing to be done for 'first'.
> | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first' failed
> | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:188: recipe for target 'sub-qdeclarativefolderlistmodel-make_first' failed
> | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
> | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
> | Makefile:45: recipe for target 'sub-declarative-make_first' failed
> | make[1]: *** [sub-declarative-make_first] Error 2
> | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
> | Makefile:45: recipe for target 'sub-auto-make_first' failed
> | make: *** [sub-auto-make_first] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile_ptest_base (log file is located at /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
> ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base) failed with exit code '1'
>
> What do you guys think the reason of this issue may be? Any solution offers?
>
> My full output:
> https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
>
> Another source issue again?
> Have a lovely day!
> Onur
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  7:59 ` Zoran Stojsavljevic
@ 2019-07-09  8:38   ` Onur Eser
  2019-07-09  9:02     ` Zoran Stojsavljevic
  0 siblings, 1 reply; 12+ messages in thread
From: Onur Eser @ 2019-07-09  8:38 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto Project

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

Hello Zoran!
Thank you for your answer, but that page is about the missing packages in
your configuration. There is no a missing dependency in my configuration.
The recipe "qtdeclarative" is already added.

Note: Sending again because sent as PM accidentally.
Thanks anyway!
Onur

Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>, 9 Tem 2019 Sal, 10:59
tarihinde şunu yazdı:

> Maybe this:
>
> https://www.technexion.com/support/knowledgebase/resolving-dependencies-issues-in-yocto/
>
> Zoran
> _______
>
> On Tue, Jul 9, 2019 at 7:59 AM Onur Eser <onureser12@gmail.com> wrote:
> >
> > Hello All,
> >
> > I have talked to my BSP provider and they have solved the conflict files
> issue with an update. Now I am able to create and boot a Yocto Image with
> Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain.
> Nor with I guess it is trying to compile something before qtdeclarative,
> but these 'something' depends on qtdeclarative.
> >
> > My image is core image is Weston. I added the line 'inherit
> populate_sdk_qt5' to my core-image-weston.bb file. And tried both
> commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk
> core-image-weston'. The result is the same.
> >
> > I cut just the error part of my output:
> >
> > | cd qdeclarativefolderlistmodel/ && ( test -e Makefile ||
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake
> -o Makefile
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/
> qdeclarativefolderlistmodel.pro ) && make -f Makefile
> > | Project ERROR: Unknown module(s) in QT: declarative widgets
> > | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
> > | make[2]: *** Waiting for unfinished jobs....
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
> > | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
> > | make[2]: *** [sub-parserstress-make_first] Error 3
> > | make[2]: Entering directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> > | make[2]: Nothing to be done for 'first'.
> > | make[2]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> > | make[1]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:188: recipe for target
> 'sub-qdeclarativefolderlistmodel-make_first' failed
> > | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
> > | make[2]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
> > | Makefile:45: recipe for target 'sub-declarative-make_first' failed
> > | make[1]: *** [sub-declarative-make_first] Error 2
> > | make[1]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
> > | Makefile:45: recipe for target 'sub-auto-make_first' failed
> > | make: *** [sub-auto-make_first] Error 2
> > | ERROR: oe_runmake failed
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_compile_ptest_base (log file is located at
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
> > ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base)
> failed with exit code '1'
> >
> > What do you guys think the reason of this issue may be? Any solution
> offers?
> >
> > My full output:
> > https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
> >
> > Another source issue again?
> > Have a lovely day!
> > Onur
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  8:38   ` Onur Eser
@ 2019-07-09  9:02     ` Zoran Stojsavljevic
  2019-07-09  9:11       ` Onur Eser
  2019-07-10 12:15       ` Zoran Stojsavljevic
  0 siblings, 2 replies; 12+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-09  9:02 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

Onur,

I am not subject matter expert in Qt layers... Here is what I found
while searching for an answer to the problem...

Here is the .bb causing to you problems:
https://github.com/meta-qt5/meta-qt5/blob/sumo/recipes-qt/qt5/qtquick1_git.bb

It is sumo branch. I noted that thud branch does NOT have this .bb (it
is rearranged, and this .bb removed).

meta-qt5 has there for thud: qtquickcontrols_git.bb and
qtquickcontrols2_git.bb (for 5.11.3 version).

Kludge: maybe you can try to build the whole thing using thud branch?!

Hope this hepls,
Zoran
_______

On Tue, Jul 9, 2019 at 10:38 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Hello Zoran!
> Thank you for your answer, but that page is about the missing packages in your configuration. There is no a missing dependency in my configuration. The recipe "qtdeclarative" is already added.
>
> Note: Sending again because sent as PM accidentally.
> Thanks anyway!
> Onur
>
> Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>, 9 Tem 2019 Sal, 10:59 tarihinde şunu yazdı:
>>
>> Maybe this:
>> https://www.technexion.com/support/knowledgebase/resolving-dependencies-issues-in-yocto/
>>
>> Zoran
>> _______
>>
>> On Tue, Jul 9, 2019 at 7:59 AM Onur Eser <onureser12@gmail.com> wrote:
>> >
>> > Hello All,
>> >
>> > I have talked to my BSP provider and they have solved the conflict files issue with an update. Now I am able to create and boot a Yocto Image with Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain. Nor with I guess it is trying to compile something before qtdeclarative, but these 'something' depends on qtdeclarative.
>> >
>> > My image is core image is Weston. I added the line 'inherit populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk core-image-weston'. The result is the same.
>> >
>> > I cut just the error part of my output:
>> >
>> > | cd qdeclarativefolderlistmodel/ && ( test -e Makefile || /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/qdeclarativefolderlistmodel.pro ) && make -f Makefile
>> > | Project ERROR: Unknown module(s) in QT: declarative widgets
>> > | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first' failed
>> > | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
>> > | make[2]: *** Waiting for unfinished jobs....
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first' failed
>> > | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first' failed
>> > | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
>> > | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
>> > | make[2]: *** [sub-parserstress-make_first] Error 3
>> > | make[2]: Entering directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[2]: Nothing to be done for 'first'.
>> > | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first' failed
>> > | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:188: recipe for target 'sub-qdeclarativefolderlistmodel-make_first' failed
>> > | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
>> > | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
>> > | Makefile:45: recipe for target 'sub-declarative-make_first' failed
>> > | make[1]: *** [sub-declarative-make_first] Error 2
>> > | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
>> > | Makefile:45: recipe for target 'sub-auto-make_first' failed
>> > | make: *** [sub-auto-make_first] Error 2
>> > | ERROR: oe_runmake failed
>> > | WARNING: exit code 1 from a shell command.
>> > | ERROR: Function failed: do_compile_ptest_base (log file is located at /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
>> > ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base) failed with exit code '1'
>> >
>> > What do you guys think the reason of this issue may be? Any solution offers?
>> >
>> > My full output:
>> > https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
>> >
>> > Another source issue again?
>> > Have a lovely day!
>> > Onur
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  9:02     ` Zoran Stojsavljevic
@ 2019-07-09  9:11       ` Onur Eser
  2019-07-09  9:46         ` Zoran Stojsavljevic
  2019-07-10 12:15       ` Zoran Stojsavljevic
  1 sibling, 1 reply; 12+ messages in thread
From: Onur Eser @ 2019-07-09  9:11 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto Project

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

Zoran,

I know you are not a Qt Layers expert. I am trying to describe my problem
to experts via common mails, so they will not missunderstand my issue.
Oh lord, whole new building... I am not a time traveller, but I can say
that I will wait for 10 hours or something for that to build, and it will
fail because of something else.
The worst part is, it gives the error on the FINAL STEP. After hours and
hours and hours.
Anyway, I will try thud branch. Wish me luck.

Others can still offer solutions, I will keep this build too.
Onur

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  9:11       ` Onur Eser
@ 2019-07-09  9:46         ` Zoran Stojsavljevic
  2019-07-10  7:04           ` Onur Eser
  0 siblings, 1 reply; 12+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-09  9:46 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

One thing on my prio list is to buy very powerful 16 or 32 INTEL core
6950 or + server. Maybe AMD Ryzen 32 or 64 core (most likely). This
almost eliminates this build problem... But in the current situation I
am presently, I could not even buy extra bubble gum. ;-)

I have only my HP Elite Book 840 G1 which has 4 HW threads (2C +
2HYP), and I have the same problem for YOCTO. To build any YOCTO build
goes forever (the extras is that I have 500GB SSD there, which makes
it much faster).

But, nevertheless, the newer, the better... Hopefully! Toradex YOCTO
gurus may hop to this thread, and help...

Zoran
_______

On Tue, Jul 9, 2019 at 11:12 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Zoran,
>
> I know you are not a Qt Layers expert. I am trying to describe my problem to experts via common mails, so they will not missunderstand my issue.
> Oh lord, whole new building... I am not a time traveller, but I can say that I will wait for 10 hours or something for that to build, and it will fail because of something else.
> The worst part is, it gives the error on the FINAL STEP. After hours and hours and hours.
> Anyway, I will try thud branch. Wish me luck.
>
> Others can still offer solutions, I will keep this build too.
> Onur


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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  9:46         ` Zoran Stojsavljevic
@ 2019-07-10  7:04           ` Onur Eser
  2019-07-10  7:37             ` Zoran Stojsavljevic
  0 siblings, 1 reply; 12+ messages in thread
From: Onur Eser @ 2019-07-10  7:04 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto Project

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

Hello everyone,

I have tried the thud branch as Zoran suggested. Faced exactly the same
issue.
Any other suggestions?
Output: https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
I have built a system with qt5 recipes, but cannot create a toolchain
for it since a week ago. Am I retarded?

Have a lovely day!
Onur

Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>, 9 Tem 2019 Sal, 12:47
tarihinde şunu yazdı:

> One thing on my prio list is to buy very powerful 16 or 32 INTEL core
> 6950 or + server. Maybe AMD Ryzen 32 or 64 core (most likely). This
> almost eliminates this build problem... But in the current situation I
> am presently, I could not even buy extra bubble gum. ;-)
>
> I have only my HP Elite Book 840 G1 which has 4 HW threads (2C +
> 2HYP), and I have the same problem for YOCTO. To build any YOCTO build
> goes forever (the extras is that I have 500GB SSD there, which makes
> it much faster).
>
> But, nevertheless, the newer, the better... Hopefully! Toradex YOCTO
> gurus may hop to this thread, and help...
>
> Zoran
> _______
>
> On Tue, Jul 9, 2019 at 11:12 AM Onur Eser <onureser12@gmail.com> wrote:
> >
> > Zoran,
> >
> > I know you are not a Qt Layers expert. I am trying to describe my
> problem to experts via common mails, so they will not missunderstand my
> issue.
> > Oh lord, whole new building... I am not a time traveller, but I can say
> that I will wait for 10 hours or something for that to build, and it will
> fail because of something else.
> > The worst part is, it gives the error on the FINAL STEP. After hours and
> hours and hours.
> > Anyway, I will try thud branch. Wish me luck.
> >
> > Others can still offer solutions, I will keep this build too.
> > Onur
>

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-10  7:04           ` Onur Eser
@ 2019-07-10  7:37             ` Zoran Stojsavljevic
  0 siblings, 0 replies; 12+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-10  7:37 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

Jesus Christos!

Zoran
_______

On Wed, Jul 10, 2019 at 9:04 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Hello everyone,
>
> I have tried the thud branch as Zoran suggested. Faced exactly the same issue.
> Any other suggestions?
> Output: https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
> I have built a system with qt5 recipes, but cannot create a toolchain
> for it since a week ago. Am I retarded?
>
> Have a lovely day!
> Onur
>
> Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>, 9 Tem 2019 Sal, 12:47 tarihinde şunu yazdı:
>>
>> One thing on my prio list is to buy very powerful 16 or 32 INTEL core
>> 6950 or + server. Maybe AMD Ryzen 32 or 64 core (most likely). This
>> almost eliminates this build problem... But in the current situation I
>> am presently, I could not even buy extra bubble gum. ;-)
>>
>> I have only my HP Elite Book 840 G1 which has 4 HW threads (2C +
>> 2HYP), and I have the same problem for YOCTO. To build any YOCTO build
>> goes forever (the extras is that I have 500GB SSD there, which makes
>> it much faster).
>>
>> But, nevertheless, the newer, the better... Hopefully! Toradex YOCTO
>> gurus may hop to this thread, and help...
>>
>> Zoran
>> _______
>>
>> On Tue, Jul 9, 2019 at 11:12 AM Onur Eser <onureser12@gmail.com> wrote:
>> >
>> > Zoran,
>> >
>> > I know you are not a Qt Layers expert. I am trying to describe my problem to experts via common mails, so they will not missunderstand my issue.
>> > Oh lord, whole new building... I am not a time traveller, but I can say that I will wait for 10 hours or something for that to build, and it will fail because of something else.
>> > The worst part is, it gives the error on the FINAL STEP. After hours and hours and hours.
>> > Anyway, I will try thud branch. Wish me luck.
>> >
>> > Others can still offer solutions, I will keep this build too.
>> > Onur


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

* [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  9:02     ` Zoran Stojsavljevic
  2019-07-09  9:11       ` Onur Eser
@ 2019-07-10 12:15       ` Zoran Stojsavljevic
  1 sibling, 0 replies; 12+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-10 12:15 UTC (permalink / raw)
  To: Max Krummenacher

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

Hello Max,

Remember me? Zoran Stojsavljevic, from very far in Past... From Y2017!

Could you, please, help Onur with this problem? I know that U R Subject
Matter Expert with iMX6 and Qt5, and probably U already met this problem
not too far in The Past...

Please, could you read carefully the underlying thread, and U'll understand
the problem 100% in 5 minutes for U (my best guess)!

Thank you in advance,
Zoran Stojsavljevic
_______

---------- Forwarded message ---------
From: Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
Date: Tue, Jul 9, 2019 at 11:02 AM
Subject: Re: [yocto] [Meta-Qt5] "Unknown Module: declarative" Error While
Creating Toolchain
To: Onur Eser <onureser12@gmail.com>
Cc: Yocto Project <yocto@yoctoproject.org>

Onur,

I am not subject matter expert in Qt layers... Here is what I found
while searching for an answer to the problem...

Here is the .bb causing to you problems:
https://github.com/meta-qt5/meta-qt5/blob/sumo/recipes-qt/qt5/qtquick1_git.bb

It is sumo branch. I noted that thud branch does NOT have this .bb (it
is rearranged, and this .bb removed).

meta-qt5 has there for thud: qtquickcontrols_git.bb and
qtquickcontrols2_git.bb (for 5.11.3 version).

Kludge: maybe you can try to build the whole thing using thud branch?!

Hope this hepls,
Zoran
_______

On Tue, Jul 9, 2019 at 10:38 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Hello Zoran!
> Thank you for your answer, but that page is about the missing packages in
your configuration. There is no a missing dependency in my configuration.
The recipe "qtdeclarative" is already added.
>
> Note: Sending again because sent as PM accidentally.
> Thanks anyway!
> Onur
>
> Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>, 9 Tem 2019 Sal,
10:59 tarihinde şunu yazdı:
>>
>> Maybe this:
>>
https://www.technexion.com/support/knowledgebase/resolving-dependencies-issues-in-yocto/
>>
>> Zoran
>> _______
>>
>> On Tue, Jul 9, 2019 at 7:59 AM Onur Eser <onureser12@gmail.com> wrote:
>> >
>> > Hello All,
>> >
>> > I have talked to my BSP provider and they have solved the conflict
files issue with an update. Now I am able to create and boot a Yocto Image
with Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a
toolchain. Nor with I guess it is trying to compile something before
qtdeclarative, but these 'something' depends on qtdeclarative.
>> >
>> > My image is core image is Weston. I added the line 'inherit
populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands
'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk
core-image-weston'. The result is the same.
>> >
>> > I cut just the error part of my output:
>> >
>> > | cd qdeclarativefolderlistmodel/ && ( test -e Makefile ||
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake
-o Makefile
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/
qdeclarativefolderlistmodel.pro ) && make -f Makefile
>> > | Project ERROR: Unknown module(s) in QT: declarative widgets
>> > | Makefile:88: recipe for target
'sub-qdeclarativecomponent-make_first' failed
>> > | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
>> > | make[2]: *** Waiting for unfinished jobs....
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first'
failed
>> > | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first'
failed
>> > | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
>> > | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
>> > | make[2]: *** [sub-parserstress-make_first] Error 3
>> > | make[2]: Entering directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[2]: Nothing to be done for 'first'.
>> > | make[2]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[1]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first'
failed
>> > | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:188: recipe for target
'sub-qdeclarativefolderlistmodel-make_first' failed
>> > | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
>> > | make[2]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
>> > | Makefile:45: recipe for target 'sub-declarative-make_first' failed
>> > | make[1]: *** [sub-declarative-make_first] Error 2
>> > | make[1]: Leaving directory
'/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
>> > | Makefile:45: recipe for target 'sub-auto-make_first' failed
>> > | make: *** [sub-auto-make_first] Error 2
>> > | ERROR: oe_runmake failed
>> > | WARNING: exit code 1 from a shell command.
>> > | ERROR: Function failed: do_compile_ptest_base (log file is located
at
/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
>> > ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base)
failed with exit code '1'
>> >
>> > What do you guys think the reason of this issue may be? Any solution
offers?
>> >
>> > My full output:
>> > https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
>> >
>> > Another source issue again?
>> > Have a lovely day!
>> > Onur
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-09  5:52 [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain Onur Eser
  2019-07-09  7:59 ` Zoran Stojsavljevic
@ 2019-07-15  0:55 ` Khem Raj
  2019-07-15  8:06   ` Onur Eser
  1 sibling, 1 reply; 12+ messages in thread
From: Khem Raj @ 2019-07-15  0:55 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

On Mon, Jul 8, 2019 at 10:59 PM Onur Eser <onureser12@gmail.com> wrote:
>
> Hello All,
>
> I have talked to my BSP provider and they have solved the conflict files issue with an update. Now I am able to create and boot a Yocto Image with Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain. Nor with I guess it is trying to compile something before qtdeclarative, but these 'something' depends on qtdeclarative.
>
> My image is core image is Weston. I added the line 'inherit populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk core-image-weston'. The result is the same.
>
> I cut just the error part of my output:
>
> | cd qdeclarativefolderlistmodel/ && ( test -e Makefile || /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/qdeclarativefolderlistmodel.pro ) && make -f Makefile
> | Project ERROR: Unknown module(s) in QT: declarative widgets
> | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first' failed
> | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
> | make[2]: *** Waiting for unfinished jobs....
> | Project ERROR: Unknown module(s) in QT: declarative
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first' failed
> | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first' failed
> | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
> | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
> | make[2]: *** [sub-parserstress-make_first] Error 3
> | make[2]: Entering directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> | make[2]: Nothing to be done for 'first'.
> | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first' failed
> | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
> | Project ERROR: Unknown module(s) in QT: declarative
> | Makefile:188: recipe for target 'sub-qdeclarativefolderlistmodel-make_first' failed
> | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
> | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
> | Makefile:45: recipe for target 'sub-declarative-make_first' failed
> | make[1]: *** [sub-declarative-make_first] Error 2
> | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
> | Makefile:45: recipe for target 'sub-auto-make_first' failed
> | make: *** [sub-auto-make_first] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile_ptest_base (log file is located at /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
> ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base) failed with exit code '1'
>
> What do you guys think the reason of this issue may be? Any solution offers?
>
> My full output:
> https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
>
> Another source issue again?
> Have a lovely day!

qtquick1 has been removed but I am guessting you are on an older
release. Can you try adding DEPENDS += "qtdeclarative"  to qtquick1
recipe and see if that helps ?
secondly you can stop build ptest for this package since thats where
its failing, that might be a workaround.

> Onur
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-15  0:55 ` Khem Raj
@ 2019-07-15  8:06   ` Onur Eser
  2019-07-15 14:43     ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Onur Eser @ 2019-07-15  8:06 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto Project

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

Hi Khem,
Thank you for your answer. I have built a toolchain as exactly as you said,
days ago.
But it was giving error Unknown Modules: widgets when I try to compile. Me
and my
BSP found that this is a know Qt layer issue that will not be solved til an
update is pushed to meta-qt5 layer.
Thank you anyway, I am trying to native compile over Debian.
Have a great week!
Onur

Khem Raj <raj.khem@gmail.com>, 15 Tem 2019 Pzt, 03:55 tarihinde şunu yazdı:

> On Mon, Jul 8, 2019 at 10:59 PM Onur Eser <onureser12@gmail.com> wrote:
> >
> > Hello All,
> >
> > I have talked to my BSP provider and they have solved the conflict files
> issue with an update. Now I am able to create and boot a Yocto Image with
> Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain.
> Nor with I guess it is trying to compile something before qtdeclarative,
> but these 'something' depends on qtdeclarative.
> >
> > My image is core image is Weston. I added the line 'inherit
> populate_sdk_qt5' to my core-image-weston.bb file. And tried both
> commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk
> core-image-weston'. The result is the same.
> >
> > I cut just the error part of my output:
> >
> > | cd qdeclarativefolderlistmodel/ && ( test -e Makefile ||
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake
> -o Makefile
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/
> qdeclarativefolderlistmodel.pro ) && make -f Makefile
> > | Project ERROR: Unknown module(s) in QT: declarative widgets
> > | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
> > | make[2]: *** Waiting for unfinished jobs....
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
> > | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
> > | make[2]: *** [sub-parserstress-make_first] Error 3
> > | make[2]: Entering directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> > | make[2]: Nothing to be done for 'first'.
> > | make[2]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
> > | make[1]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first'
> failed
> > | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
> > | Project ERROR: Unknown module(s) in QT: declarative
> > | Makefile:188: recipe for target
> 'sub-qdeclarativefolderlistmodel-make_first' failed
> > | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
> > | make[2]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
> > | Makefile:45: recipe for target 'sub-declarative-make_first' failed
> > | make[1]: *** [sub-declarative-make_first] Error 2
> > | make[1]: Leaving directory
> '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
> > | Makefile:45: recipe for target 'sub-auto-make_first' failed
> > | make: *** [sub-auto-make_first] Error 2
> > | ERROR: oe_runmake failed
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_compile_ptest_base (log file is located at
> /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
> > ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base)
> failed with exit code '1'
> >
> > What do you guys think the reason of this issue may be? Any solution
> offers?
> >
> > My full output:
> > https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
> >
> > Another source issue again?
> > Have a lovely day!
>
> qtquick1 has been removed but I am guessting you are on an older
> release. Can you try adding DEPENDS += "qtdeclarative"  to qtquick1
> recipe and see if that helps ?
> secondly you can stop build ptest for this package since thats where
> its failing, that might be a workaround.
>
> > Onur
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>

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

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

* Re: [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain
  2019-07-15  8:06   ` Onur Eser
@ 2019-07-15 14:43     ` Khem Raj
  0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2019-07-15 14:43 UTC (permalink / raw)
  To: Onur Eser; +Cc: Yocto Project

On Mon, Jul 15, 2019 at 1:06 AM Onur Eser <onureser12@gmail.com> wrote:
>
> Hi Khem,
> Thank you for your answer. I have built a toolchain as exactly as you said, days ago.
> But it was giving error Unknown Modules: widgets when I try to compile. Me and my
> BSP found that this is a know Qt layer issue that will not be solved til an update is pushed to meta-qt5 layer.

What is complete error here and which recipe is it coming from ?
it looks like that package needs QtWidgets

> Thank you anyway, I am trying to native compile over Debian.
> Have a great week!
> Onur
>
> Khem Raj <raj.khem@gmail.com>, 15 Tem 2019 Pzt, 03:55 tarihinde şunu yazdı:
>>
>> On Mon, Jul 8, 2019 at 10:59 PM Onur Eser <onureser12@gmail.com> wrote:
>> >
>> > Hello All,
>> >
>> > I have talked to my BSP provider and they have solved the conflict files issue with an update. Now I am able to create and boot a Yocto Image with Meta-Qt5 recipes and 'dev_pkgs' in it. But still cannot create a toolchain. Nor with I guess it is trying to compile something before qtdeclarative, but these 'something' depends on qtdeclarative.
>> >
>> > My image is core image is Weston. I added the line 'inherit populate_sdk_qt5' to my core-image-weston.bb file. And tried both commands 'bitbake meta-toolchain-qt5' and 'bitbake -c populate_sdk core-image-weston'. The result is the same.
>> >
>> > I cut just the error part of my output:
>> >
>> > | cd qdeclarativefolderlistmodel/ && ( test -e Makefile || /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/recipe-sysroot-native/usr/bin/qt5/qmake -o Makefile /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/git/tests/auto/declarative/qdeclarativefolderlistmodel/qdeclarativefolderlistmodel.pro ) && make -f Makefile
>> > | Project ERROR: Unknown module(s) in QT: declarative widgets
>> > | Makefile:88: recipe for target 'sub-qdeclarativecomponent-make_first' failed
>> > | make[2]: *** [sub-qdeclarativecomponent-make_first] Error 3
>> > | make[2]: *** Waiting for unfinished jobs....
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:113: recipe for target 'sub-qdeclarativecontext-make_first' failed
>> > | make[2]: *** [sub-qdeclarativecontext-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:138: recipe for target 'sub-qdeclarativeengine-make_first' failed
>> > | make[2]: *** [sub-qdeclarativeengine-make_first] Error 3
>> > | Makefile:63: recipe for target 'sub-parserstress-make_first' failed
>> > | make[2]: *** [sub-parserstress-make_first] Error 3
>> > | make[2]: Entering directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[2]: Nothing to be done for 'first'.
>> > | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual/declarative'
>> > | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/manual'
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:163: recipe for target 'sub-qdeclarativeerror-make_first' failed
>> > | make[2]: *** [sub-qdeclarativeerror-make_first] Error 3
>> > | Project ERROR: Unknown module(s) in QT: declarative
>> > | Makefile:188: recipe for target 'sub-qdeclarativefolderlistmodel-make_first' failed
>> > | make[2]: *** [sub-qdeclarativefolderlistmodel-make_first] Error 3
>> > | make[2]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto/declarative'
>> > | Makefile:45: recipe for target 'sub-declarative-make_first' failed
>> > | make[1]: *** [sub-declarative-make_first] Error 2
>> > | make[1]: Leaving directory '/home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/build/tests/auto'
>> > | Makefile:45: recipe for target 'sub-auto-make_first' failed
>> > | make: *** [sub-auto-make_first] Error 2
>> > | ERROR: oe_runmake failed
>> > | WARNING: exit code 1 from a shell command.
>> > | ERROR: Function failed: do_compile_ptest_base (log file is located at /home/closx/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/qtquick1/5.10.1+gitAUTOINC+b2476dcd53-r0/temp/log.do_compile_ptest_base.29566)
>> > ERROR: Task (/home/closx/poky/meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base) failed with exit code '1'
>> >
>> > What do you guys think the reason of this issue may be? Any solution offers?
>> >
>> > My full output:
>> > https://paste.ee/p/PupWr#Epvqnw9FoasgQEBhIXqQ8hH7veMcRybX
>> >
>> > Another source issue again?
>> > Have a lovely day!
>>
>> qtquick1 has been removed but I am guessting you are on an older
>> release. Can you try adding DEPENDS += "qtdeclarative"  to qtquick1
>> recipe and see if that helps ?
>> secondly you can stop build ptest for this package since thats where
>> its failing, that might be a workaround.
>>
>> > Onur
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto


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

end of thread, other threads:[~2019-07-15 14:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09  5:52 [Meta-Qt5] "Unknown Module: declarative" Error While Creating Toolchain Onur Eser
2019-07-09  7:59 ` Zoran Stojsavljevic
2019-07-09  8:38   ` Onur Eser
2019-07-09  9:02     ` Zoran Stojsavljevic
2019-07-09  9:11       ` Onur Eser
2019-07-09  9:46         ` Zoran Stojsavljevic
2019-07-10  7:04           ` Onur Eser
2019-07-10  7:37             ` Zoran Stojsavljevic
2019-07-10 12:15       ` Zoran Stojsavljevic
2019-07-15  0:55 ` Khem Raj
2019-07-15  8:06   ` Onur Eser
2019-07-15 14:43     ` Khem Raj

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.