]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
tcl: disable 'zipfs' feature
authorAlexander Kanavin <alex@linutronix.de>
Wed, 22 Jan 2025 10:03:22 +0000 (11:03 +0100)
committerRoss Burton <ross.burton@arm.com>
Thu, 23 Jan 2025 11:52:26 +0000 (11:52 +0000)
commit05e31be56498123b177f363c700c96b20958585c
tree0ed0da96e27c2d28855e5065888443d9035ba8de
parent259bfa86f384206f0d0a96a5b84887186c5f689e
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.

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>
meta/recipes-devtools/tcltk/tcl_9.0.1.bb