diff options
author | Alexander Kanavin <alex@linutronix.de> | 2025-01-22 11:03:22 +0100 |
---|---|---|
committer | Ross Burton <ross.burton@arm.com> | 2025-01-23 11:56:47 +0000 |
commit | b89a5dbebdd1ff845cc89ba00667b87f685f4049 (patch) | |
tree | 43e99f0a72b378945d98396611029ecadaa80de3 | |
parent | c996cfea529e6ec3fa6d511ed75694db9a3a2fd3 (diff) | |
download | poky-b89a5dbebdd1ff845cc89ba00667b87f685f4049.tar.gz |
tcl: disable 'zipfs' feature
zipfs is a new facility in tcl 9.x where various data files are bundled
into a zip archive, rather being separately installed.
Then that zip is embedded into libtcl.so from Makefile, thusly:
cat ${TCL_ZIP_FILE} >> ${LIB_FILE}
This is a major case of face meeting palm: any binary object
processing on the resulting .so file discards the extra data
at the end, and that's exactly what happens in do_package(),
resulting in a tcl installation without any language libraries.
This is not caught by ptest because it runs against a private
copy of the source tree.
Additionally, it helps to have data files on target systems
as files that can be viewed and edited.
(From OE-Core rev: 05e31be56498123b177f363c700c96b20958585c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl_9.0.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb index 0ba7288a60..485b293768 100644 --- a/meta/recipes-devtools/tcltk/tcl_9.0.1.bb +++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb | |||
@@ -37,7 +37,7 @@ inherit autotools ptest binconfig | |||
37 | AUTOTOOLS_SCRIPT_PATH = "${S}/unix" | 37 | AUTOTOOLS_SCRIPT_PATH = "${S}/unix" |
38 | EXTRA_AUTORECONF = "--exclude=aclocal" | 38 | EXTRA_AUTORECONF = "--exclude=aclocal" |
39 | 39 | ||
40 | EXTRA_OECONF = "--disable-rpath --enable-man-suffix=tcl9" | 40 | EXTRA_OECONF = "--disable-rpath --enable-man-suffix=tcl9 --disable-zipfs" |
41 | 41 | ||
42 | # Prevent installing copy of tzdata based on tzdata installation on the build host | 42 | # Prevent installing copy of tzdata based on tzdata installation on the build host |
43 | # It doesn't install tzdata if one of the following files exist on the host: | 43 | # It doesn't install tzdata if one of the following files exist on the host: |