All of lore.kernel.org
 help / color / mirror / Atom feed
* python-pyqt
@ 2018-03-10 12:53 Peter Balazovic
  2018-03-10 14:41 ` python-pyqt Alan Martinovic
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Balazovic @ 2018-03-10 12:53 UTC (permalink / raw)
  To: Yocto list discussion

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

Dears,



per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release Yocto
Project manifests
<https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Ffsl-arm-yocto-bsp.git%2F>
of
imx-morty branch I have built fsl-image-qt5 image, I need to add qt5 python
support, how to add to the image?



Modifying local.conf not works

IMAGE_INSTALL_append += "python-pyqt"


I end up with errors...


ERROR: Nothing RPROVIDES 'python-pyqt5' (but
/home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/
fsl-image-qt5.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['python-pyqt5']

ERROR: Required build target 'fsl-image-qt5' has no buildable providers.

Missing or unbuildable dependency chain was: ['fsl-image-qt5',
'python-pyqt5']



How to add python QT5 support to Yocto image build?


Thank you.

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

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

* Re: python-pyqt
  2018-03-10 12:53 python-pyqt Peter Balazovic
@ 2018-03-10 14:41 ` Alan Martinovic
  2018-03-10 17:14   ` python-pyqt Peter Balazovic
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Martinovic @ 2018-03-10 14:41 UTC (permalink / raw)
  To: Peter Balazovic; +Cc: Yocto list discussion

Seems like the name of the package is: python-pyqt5

A recipe with that name does exist in meta-qt5:
https://layers.openembedded.org/layerindex/recipe/60914/

As on why bitbake didn't automatically set the recipe for execution
(based on RDEPENDS) but you would need to manually add it to
IMAGE_INSTALL_append
I don't know.

Do you have meta-qt5 in your layers?


On Sat, Mar 10, 2018 at 1:53 PM, Peter Balazovic
<balazovic.peter@gmail.com> wrote:
> Dears,
>
>
>
> per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release Yocto
> Project manifests of imx-morty branch I have built fsl-image-qt5 image, I
> need to add qt5 python support, how to add to the image?
>
>
>
> Modifying local.conf not works
>
> IMAGE_INSTALL_append += "python-pyqt"
>
>
> I end up with errors...
>
>
> ERROR: Nothing RPROVIDES 'python-pyqt5' (but
> /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb
> RDEPENDS on or otherwise requires it)
>
> NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...
>
> Missing or unbuildable dependency chain was: ['python-pyqt5']
>
> ERROR: Required build target 'fsl-image-qt5' has no buildable providers.
>
> Missing or unbuildable dependency chain was: ['fsl-image-qt5',
> 'python-pyqt5']
>
>
>
> How to add python QT5 support to Yocto image build?
>
>
> Thank you.
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: python-pyqt
  2018-03-10 14:41 ` python-pyqt Alan Martinovic
@ 2018-03-10 17:14   ` Peter Balazovic
  2018-03-10 18:28     ` python-pyqt Peter Balazovic
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Balazovic @ 2018-03-10 17:14 UTC (permalink / raw)
  To: Alan Martinovic; +Cc: Yocto list discussion

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

I have repo from
http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/ branch
imx-morty
there is layer "meta-qt5" but does not contain "python-pyqt" or "
"python-pyqt5" recipes.

I copied python-pyqt5_5.8.2.bb recipe from https://layers.openembedded.
org/layerindex/recipe/60914/


On Sat, Mar 10, 2018 at 3:41 PM, Alan Martinovic <alan.martinovic@senic.com>
wrote:

> Seems like the name of the package is: python-pyqt5
>
> A recipe with that name does exist in meta-qt5:
> https://layers.openembedded.org/layerindex/recipe/60914/
>
> As on why bitbake didn't automatically set the recipe for execution
> (based on RDEPENDS) but you would need to manually add it to
> IMAGE_INSTALL_append
> I don't know.
>
> Do you have meta-qt5 in your layers?
>
>
> On Sat, Mar 10, 2018 at 1:53 PM, Peter Balazovic
> <balazovic.peter@gmail.com> wrote:
> > Dears,
> >
> >
> >
> > per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release Yocto
> > Project manifests of imx-morty branch I have built fsl-image-qt5 image, I
> > need to add qt5 python support, how to add to the image?
> >
> >
> >
> > Modifying local.conf not works
> >
> > IMAGE_INSTALL_append += "python-pyqt"
> >
> >
> > I end up with errors...
> >
> >
> > ERROR: Nothing RPROVIDES 'python-pyqt5' (but
> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-
> fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb
> > RDEPENDS on or otherwise requires it)
> >
> > NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...
> >
> > Missing or unbuildable dependency chain was: ['python-pyqt5']
> >
> > ERROR: Required build target 'fsl-image-qt5' has no buildable providers.
> >
> > Missing or unbuildable dependency chain was: ['fsl-image-qt5',
> > 'python-pyqt5']
> >
> >
> >
> > How to add python QT5 support to Yocto image build?
> >
> >
> > Thank you.
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>

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

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

* Re: python-pyqt
  2018-03-10 17:14   ` python-pyqt Peter Balazovic
@ 2018-03-10 18:28     ` Peter Balazovic
  2018-03-12 10:26       ` python-pyqt Alan Martinovic
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Balazovic @ 2018-03-10 18:28 UTC (permalink / raw)
  To: Alan Martinovic; +Cc: Yocto list discussion

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

i've added "sip" package to my build and mow by using python-pyqt5_5.8.2.bb


ERROR: python-pyqt5-5.8.2-r0 do_patch: Command Error: 'quilt --quiltrc
/home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/sysroots/x86_64-linux/etc/quiltrc
push' exited with 0  Output:
Applying patch fix-sm.patch
patch: **** Only garbage was found in the patch input.
Patch fix-sm.patch does not apply (enforce with -f)
ERROR: python-pyqt5-5.8.2-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:
/home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt5/5.8.2-r0/temp/log.do_patch.6327
ERROR: Task
(/home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.8.2.bb:do_patch)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 7479 tasks of which 7474 didn't need to be
rerun and 1 failed.




On Sat, Mar 10, 2018 at 6:14 PM, Peter Balazovic <balazovic.peter@gmail.com>
wrote:

> I have repo from http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-
> yocto-bsp.git/ branch imx-morty
> there is layer "meta-qt5" but does not contain "python-pyqt" or "
> "python-pyqt5" recipes.
>
> I copied python-pyqt5_5.8.2.bb recipe from https://layers.
> openembedded.org/layerindex/recipe/60914/
>
>
> On Sat, Mar 10, 2018 at 3:41 PM, Alan Martinovic <
> alan.martinovic@senic.com> wrote:
>
>> Seems like the name of the package is: python-pyqt5
>>
>> A recipe with that name does exist in meta-qt5:
>> https://layers.openembedded.org/layerindex/recipe/60914/
>>
>> As on why bitbake didn't automatically set the recipe for execution
>> (based on RDEPENDS) but you would need to manually add it to
>> IMAGE_INSTALL_append
>> I don't know.
>>
>> Do you have meta-qt5 in your layers?
>>
>>
>> On Sat, Mar 10, 2018 at 1:53 PM, Peter Balazovic
>> <balazovic.peter@gmail.com> wrote:
>> > Dears,
>> >
>> >
>> >
>> > per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release
>> Yocto
>> > Project manifests of imx-morty branch I have built fsl-image-qt5 image,
>> I
>> > need to add qt5 python support, how to add to the image?
>> >
>> >
>> >
>> > Modifying local.conf not works
>> >
>> > IMAGE_INSTALL_append += "python-pyqt"
>> >
>> >
>> > I end up with errors...
>> >
>> >
>> > ERROR: Nothing RPROVIDES 'python-pyqt5' (but
>> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-fs
>> l-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb
>> > RDEPENDS on or otherwise requires it)
>> >
>> > NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...
>> >
>> > Missing or unbuildable dependency chain was: ['python-pyqt5']
>> >
>> > ERROR: Required build target 'fsl-image-qt5' has no buildable providers.
>> >
>> > Missing or unbuildable dependency chain was: ['fsl-image-qt5',
>> > 'python-pyqt5']
>> >
>> >
>> >
>> > How to add python QT5 support to Yocto image build?
>> >
>> >
>> > Thank you.
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> >
>>
>
>

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

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

* Re: python-pyqt
  2018-03-10 18:28     ` python-pyqt Peter Balazovic
@ 2018-03-12 10:26       ` Alan Martinovic
  2018-03-14 15:15         ` python-pyqt Peter Balazovic
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Martinovic @ 2018-03-12 10:26 UTC (permalink / raw)
  To: Peter Balazovic; +Cc: Yocto list discussion

Don't know if I can help you with that, sorry.
Seems to be a promise of a nest of snakes :)

Perhaps a suggestion before you go down that rabbit hole...
Try getting the whole `meta-qt5` that has the required python packages in
it already.
Perhaps you'll have more luck with that than porting a recipe.

Be Well,
Alan





On Sat, Mar 10, 2018 at 7:28 PM, Peter Balazovic
<balazovic.peter@gmail.com> wrote:
> i've added "sip" package to my build and mow by using python-pyqt5_5.8.2.bb
>
>
> ERROR: python-pyqt5-5.8.2-r0 do_patch: Command Error: 'quilt --quiltrc
> /home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/sysroots/x86_64-linux/etc/quiltrc
> push' exited with 0  Output:
> Applying patch fix-sm.patch
> patch: **** Only garbage was found in the patch input.
> Patch fix-sm.patch does not apply (enforce with -f)
> ERROR: python-pyqt5-5.8.2-r0 do_patch: Function failed: patch_do_patch
> ERROR: Logfile of failure stored in:
> /home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt5/5.8.2-r0/temp/log.do_patch.6327
> ERROR: Task
> (/home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.8.2.bb:do_patch)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 7479 tasks of which 7474 didn't need to be
> rerun and 1 failed.
>
>
>
>
> On Sat, Mar 10, 2018 at 6:14 PM, Peter Balazovic <balazovic.peter@gmail.com>
> wrote:
>>
>> I have repo from
>> http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/ branch
>> imx-morty
>> there is layer "meta-qt5" but does not contain "python-pyqt" or
>> ""python-pyqt5" recipes.
>>
>> I copied python-pyqt5_5.8.2.bb recipe from
>> https://layers.openembedded.org/layerindex/recipe/60914/
>>
>>
>> On Sat, Mar 10, 2018 at 3:41 PM, Alan Martinovic
>> <alan.martinovic@senic.com> wrote:
>>>
>>> Seems like the name of the package is: python-pyqt5
>>>
>>> A recipe with that name does exist in meta-qt5:
>>> https://layers.openembedded.org/layerindex/recipe/60914/
>>>
>>> As on why bitbake didn't automatically set the recipe for execution
>>> (based on RDEPENDS) but you would need to manually add it to
>>> IMAGE_INSTALL_append
>>> I don't know.
>>>
>>> Do you have meta-qt5 in your layers?
>>>
>>>
>>> On Sat, Mar 10, 2018 at 1:53 PM, Peter Balazovic
>>> <balazovic.peter@gmail.com> wrote:
>>> > Dears,
>>> >
>>> >
>>> >
>>> > per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release
>>> > Yocto
>>> > Project manifests of imx-morty branch I have built fsl-image-qt5 image,
>>> > I
>>> > need to add qt5 python support, how to add to the image?
>>> >
>>> >
>>> >
>>> > Modifying local.conf not works
>>> >
>>> > IMAGE_INSTALL_append += "python-pyqt"
>>> >
>>> >
>>> > I end up with errors...
>>> >
>>> >
>>> > ERROR: Nothing RPROVIDES 'python-pyqt5' (but
>>> >
>>> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb
>>> > RDEPENDS on or otherwise requires it)
>>> >
>>> > NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...
>>> >
>>> > Missing or unbuildable dependency chain was: ['python-pyqt5']
>>> >
>>> > ERROR: Required build target 'fsl-image-qt5' has no buildable
>>> > providers.
>>> >
>>> > Missing or unbuildable dependency chain was: ['fsl-image-qt5',
>>> > 'python-pyqt5']
>>> >
>>> >
>>> >
>>> > How to add python QT5 support to Yocto image build?
>>> >
>>> >
>>> > Thank you.
>>> >
>>> > --
>>> > _______________________________________________
>>> > yocto mailing list
>>> > yocto@yoctoproject.org
>>> > https://lists.yoctoproject.org/listinfo/yocto
>>> >
>>
>>
>


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

* Re: python-pyqt
  2018-03-12 10:26       ` python-pyqt Alan Martinovic
@ 2018-03-14 15:15         ` Peter Balazovic
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Balazovic @ 2018-03-14 15:15 UTC (permalink / raw)
  To: Alan Martinovic; +Cc: Yocto list discussion

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

got compiling it - pyqt5
actually NXP Yocto sources does not contain

sip:
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/recipes-devtools/sip
pyqt5: https://github.com/meta-qt5/meta-qt5/tree/master/recipes-python/pyqt5

so added to that surces and now it compiles with "IMAGE_INSTALL_append +=
"python-pyqt5""


On Mon, Mar 12, 2018 at 11:26 AM, Alan Martinovic <alan.martinovic@senic.com
> wrote:

> Don't know if I can help you with that, sorry.
> Seems to be a promise of a nest of snakes :)
>
> Perhaps a suggestion before you go down that rabbit hole...
> Try getting the whole `meta-qt5` that has the required python packages in
> it already.
> Perhaps you'll have more luck with that than porting a recipe.
>
> Be Well,
> Alan
>
>
>
>
>
> On Sat, Mar 10, 2018 at 7:28 PM, Peter Balazovic
> <balazovic.peter@gmail.com> wrote:
> > i've added "sip" package to my build and mow by using
> python-pyqt5_5.8.2.bb
> >
> >
> > ERROR: python-pyqt5-5.8.2-r0 do_patch: Command Error: 'quilt --quiltrc
> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/
> sysroots/x86_64-linux/etc/quiltrc
> > push' exited with 0  Output:
> > Applying patch fix-sm.patch
> > patch: **** Only garbage was found in the patch input.
> > Patch fix-sm.patch does not apply (enforce with -f)
> > ERROR: python-pyqt5-5.8.2-r0 do_patch: Function failed: patch_do_patch
> > ERROR: Logfile of failure stored in:
> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/build/tmp/
> work/cortexa9hf-neon-poky-linux-gnueabi/python-pyqt5/5.
> 8.2-r0/temp/log.do_patch.6327
> > ERROR: Task
> > (/home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-
> qt5/recipes-python/pyqt5/python-pyqt5_5.8.2.bb:do_patch)
> > failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 7479 tasks of which 7474 didn't need to be
> > rerun and 1 failed.
> >
> >
> >
> >
> > On Sat, Mar 10, 2018 at 6:14 PM, Peter Balazovic <
> balazovic.peter@gmail.com>
> > wrote:
> >>
> >> I have repo from
> >> http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/ branch
> >> imx-morty
> >> there is layer "meta-qt5" but does not contain "python-pyqt" or
> >> ""python-pyqt5" recipes.
> >>
> >> I copied python-pyqt5_5.8.2.bb recipe from
> >> https://layers.openembedded.org/layerindex/recipe/60914/
> >>
> >>
> >> On Sat, Mar 10, 2018 at 3:41 PM, Alan Martinovic
> >> <alan.martinovic@senic.com> wrote:
> >>>
> >>> Seems like the name of the package is: python-pyqt5
> >>>
> >>> A recipe with that name does exist in meta-qt5:
> >>> https://layers.openembedded.org/layerindex/recipe/60914/
> >>>
> >>> As on why bitbake didn't automatically set the recipe for execution
> >>> (based on RDEPENDS) but you would need to manually add it to
> >>> IMAGE_INSTALL_append
> >>> I don't know.
> >>>
> >>> Do you have meta-qt5 in your layers?
> >>>
> >>>
> >>> On Sat, Mar 10, 2018 at 1:53 PM, Peter Balazovic
> >>> <balazovic.peter@gmail.com> wrote:
> >>> > Dears,
> >>> >
> >>> >
> >>> >
> >>> > per Yocto build from fsl-arm-yocto-bsp.git - i.MX Linux BSP Release
> >>> > Yocto
> >>> > Project manifests of imx-morty branch I have built fsl-image-qt5
> image,
> >>> > I
> >>> > need to add qt5 python support, how to add to the image?
> >>> >
> >>> >
> >>> >
> >>> > Modifying local.conf not works
> >>> >
> >>> > IMAGE_INSTALL_append += "python-pyqt"
> >>> >
> >>> >
> >>> > I end up with errors...
> >>> >
> >>> >
> >>> > ERROR: Nothing RPROVIDES 'python-pyqt5' (but
> >>> >
> >>> > /home/ubuntu/work/morty/fsl-release-bsp-imx6/sources/meta-
> fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb
> >>> > RDEPENDS on or otherwise requires it)
> >>> >
> >>> > NOTE: Runtime target 'python-pyqt5' is unbuildable, removing...
> >>> >
> >>> > Missing or unbuildable dependency chain was: ['python-pyqt5']
> >>> >
> >>> > ERROR: Required build target 'fsl-image-qt5' has no buildable
> >>> > providers.
> >>> >
> >>> > Missing or unbuildable dependency chain was: ['fsl-image-qt5',
> >>> > 'python-pyqt5']
> >>> >
> >>> >
> >>> >
> >>> > How to add python QT5 support to Yocto image build?
> >>> >
> >>> >
> >>> > Thank you.
> >>> >
> >>> > --
> >>> > _______________________________________________
> >>> > yocto mailing list
> >>> > yocto@yoctoproject.org
> >>> > https://lists.yoctoproject.org/listinfo/yocto
> >>> >
> >>
> >>
> >
>

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

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

end of thread, other threads:[~2018-03-14 15:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 12:53 python-pyqt Peter Balazovic
2018-03-10 14:41 ` python-pyqt Alan Martinovic
2018-03-10 17:14   ` python-pyqt Peter Balazovic
2018-03-10 18:28     ` python-pyqt Peter Balazovic
2018-03-12 10:26       ` python-pyqt Alan Martinovic
2018-03-14 15:15         ` python-pyqt Peter Balazovic

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.