diff options
| author | Jan Vermaete <jan.vermaete@gmail.com> | 2025-11-10 09:42:14 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-10 07:50:05 -0800 |
| commit | d41b4f0447ef98047cf6bc6f671295f65931f301 (patch) | |
| tree | dffab511f335db7df30ee09b48e54bccf44a5105 | |
| parent | 5e2ccdc309011f20d39fa3b3d75e7efa4de85db2 (diff) | |
| download | meta-openembedded-d41b4f0447ef98047cf6bc6f671295f65931f301.tar.gz | |
tk: disable zipfs in configuration
The tk.tcl file was missing on the rootfs.
File "/usr/lib/python3.13/tkinter/__init__.py", line 2459, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: Can't find a usable tk.tcl in the following directories:
//zipfs:/app/tk_library //zipfs:/lib/tk/tk_library //zipfs:/lib/tk /usr/lib/tk9.0 /usr/lib/tcl9.0/tk9.0 /usr/lib/tk9.0 /usr/lib/tk9.0 /lib/tk9.0 /usr/library
By disabling the zipfs options the tk.tcl is in the rootfs.
Debian did also disable this option.
@see: https://sources.debian.org/src/tk9.0/9.0.2-1/debian/rules#L39
Tested on Walnascar. But master does have the same version of Tk.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk_9.0.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk_9.0.2.bb b/meta-oe/recipes-devtools/tcltk/tk_9.0.2.bb index fc2dde497f..16feb1182f 100644 --- a/meta-oe/recipes-devtools/tcltk/tk_9.0.2.bb +++ b/meta-oe/recipes-devtools/tcltk/tk_9.0.2.bb | |||
| @@ -44,6 +44,7 @@ EXTRA_OECONF = "\ | |||
| 44 | --with-x \ | 44 | --with-x \ |
| 45 | --with-tcl=${STAGING_BINDIR}/crossscripts \ | 45 | --with-tcl=${STAGING_BINDIR}/crossscripts \ |
| 46 | --libdir=${libdir} \ | 46 | --libdir=${libdir} \ |
| 47 | --disable-zipfs \ | ||
| 47 | " | 48 | " |
| 48 | 49 | ||
| 49 | export TK_LIBRARY = '${libdir}/tk${VER}' | 50 | export TK_LIBRARY = '${libdir}/tk${VER}' |
