diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-10-26 16:19:11 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-10-26 16:43:35 +0200 |
commit | c1f638ab3fafad924cf2801f6f788c412107bcf3 (patch) | |
tree | 1be40719e4a06aefcbba5dcce0a621d78e83f6c6 | |
parent | a8c31720a45541b8b08c77ce8f4d3f6aa75c6f05 (diff) | |
download | meta-python2-c1f638ab3fafad924cf2801f6f788c412107bcf3.tar.gz |
python-systemd: inherit pkgconfig
* 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@gmail.com>
-rw-r--r-- | recipes-devtools/python/python-systemd_234.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |