[OE-core] [PATCH] python: Add tk to DEPENDS
Andreas Oberritter
obi at opendreambox.org
Fri Mar 23 23:33:10 UTC 2012
On 24.03.2012 00:14, Andrei Gherzan wrote:
> This is needed for _tkinter python module.
>
> [YOCTO #1937]
>
> Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
> ---
> meta/recipes-devtools/python/python_2.7.2.bb | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
> index cb0a1d5..6969929 100644
> --- a/meta/recipes-devtools/python/python_2.7.2.bb
> +++ b/meta/recipes-devtools/python/python_2.7.2.bb
> @@ -1,5 +1,5 @@
> require python.inc
> -DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib"
> +DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib tk"
Andrei,
this breaks builds without x11:
ERROR: Nothing PROVIDES 'virtual/libx11' (but .../meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb DEPENDS on or otherwise requires it)
ERROR: libx11-diet PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
ERROR: libx11-trim PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
ERROR: libx11 PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
ERROR: libx11-nativesdk PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
ERROR: Required build target 'tk' has no buildable providers.
Missing or unbuildable dependency chain was: ['tk', 'virtual/libx11']
Besides that, tk is not part of OE-core.
Regards,
Andreas
More information about the Openembedded-core
mailing list