[oe-commits] [openembedded-core] 06/09: bind: fix build with python3 PACKAGECONFIG enabled

git at git.openembedded.org git at git.openembedded.org
Thu Aug 29 22:32:18 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2449a7eab94f7eefd860af5c6103b53b8a63f47c
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Aug 23 16:56:29 2019 +0800

    bind: fix build with python3 PACKAGECONFIG enabled
    
    If the PACKAGECONFIG item, python3, is enabled, we get the following
    QA issue when multilib is enabled.
    
      ERROR: bind-9.11.5-P4-r0 do_package: QA Issue: bind: Files/directories were installed but not shipped in any package:
      /usr/lib
      /usr/lib/python3.7
      /usr/lib/python3.7/site-packages
      /usr/lib/python3.7/site-packages/isc-2.0-py3.7.egg-info
      /usr/lib/python3.7/site-packages/isc
      /usr/lib/python3.7/site-packages/isc/policy.py
      [snip]
    
    The thing is, when --with-python is specified with a path instead of 'yes',
    the --with-python-install-dir is in fact ignored.
    
    Fix this issue by specifying the correct arguments.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-connectivity/bind/bind_9.11.5-P4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb b/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
index 93c406f..69b1174 100644
--- a/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
+++ b/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb
@@ -39,7 +39,7 @@ PACKAGECONFIG[httpstats] = "--with-libxml2=${STAGING_DIR_HOST}${prefix},--withou
 PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline"
 PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
 PACKAGECONFIG[urandom] = "--with-randomdev=/dev/urandom,--with-randomdev=/dev/random,,"
-PACKAGECONFIG[python3] = "--with-python=${PYTHON} --with-python-install-dir=${D}/${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"
+PACKAGECONFIG[python3] = "--with-python=yes --with-python-install-dir=${PYTHON_SITEPACKAGES_DIR} , --without-python, python3-ply-native,"
 
 ENABLE_IPV6 = "--enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)}"
 EXTRA_OECONF = " ${ENABLE_IPV6} --with-libtool --enable-threads \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list