openembedded-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
@ 2021-10-19 13:19 Marco Cavallini
  2021-10-20 11:45 ` [oe] " Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Cavallini @ 2021-10-19 13:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Marco Cavallini, Marco Cavallini

From: Marco Cavallini <m.cavallini@koansoftware.com>

Signed-off-by: Marco Cavallini <koansoftware@gmail.com>
---
 .../recipes-connectivity/bluepy/bluepy_git.bb   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb

diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
new file mode 100644
index 000000000..03b1562b6
--- /dev/null
+++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Python interface to Bluetooth LE on Linux"
+HOMEPAGE = "https://github.com/IanHarvey/bluepy"
+SECTION = "devel/python"
+
+DEPENDS = "${PYTHON_PN} glib-2.0"
+RDEPENDS_${PN} = "bluez5"
+
+LICENSE = "GPLv2 & PD"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+inherit setuptools3 pkgconfig
+
+SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09"
+S = "${WORKDIR}/git"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
-- 
2.17.1



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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-19 13:19 [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2) Marco Cavallini
@ 2021-10-20 11:45 ` Khem Raj
  2021-10-20 12:07   ` Marco
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2021-10-20 11:45 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: openembeded-devel, Marco Cavallini

fails during install now on musl/x86 arm/glibc

https://errors.yoctoproject.org/Errors/Details/613446/
https://errors.yoctoproject.org/Errors/Details/613456/

On Tue, Oct 19, 2021 at 6:19 AM Marco Cavallini <koansoftware@gmail.com> wrote:
>
> From: Marco Cavallini <m.cavallini@koansoftware.com>
>
> Signed-off-by: Marco Cavallini <koansoftware@gmail.com>
> ---
>  .../recipes-connectivity/bluepy/bluepy_git.bb   | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
>
> diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> new file mode 100644
> index 000000000..03b1562b6
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "Python interface to Bluetooth LE on Linux"
> +HOMEPAGE = "https://github.com/IanHarvey/bluepy"
> +SECTION = "devel/python"
> +
> +DEPENDS = "${PYTHON_PN} glib-2.0"
> +RDEPENDS_${PN} = "bluez5"
> +
> +LICENSE = "GPLv2 & PD"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
> +
> +inherit setuptools3 pkgconfig
> +
> +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09"
> +S = "${WORKDIR}/git"
> +
> +TARGET_CC_ARCH += "${LDFLAGS}"
> --
> 2.17.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93464): https://lists.openembedded.org/g/openembedded-devel/message/93464
> Mute This Topic: https://lists.openembedded.org/mt/86439385/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-20 11:45 ` [oe] " Khem Raj
@ 2021-10-20 12:07   ` Marco
  2021-10-20 14:10     ` Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Marco @ 2021-10-20 12:07 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel, Marco Cavallini

On 20/10/21 13:45, Khem Raj wrote:
> fails during install now on musl/x86 arm/glibc
> 
> https://errors.yoctoproject.org/Errors/Details/613446/
> https://errors.yoctoproject.org/Errors/Details/613456/
> 

Hi Khem,
I diligently followed the instructions on the site
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

To correct the errors you reported to me previously, I installed the 
'master' version of Poky + Openembedded and recompiled everything 
without errors and I re-sent the v2 patch.

At this point I no longer know what the requirements are for submitting 
a patch.
Do you need to pass any series of tests?
Which one?
How do I reproduce them locally?

Thank you
--
Marco


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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-20 12:07   ` Marco
@ 2021-10-20 14:10     ` Khem Raj
  2021-10-20 17:02       ` Martin Jansa
       [not found]       ` <16AFCBDEF9895FF9.31449@lists.openembedded.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Khem Raj @ 2021-10-20 14:10 UTC (permalink / raw)
  To: koansoftware; +Cc: Marco Cavallini, openembeded-devel

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

On Wed, Oct 20, 2021 at 5:07 AM Marco <koansoftware@gmail.com> wrote:

> On 20/10/21 13:45, Khem Raj wrote:
> > fails during install now on musl/x86 arm/glibc
> >
> > https://errors.yoctoproject.org/Errors/Details/613446/
> > https://errors.yoctoproject.org/Errors/Details/613456/
> >
>
> Hi Khem,
> I diligently followed the instructions on the site
> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>
> To correct the errors you reported to me previously, I installed the
> 'master' version of Poky + Openembedded and recompiled everything
> without errors and I re-sent the v2 patch.
>
> At this point I no longer know what the requirements are for submitting
> a patch.
> Do you need to pass any series of tests?
> Which one?
> How do I reproduce them locally?


We have few Jenkins nodes where world builds are run and it takes quite a
bit for those to finish

I also have a Comcast internal node and one

Then we do have a job at yocto auto builder too and it’s failing on some of
them but not all

Eg it’s also failing on yocto ab which builds for qemux86-64/glibc



>
> Thank you
> --
> Marco
>

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

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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-20 14:10     ` Khem Raj
@ 2021-10-20 17:02       ` Martin Jansa
       [not found]       ` <16AFCBDEF9895FF9.31449@lists.openembedded.org>
  1 sibling, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2021-10-20 17:02 UTC (permalink / raw)
  To: Khem Raj; +Cc: koansoftware, Marco Cavallini, openembeded-devel

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

FWIW: I'm seeing the same error now.

Marco: is the user you're building under having UID 1000? Try under
different UID to reproduce this.

On Wed, Oct 20, 2021 at 4:11 PM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On Wed, Oct 20, 2021 at 5:07 AM Marco <koansoftware@gmail.com> wrote:
>
>> On 20/10/21 13:45, Khem Raj wrote:
>> > fails during install now on musl/x86 arm/glibc
>> >
>> > https://errors.yoctoproject.org/Errors/Details/613446/
>> > https://errors.yoctoproject.org/Errors/Details/613456/
>> >
>>
>> Hi Khem,
>> I diligently followed the instructions on the site
>> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>>
>> To correct the errors you reported to me previously, I installed the
>> 'master' version of Poky + Openembedded and recompiled everything
>> without errors and I re-sent the v2 patch.
>>
>> At this point I no longer know what the requirements are for submitting
>> a patch.
>> Do you need to pass any series of tests?
>> Which one?
>> How do I reproduce them locally?
>
>
> We have few Jenkins nodes where world builds are run and it takes quite a
> bit for those to finish
>
> I also have a Comcast internal node and one
>
> Then we do have a job at yocto auto builder too and it’s failing on some
> of them but not all
>
> Eg it’s also failing on yocto ab which builds for qemux86-64/glibc
>
>
>
>>
>> Thank you
>> --
>> Marco
>>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93482):
> https://lists.openembedded.org/g/openembedded-devel/message/93482
> Mute This Topic: https://lists.openembedded.org/mt/86439385/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> Martin.Jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

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

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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
       [not found]       ` <16AFCBDEF9895FF9.31449@lists.openembedded.org>
@ 2021-10-20 17:05         ` Martin Jansa
  2021-10-20 17:07           ` Martin Jansa
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2021-10-20 17:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Khem Raj, koansoftware, Marco Cavallini, openembeded-devel

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

Also please use some more meaningful PV than "git" from the filename.

On Wed, Oct 20, 2021 at 7:02 PM Martin Jansa via lists.openembedded.org
<Martin.Jansa=gmail.com@lists.openembedded.org> wrote:

> FWIW: I'm seeing the same error now.
>
> Marco: is the user you're building under having UID 1000? Try under
> different UID to reproduce this.
>
> On Wed, Oct 20, 2021 at 4:11 PM Khem Raj <raj.khem@gmail.com> wrote:
>
>>
>>
>> On Wed, Oct 20, 2021 at 5:07 AM Marco <koansoftware@gmail.com> wrote:
>>
>>> On 20/10/21 13:45, Khem Raj wrote:
>>> > fails during install now on musl/x86 arm/glibc
>>> >
>>> > https://errors.yoctoproject.org/Errors/Details/613446/
>>> > https://errors.yoctoproject.org/Errors/Details/613456/
>>> >
>>>
>>> Hi Khem,
>>> I diligently followed the instructions on the site
>>> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>>>
>>> To correct the errors you reported to me previously, I installed the
>>> 'master' version of Poky + Openembedded and recompiled everything
>>> without errors and I re-sent the v2 patch.
>>>
>>> At this point I no longer know what the requirements are for submitting
>>> a patch.
>>> Do you need to pass any series of tests?
>>> Which one?
>>> How do I reproduce them locally?
>>
>>
>> We have few Jenkins nodes where world builds are run and it takes quite a
>> bit for those to finish
>>
>> I also have a Comcast internal node and one
>>
>> Then we do have a job at yocto auto builder too and it’s failing on some
>> of them but not all
>>
>> Eg it’s also failing on yocto ab which builds for qemux86-64/glibc
>>
>>
>>
>>>
>>> Thank you
>>> --
>>> Marco
>>>
>>
>>
>>
>>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93484):
> https://lists.openembedded.org/g/openembedded-devel/message/93484
> Mute This Topic: https://lists.openembedded.org/mt/86439385/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> Martin.Jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

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

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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-20 17:05         ` Martin Jansa
@ 2021-10-20 17:07           ` Martin Jansa
  2021-10-20 17:23             ` Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2021-10-20 17:07 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Khem Raj, koansoftware, Marco Cavallini, openembeded-devel

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

well and also set SRCREV instead of rev in SRC_URI and use correct RDEPENDS
syntax.

There is another recipe where old RDEPENDS syntax sneaked in :/

meta-oe$ git grep ^RDEPENDS_
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb:RDEPENDS_${PN} =
"bluez5"
meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb:RDEPENDS_${PN} =
" \

On Wed, Oct 20, 2021 at 7:05 PM Martin Jansa <martin.jansa@gmail.com> wrote:

> Also please use some more meaningful PV than "git" from the filename.
>
> On Wed, Oct 20, 2021 at 7:02 PM Martin Jansa via lists.openembedded.org
> <Martin.Jansa=gmail.com@lists.openembedded.org> wrote:
>
>> FWIW: I'm seeing the same error now.
>>
>> Marco: is the user you're building under having UID 1000? Try under
>> different UID to reproduce this.
>>
>> On Wed, Oct 20, 2021 at 4:11 PM Khem Raj <raj.khem@gmail.com> wrote:
>>
>>>
>>>
>>> On Wed, Oct 20, 2021 at 5:07 AM Marco <koansoftware@gmail.com> wrote:
>>>
>>>> On 20/10/21 13:45, Khem Raj wrote:
>>>> > fails during install now on musl/x86 arm/glibc
>>>> >
>>>> > https://errors.yoctoproject.org/Errors/Details/613446/
>>>> > https://errors.yoctoproject.org/Errors/Details/613456/
>>>> >
>>>>
>>>> Hi Khem,
>>>> I diligently followed the instructions on the site
>>>> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>>>>
>>>> To correct the errors you reported to me previously, I installed the
>>>> 'master' version of Poky + Openembedded and recompiled everything
>>>> without errors and I re-sent the v2 patch.
>>>>
>>>> At this point I no longer know what the requirements are for submitting
>>>> a patch.
>>>> Do you need to pass any series of tests?
>>>> Which one?
>>>> How do I reproduce them locally?
>>>
>>>
>>> We have few Jenkins nodes where world builds are run and it takes quite
>>> a bit for those to finish
>>>
>>> I also have a Comcast internal node and one
>>>
>>> Then we do have a job at yocto auto builder too and it’s failing on some
>>> of them but not all
>>>
>>> Eg it’s also failing on yocto ab which builds for qemux86-64/glibc
>>>
>>>
>>>
>>>>
>>>> Thank you
>>>> --
>>>> Marco
>>>>
>>>
>>>
>>>
>>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#93484):
>> https://lists.openembedded.org/g/openembedded-devel/message/93484
>> Mute This Topic: https://lists.openembedded.org/mt/86439385/3617156
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
>> Martin.Jansa@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>

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

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

* Re: [oe] [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)
  2021-10-20 17:07           ` Martin Jansa
@ 2021-10-20 17:23             ` Khem Raj
  0 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2021-10-20 17:23 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Marco Cavallini, Marco Cavallini, openembeded-devel

On Wed, Oct 20, 2021 at 10:08 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>
> well and also set SRCREV instead of rev in SRC_URI and use correct RDEPENDS syntax.
>
> There is another recipe where old RDEPENDS syntax sneaked in :/
>
> meta-oe$ git grep ^RDEPENDS_
> meta-networking/recipes-connectivity/bluepy/bluepy_git.bb:RDEPENDS_${PN} = "bluez5"
> meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb:RDEPENDS_${PN} = " \
>

yeah I send a cleanup patch,

> On Wed, Oct 20, 2021 at 7:05 PM Martin Jansa <martin.jansa@gmail.com> wrote:
>>
>> Also please use some more meaningful PV than "git" from the filename.
>>
>> On Wed, Oct 20, 2021 at 7:02 PM Martin Jansa via lists.openembedded.org <Martin.Jansa=gmail.com@lists.openembedded.org> wrote:
>>>
>>> FWIW: I'm seeing the same error now.
>>>
>>> Marco: is the user you're building under having UID 1000? Try under different UID to reproduce this.
>>>
>>> On Wed, Oct 20, 2021 at 4:11 PM Khem Raj <raj.khem@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>> On Wed, Oct 20, 2021 at 5:07 AM Marco <koansoftware@gmail.com> wrote:
>>>>>
>>>>> On 20/10/21 13:45, Khem Raj wrote:
>>>>> > fails during install now on musl/x86 arm/glibc
>>>>> >
>>>>> > https://errors.yoctoproject.org/Errors/Details/613446/
>>>>> > https://errors.yoctoproject.org/Errors/Details/613456/
>>>>> >
>>>>>
>>>>> Hi Khem,
>>>>> I diligently followed the instructions on the site
>>>>> https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>>>>>
>>>>> To correct the errors you reported to me previously, I installed the
>>>>> 'master' version of Poky + Openembedded and recompiled everything
>>>>> without errors and I re-sent the v2 patch.
>>>>>
>>>>> At this point I no longer know what the requirements are for submitting
>>>>> a patch.
>>>>> Do you need to pass any series of tests?
>>>>> Which one?
>>>>> How do I reproduce them locally?
>>>>
>>>>
>>>> We have few Jenkins nodes where world builds are run and it takes quite a bit for those to finish
>>>>
>>>> I also have a Comcast internal node and one
>>>>
>>>> Then we do have a job at yocto auto builder too and it’s failing on some of them but not all
>>>>
>>>> Eg it’s also failing on yocto ab which builds for qemux86-64/glibc
>>>>
>>>>
>>>>>
>>>>>
>>>>> Thank you
>>>>> --
>>>>> Marco
>>>>
>>>>
>>>>
>>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> View/Reply Online (#93484): https://lists.openembedded.org/g/openembedded-devel/message/93484
>>> Mute This Topic: https://lists.openembedded.org/mt/86439385/3617156
>>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Martin.Jansa@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>


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

end of thread, other threads:[~2021-10-20 17:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 13:19 [meta-networking][PATCH v2] bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2) Marco Cavallini
2021-10-20 11:45 ` [oe] " Khem Raj
2021-10-20 12:07   ` Marco
2021-10-20 14:10     ` Khem Raj
2021-10-20 17:02       ` Martin Jansa
     [not found]       ` <16AFCBDEF9895FF9.31449@lists.openembedded.org>
2021-10-20 17:05         ` Martin Jansa
2021-10-20 17:07           ` Martin Jansa
2021-10-20 17:23             ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).