All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Balazovic <balazovic.peter@gmail.com>
To: Alan Martinovic <alan.martinovic@senic.com>
Cc: Yocto list discussion <yocto@yoctoproject.org>
Subject: Re: python-pyqt
Date: Wed, 14 Mar 2018 16:15:40 +0100	[thread overview]
Message-ID: <CAFq4t4i=Y1Et8Q4K_YHn4u+XjYC9mfRLj7moqsYjWCbQzEN-Bw@mail.gmail.com> (raw)
In-Reply-To: <CAOT_U5Zsz7nw-fNojfHzSM3aRaJGfr8A0X6_CzhyR8QMO6O7LA@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2018-03-14 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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         ` Peter Balazovic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFq4t4i=Y1Et8Q4K_YHn4u+XjYC9mfRLj7moqsYjWCbQzEN-Bw@mail.gmail.com' \
    --to=balazovic.peter@gmail.com \
    --cc=alan.martinovic@senic.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.