[poky] Getting python-dbusmock into the SDK

Mardegan, Alberto AMardegan at luxoft.com
Wed Jan 24 05:31:12 PST 2018


Hi there :-)
  I want to add python-dbusmock (which has a recipe in oe/meta-python)
to our SDK. So, I added

  TOOLCHAIN_HOST_TASK_append = " nativesdk-python-dbusmock"

to our image recipe and made a bbappend for python-dbusmock containing
this line:

  BBCLASSEXTEND += " nativesdk"

When I ran bitbake with the populate-sdk task I got an error about a
nativesdk-python-pygobject, which was not provided by any package. So I
added the same BBCLASSEXTEND trick to its bbappend, and I did the same
for nativesdk-python-dbus which was also declared as missing.

At this point (after adding the BBCLASSEXTEND to python-dbus) I got this
error:

============
ERROR: Nothing PROVIDES 'nativesdk-dbus-glib' (but
virtual:nativesdk:/home/mardy/pelux/build/../sources/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.4.bb
DEPENDS on or otherwise requires it). Close matches:
  nativesdk-dbus
  nativesdk-json-glib
  nativesdk-glibc
============

Do I need to continue adding BBCLASSEXTEND+=" nativesdk" to the packages
as I get new failures, or am I doing something wrong?
I became suspicious when I saw "nativesdk-glib" appearing in the logs
above; I guess we can safely assume that glibc is available in the host
system, so the need to add it as a native SDK package got me puzzled.

Should I continue down this road, or is it a dead end?

Ciao,
  Alberto

________________________________

This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.


More information about the poky mailing list