Skip to contentSkip to conversation

python3: add tcl rdepends for python3-idle

PATCH Superseded Yu, Mingli 3 participants 4 messages Jun 5, 2020 – Jun 11, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 python3: add tcl rdepends for python3-idle

From: Mingli Yu <[email protected]>

Add tcl rdepends for python3-idle to fix
below error:

 # /usr/bin/idle3 -h
 [snip]
 _tkinter.TclError: Can't find a usable init.tcl
 [snip]
---
 meta/recipes-devtools/python/python3_3.8.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3_3.8.2.bb +1 -0
index 0474f07214..0ddf88699c 100644
@@ -346,6 +346,7 @@ RDEPENDS_libpython3_append_libc-glibc = " libgcc"
 RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
+RDEPENDS_${PN}-idle += "tcl"
 RDEPENDS_${PN}-dev = ""
 
 RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash"
Signature · 1 line
2.24.1
#1 lore raw

✗ patchtest: failure for python3: add tcl rdepends for python3-idle

== Series Details ==

Series: python3: add tcl rdepends for python3-idle
Revision: 1
URL : https://patchwork.openembedded.org/series/24497/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 56e211d0f3)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
#2 lore raw
In reply to Yu, Mingli
Quoted 19 lines · Mingli

From: Mingli Yu <[email protected]>

Add tcl rdepends for python3-idle to fix
below error:

 # /usr/bin/idle3 -h
 [snip]
 _tkinter.TclError: Can't find a usable init.tcl
 [snip]
---
 meta/recipes-devtools/python/python3_3.8.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3_3.8.2.bb +0 -0
index 0474f07214..0ddf88699c 100644

meta/recipes-devtools/python/python3_3.8.2.bb RDEPENDS_libpython3_append_libc-glibc = " libgcc" · line 349

Quoted 4 lines
meta/recipes-devtools/python/python3_3.8.2.bb +1 -0
@@ -346,6 +346,7 @@ RDEPENDS_libpython3_append_libc-glibc = " libgcc"
 RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
 RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
+RDEPENDS_${PN}-idle += "tcl"

Shouldn't this be using the tk packageconfig too? or depending on ${PN}-tkinter?

Cheers,

Richard

author
#3 lore raw

Hi RP,

Quoted 15 lines · Richard Purdie
Quoted 14 lines · Mingli

From: Mingli Yu <[email protected]>

Add tcl rdepends for python3-idle to fix
below error:

  # /usr/bin/idle3 -h
  [snip]
  _tkinter.TclError: Can't find a usable init.tcl
  [snip]
---
  meta/recipes-devtools/python/python3_3.8.2.bb | 1 +
  1 file changed, 1 insertion(+)
Quoted 11 lines

meta/recipes-devtools/python/python3_3.8.2.bb RDEPENDS_libpython3_append_libc-glibc = " libgcc" · line 349

Quoted 9 lines
meta/recipes-devtools/python/python3_3.8.2.bb +1 -0
index 0474f07214..0ddf88699c 100644
@@ -346,6 +346,7 @@ RDEPENDS_libpython3_append_libc-glibc = " libgcc"
  RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
  RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
  RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
+RDEPENDS_${PN}-idle += "tcl"

Shouldn't this be using the tk packageconfig too? or depending on

Will use tk packageconfig in v2, apart from rdepends on ${PN}-tkinter, it also rdepends on tcl.

Thanks,

Quoted 6 lines

${PN}-tkinter?

Cheers,

Richard