From: Michael Tremer <michael.tremer@ipfire.org>
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 [thread overview]
Message-ID: <F459F2BA-F933-4AC5-AF02-15ADD556B29A@ipfire.org> (raw)
In-Reply-To: <116e1f18-eb68-b828-d016-c777da2966d1@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1655 bytes --]
Hello,
> On 3 Apr 2022, at 15:49, Peter Müller <peter.mueller(a)ipfire.org> wrote:
>
> Hello Michael,
> hello *,
>
> looking at
>
>>> + /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 \
>>
>> Why do we even ship tcl? Is anything reliant on this?
>
> in particular and the tcl rootfile in general, I would like to bring your question 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:
>
>> #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 to try out what
> happens if we don't. :-)
See above.
> Thanks, and best regards,
> Peter Müller
-Michael
prev parent reply other threads:[~2022-04-04 8:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 15:35 [PATCH] Core Update 166: Perform spring clean of orphaned files Peter Müller
2022-03-21 15:49 ` Peter Müller
2022-03-21 15:55 ` Michael Tremer
2022-03-21 16:03 ` Peter Müller
2022-03-21 16:06 ` Michael Tremer
2022-03-21 19:15 ` Peter Müller
2022-03-21 19:20 ` Michael Tremer
2022-03-22 14:59 ` Peter Müller
2022-03-22 15:03 ` Michael Tremer
2022-04-03 14:49 ` Why do we ship tcl again? (was: Re: [PATCH] Core Update 166: Perform spring clean of orphaned files) Peter Müller
2022-04-04 8:49 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F459F2BA-F933-4AC5-AF02-15ADD556B29A@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox