[meta-python2][PATCH 2/3] python-systemd: inherit pkgconfig


Martin Jansa
 

* otherwise fails when searching for libsystemd-journal:
http://errors.yoctoproject.org/Errors/Details/614895/

DEBUG: Executing shell function do_configure
Traceback (most recent call last):
File "setup.py", line 55, in <module>
**lib('libsystemd', 'libsystemd-journal', **defines))
File "setup.py", line 40, in lib
status, result = pkgconfig(name, **kw)
File "setup.py", line 18, in pkgconfig
status, result = call(pkgconf, '--libs', '--cflags', package)
File "setup.py", line 8, in call
universal_newlines=True)
File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-systemd/234-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "TOPDIR/tmp-glibc/work/core2-64-oe-linux/python-systemd/234-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
recipes-devtools/python/python-systemd_234.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-devtools/python/python-systemd_234.bb b/recipes-devtools/python/python-systemd_234.bb
index 907ea99..fd657ed 100644
--- a/recipes-devtools/python/python-systemd_234.bb
+++ b/recipes-devtools/python/python-systemd_234.bb
@@ -8,7 +8,7 @@ DEPENDS += "systemd (<=234)"
RDEPENDS:${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging"
REQUIRED_DISTRO_FEATURES = "systemd"

-inherit pypi features_check setuptools
+inherit pypi features_check setuptools pkgconfig

SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
--
2.32.0

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.