Skip to contentSkip to conversation

gnome-bluetooth: fix compile

PATCH In review Andreas Müller 3 participants 6 messages Mar 16, 2016 – Mar 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gnome-bluetooth: fix compile

fixes error series starting with

| Caught exception: <type 'exceptions.TypeError'> TypeError('expected a string or other character buffer object',)
| > /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)<module>()
| -> PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
---
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb +6 -0
index 77e9a15..d64346e 100644
@@ -18,3 +18,9 @@ SRC_URI[archive.md5sum] = "75d09c924468ec0c687f9ab3acf7f113"
 SRC_URI[archive.sha256sum] = "d8df073c331df0f97261869fb77ffcdbf4e3e4eaf460d3c3ed2b16e03d9c5398"
 
 FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
+
+# required for python binding
+export HOST_SYS
+export BUILD_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
Signature · 1 line
2.5.0
#1 lore raw

PATCH 2/2 gnome-bluetooth: pack introspection related files

fixes:

| WARNING: gnome-bluetooth-3.18.2-r0 do_package: QA Issue: gnome-bluetooth: Files/directories were installed but not shipped in any package:
|  /usr/lib/girepository-1.0
|  /usr/lib/girepository-1.0/GnomeBluetooth-1.0.typelib
|  /usr/share/gir-1.0
|  /usr/share/gir-1.0/GnomeBluetooth-1.0.gir
---
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb +4 -0
index d64346e..ab08254 100644
@@ -17,6 +17,10 @@ REQUIRED_DISTRO_FEATURES = "systemd"
 SRC_URI[archive.md5sum] = "75d09c924468ec0c687f9ab3acf7f113"
 SRC_URI[archive.sha256sum] = "d8df073c331df0f97261869fb77ffcdbf4e3e4eaf460d3c3ed2b16e03d9c5398"
 
+FILES_${PN} += " \
+    ${datadir}/gir* \
+    ${libdir}/gir* \
+"
 FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
 
 # required for python binding
Signature · 1 line
2.5.0
#2 lore raw
In reply to Andreas Müller
Quoted 7 lines

fixes error series starting with
| Caught exception: <type 'exceptions.TypeError'> TypeError('expected a
string or other character buffer object',)
| > /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)<module>() | -> PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )

Both this patch and the second one should be replaced with a patch that simply adds

inherit gobject-introspection

to the recipe. For some reason I forgot to do that in my g-i fixes patchset.

Alex

#3 lore raw
Quoted 8 lines · On 03/18/2016 09:06 PM, [email protected] wrote:
Quoted 7 lines

fixes error series starting with
| Caught exception: <type 'exceptions.TypeError'> TypeError('expected a
string or other character buffer object',)
| > /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)<module>() | -> PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )

Quoted 6 lines

Both this patch and the second one should be replaced with a patch that simply adds

inherit gobject-introspection

to the recipe. For some reason I forgot to do that in my g-i fixes patchset.

Martin, can you drop these patches from master-next please? Just want to make sure they don't make it to the master branch.

Alex

#4 lore raw
Quoted 12 lines · Alexander Kanavin
Quoted 11 lines · On 03/18/2016 09:06 PM, [email protected] wrote:
Quoted 7 lines

fixes error series starting with
| Caught exception: <type 'exceptions.TypeError'> TypeError('expected a
string or other character buffer object',)
| > /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)<module>() | -> PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )

Both this patch and the second one should be replaced with a patch that simply adds

Quoted 6 lines
Quoted 3 lines

inherit gobject-introspection

to the recipe. For some reason I forgot to do that in my g-i fixes patchset.

Martin, can you drop these patches from master-next please? Just want to make sure they don't make it to the master branch.

After someone sends the patch with the inherit, then yes.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 13 lines · Martin Jansa
Quoted 12 lines · Alexander Kanavin
Quoted 11 lines · On 03/18/2016 09:06 PM, [email protected] wrote:
Quoted 7 lines

fixes error series starting with
| Caught exception: <type 'exceptions.TypeError'> TypeError('expected a
string or other character buffer object',)
| > /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py(22)<module>() | -> PREFIX = os.path.normpath(sys.prefix).replace(
os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )

Both this patch and the second one should be replaced with a patch that simply adds

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

inherit gobject-introspection

to the recipe. For some reason I forgot to do that in my g-i fixes patchset.

Martin, can you drop these patches from master-next please? Just want to make sure they don't make it to the master branch.

After someone sends the patch with the inherit, then yes.

I don't think I can send something till next week - am drowning on WIP - sorry

Andreas