From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Why do we ship tcl again? (was: Re: [PATCH] Core Update 166: Perform spring clean of orphaned files) Date: Mon, 04 Apr 2022 09:49:45 +0100 Message-ID: In-Reply-To: <116e1f18-eb68-b828-d016-c777da2966d1@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0141730224755104368==" List-Id: --===============0141730224755104368== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 3 Apr 2022, at 15:49, Peter M=C3=BCller wro= te: >=20 > Hello Michael, > hello *, >=20 > looking at >=20 >>> + /usr/lib/tcl8/8.4/platform-1.0.14.tm \ >>> + /usr/lib/tcl8/8.4/platform-1.0.15.tm \ >>> + /usr/lib/tcl8/8.5/msgcat-1.6.0.tm \ >>> + /usr/lib/tcl8/8.5/tcltest-2.4.0.tm \ >>> + /usr/lib/tcl8/8.6/http-2.8.9.tm \ >>> + /usr/lib/tcl8/8.6/tdbc/sqlite3-1.0.4.tm \ >>> + /usr/lib/tcl8/8.6/tdbc/sqlite3-1.1.2.tm \ >>=20 >> Why do we even ship tcl? Is anything reliant on this? >=20 > in particular and the tcl rootfile in general, I would like to bring your q= uestion up again. TCL is required at build time for various packages. However, at runtime there= is one: root(a)michael:/build/ipfire-2.x# grep -r "^#\!.*tcl" build build/usr/sbin/usb_modeswitch_dispatcher:#!/usr/bin/tclsh grep: build/usr/share/misc/magic.mgc: binary file matches That means we will need to ship tcl. > This is especially because the current tcl rootfile ships file I definitely= expect in the > sqlite territory, not here: >=20 >> #usr/lib/sqlite3.36.0 >> usr/lib/sqlite3.36.0/libsqlite3.36.0.so >> usr/lib/sqlite3.36.0/pkgIndex.tcl Since that script is not using sqlite, you can disable building both modules. > To my understanding, this makes it hard to understand if the sqlite version= carried out > via tcl takes precedence, or if the _actual_ sqlite version is effective. They serve different purposes. > Unless anybody has an idea why we actually need to ship tcl, I would like t= o try out what > happens if we don't. :-) See above. > Thanks, and best regards, > Peter M=C3=BCller -Michael --===============0141730224755104368==--