Skip to contentSkip to conversation

bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)

PATCH In review Marco Cavallini 3 participants 8 messages Oct 19, 2021 – Oct 20, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bluepy_git.bb: Added recipe for BluePy Python interface to Bluetooth LE on Linux (v2)

From: Marco Cavallini <[email protected]>

---
 .../recipes-connectivity/bluepy/bluepy_git.bb   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb new file +17 -0
new file mode 100644
index 000000000..03b1562b6
@@ -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}"
Signature · 1 line
2.17.1
#1 lore raw

fails during install now on musl/x86 arm/glibc

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

Quoted 44 lines · Marco Cavallini

From: Marco Cavallini <[email protected]>

---
 .../recipes-connectivity/bluepy/bluepy_git.bb   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb new file +17 -1
new file mode 100644
index 000000000..03b1562b6
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 5 lines · Khem Raj

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

#3 lore raw
Quoted 15 lines · Marco
Quoted 5 lines · Khem Raj

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.

Quoted 5 lines

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

Quoted 5 lines

Thank you
--
Marco

#4 lore raw

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.

Quoted 55 lines · Khem Raj
Quoted 15 lines · Marco
Quoted 5 lines · Khem Raj

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.

Quoted 5 lines

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

Quoted 5 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

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

Quoted 65 lines · Martin Jansa via lists.openembedded.org

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.

Quoted 29 lines · Khem Raj
Quoted 15 lines · Marco
Quoted 5 lines · Khem Raj

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.

Quoted 5 lines

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

Quoted 18 lines

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

Quoted 5 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

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} = " \

Quoted 70 lines · Martin Jansa

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

Quoted 65 lines · Martin Jansa via lists.openembedded.org

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.

Quoted 29 lines · Khem Raj
Quoted 15 lines · Marco
Quoted 5 lines · Khem Raj

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.

Quoted 5 lines

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

Quoted 18 lines

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

Quoted 5 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw
Quoted 9 lines · Martin Jansa

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,

Quoted 65 lines · Martin Jansa
Quoted 64 lines

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

Quoted 60 lines · Martin Jansa via lists.openembedded.org

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.

Quoted 27 lines · Khem Raj
Quoted 16 lines · Marco
Quoted 5 lines · Khem Raj

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.

Quoted 5 lines

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?

Quoted 18 lines

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

Quoted 5 lines

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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-