diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-09-14 15:06:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-16 09:50:34 +0100 |
commit | 42b2fb8651f8e9cac3292dc8bdef8488eaf9283d (patch) | |
tree | 762929a30cf4c877a47e8abff02d9eeef9aa7555 /meta/recipes-devtools/python/python3_3.9.6.bb | |
parent | 46757ac1e866af5949d60d47d7071f9455054612 (diff) | |
download | poky-42b2fb8651f8e9cac3292dc8bdef8488eaf9283d.tar.gz |
python3: fix multilib qa issue
Enable tk in PACKAGECONFIG as below in conf/local.conf.
PACKAGECONFIG_append_pn-python3 = " tk"
$ bitbake lib32-python3
ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA Issue: /usr/lib/python3.9/lib-dynload/_tkinter.cpython-39-i386-linux-gnu.so contained in package lib32-python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_lib32-python3-tkinter? [file-rdeps]
ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
So add MLPREFIX prefix to fix the above issue.
(From OE-Core rev: 4a839d7c66e4589050ce3f145a8c7cf820e6b35d)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.9.6.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.9.6.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3_3.9.6.bb b/meta/recipes-devtools/python/python3_3.9.6.bb index 34500642d4..f04bfc3053 100644 --- a/meta/recipes-devtools/python/python3_3.9.6.bb +++ b/meta/recipes-devtools/python/python3_3.9.6.bb | |||
@@ -374,8 +374,8 @@ RDEPENDS:libpython3:append:libc-glibc = " libgcc" | |||
374 | RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" | 374 | RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" |
375 | RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed" | 375 | RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc tzdata-europe coreutils sed" |
376 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" | 376 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" |
377 | RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}" | 377 | RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}" |
378 | RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}" | 378 | RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}" |
379 | RDEPENDS:${PN}-dev = "" | 379 | RDEPENDS:${PN}-dev = "" |
380 | RDEPENDS:${PN}-pydoc += "${PN}-io" | 380 | RDEPENDS:${PN}-pydoc += "${PN}-io" |
381 | 381 | ||