meta-openembedded/meta-oe/recipes-connectivity
Martin Jansa 8c5720df4a
gattlib: use python3native and depend on python3-packaging-native
* it uses gdbus-codegen from glib-2.0-native which depended
  on python3-distutils-native until
  https://lists.openembedded.org/g/openembedded-core/message/196136
  but distutils on host was enforced by sanity check only until mickledore with:
  https://git.openembedded.org/openembedded-core/commit/?id=8e3a5b0709384f2b455a82ac1e8e212686fe4456

  so on hosts without distutils this was already failing with:
  http://errors.yoctoproject.org/Errors/Details/754696/

cd TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus && gdbus-codegen --pragma-once --interface-prefix org.bluez.Descriptor1. --generate-c-code TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1 TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/git/dbus/dbus-bluez-v5.48/org.bluez.GattDescriptor1.xml
Traceback (most recent call last):
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import distutils.version
ModuleNotFoundError: No module named 'distutils'

  and the glib-2.0-native change only changes the dependency from
  distutils to packaging which results in:
  http://errors.yoctoproject.org/Errors/Details/754692/

FAILED: dbus/org-bluez-gattdescriptor1.c TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1.c
cd TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus && gdbus-codegen --pragma-once --interface-prefix org.bluez.Descriptor1. --generate-c-code TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/build/dbus/org-bluez-gattdescriptor1 TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/git/dbus/dbus-bluez-v5.48/org.bluez.GattDescriptor1.xml
Traceback (most recent call last):
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/gattlib/0.2+git/recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'

* packaging probably isn't as wide spread on host distros as old
  distutils was, so make sure it's available by using
  python3-native with python3-packaging-native from OE build

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-27 09:05:17 -08:00
..
ace *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
gammu recipes: Update LICENSE variable to use SPDX license identifiers 2022-03-04 17:41:45 -08:00
gattlib gattlib: use python3native and depend on python3-packaging-native 2024-02-27 09:05:17 -08:00
gensio gensio: upgrade 2.8.2 -> 2.8.3 2024-02-09 09:52:07 -08:00
hostapd hostapd: upgrade 2.9 -> 2.10 2022-01-25 10:56:04 -08:00
ifplugd *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
irssi irssi: upgrade 1.4.4 -> 1.4.5 2023-11-17 11:38:24 -08:00
iwd iwd: update 2.13 -> 2.14 2024-02-19 08:19:21 -08:00
krb5 krb5: use PACKAGE_BEFORE_PN 2024-01-04 11:17:26 -08:00
libev recipes: Update LICENSE variable to use SPDX license identifiers 2022-03-04 17:41:45 -08:00
libimobiledevice recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
libimobiledevice-glue recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
libirecovery libirecovery: upgrade 1.0.1 -> 1.1.0 2023-05-25 08:57:47 -07:00
libmbim libmbim: upgrade 1.31.1 -> 1.31.2 2023-12-29 09:04:17 -08:00
libmtp libmtp: upgrade 1.1.20 -> 1.1.21 2023-11-17 11:38:24 -08:00
libndp recipes: Update LICENSE variable to use SPDX license identifiers 2022-03-04 17:41:45 -08:00
libnet libnet: upgrade version v1.2 -> v1.3 2023-10-04 13:10:06 -07:00
libnfs libnfs: update 5.0.2 -> 5.0.3 2024-02-12 19:33:53 -08:00
libqmi libqmi: correct PV 2024-02-15 14:14:27 -08:00
libqrtr-glib recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
libtorrent libtorrent: Add UPSTREAM_CHECK_GITTAGREGEX 2023-11-07 19:59:58 -08:00
libwebsockets libwebsockets: upgrade 4.3.2 -> 4.3.3 2023-11-21 22:35:50 -08:00
linuxptp linuxptp: Update downstream patches 2023-11-28 08:55:43 -08:00
loudmouth loudmouth: Upgrade to 1.5.4 2023-11-12 12:02:25 -08:00
modemmanager drop GNOMEBASEBUILDCLASS = "meson" 2023-11-11 09:26:41 -08:00
mosh abseil-cpp: remove -Dcmake_cxx_standard=14 flag from extra_oecmake 2023-12-07 21:51:58 -08:00
obex debootstrap: Update SRC_URI to point to valid URL 2023-05-01 23:20:22 -07:00
obexftp *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
packagegroups Convert to new override syntax 2021-08-03 10:21:25 -07:00
paho-mqtt-c paho-mqtt-c: upgrade 1.3.12 -> 1.3.13 2023-10-20 08:25:14 -07:00
paho-mqtt-cpp paho-mqtt-cpp: upgrade 1.3.1 -> 1.3.2 2023-12-18 22:17:24 -08:00
pcapplusplus pcapplusplus: Add recipe for 23.09 release 2023-10-27 17:15:50 -07:00
rabbitmq-c rabbitmq-c: Fix CVE-2023-35789 2023-07-13 07:22:17 -07:00
rfkill *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
rtorrent recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
ser2net ser2net: upgrade 4.6.0 -> 4.6.1 2024-02-09 09:52:13 -08:00
smstools3 *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
telepathy telepathy-glib: inherit gtk-doc 2024-01-12 10:30:32 -08:00
thrift thrift: upgrade 0.18.1 -> 0.19.0 2023-09-07 08:22:44 -07:00
transmission recipes: Update LICENSE variable to use SPDX license identifiers 2022-03-04 17:41:45 -08:00
usbmuxd recipes: drop ${SRCPV} usage 2024-02-09 09:52:12 -08:00
wifi-test-suite *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
wvdial *.patch: add Upstream-Status to all patches 2023-06-21 09:15:20 -07:00
zabbix zabbix: upgrade 6.2.6 -> 6.2.7 2023-02-22 01:03:38 -08:00
zeromq czmq: Fix buildpaths warning. 2024-02-02 00:23:33 -08:00