From: Stanislav Brabec <utx@gentoo.org>
To: Eamon Caddigan <ecaddiga@uiuc.edu>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Slotting Tcl/Tk
Date: Fri, 21 Nov 2003 14:44:41 +0100 [thread overview]
Message-ID: <20031121134441.GA31194@mail.ignum.cz> (raw)
In-Reply-To: <slrnbrqus2.e6l.ecaddiga@cancun.ks.uiuc.edu>
On Fri, Nov 21, 2003 at 02:42:10AM +0000, Eamon Caddigan wrote:
> Howdy, y'all.
>
> I rekkon it's time we reopen bug #4450. I thought I'd post it to
> gentoo-dev because a) tcl/tk is important, and can break a lot of stuff
> and b) I'm relatively inexperienced with writing ebuilds, and would
> appreciate comments and suggestions.
>
SLOTting packages, which provides identical interface and cannot seamlessly
co-exist in system, is bad idea.
You can have installed two packages using two SLOTs in one time. But if you
update or install anything, current packages/ebuilds have no intelligence to
guess, for which SLOT they should be compiled. It will compile for this SLOT,
which has created actual instances of /gentoo/usr/lib/*Config.sh!
Two tcl/tk versions are partially acceptable for binary-only distributions
where different soname is reasonable protection. But for systems compiled from
source, risks of version mismatch is very high.
Tcl/tk extensions built randomly for tcl/tk 8.3 and 8.4 will not work well when
they are combined.
Summary:
Tcl/tk slots is bad idea. It can change only if somebody will hack all
dev-lang/tcl (and some extra) ebuilds to be able to create simultaneously
packages for both tcl/tk 8.3 and 8.4 (if they support building for both
versions).
---
Tcl/tk situation is NOT similar to Apache 1/2 or GNOME 1/2, which has
different interfaces and different library names.
This situation is very similar to libc5 and glibc few years ago - yes, you can
install both in one system. Yes, existing packages will continue to work. But
oops - new packages using one library compiled for libc5 and one for glibc
will most probably crash.
There is a chance for simple SLOTting - using /opt/prefix for alternative tcl
versions. In such case you have to install all extensions twice - once for main
system, once for alternative. For more, see insight ebuild.
-- Stanislav Brabec
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-11-21 13:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-21 2:42 [gentoo-dev] Slotting Tcl/Tk Eamon Caddigan
2003-11-21 13:44 ` Stanislav Brabec [this message]
2003-11-21 14:04 ` [gentoo-dev] and Python! (Re: [gentoo-dev] Slotting Tcl/Tk) Jean Jordaan
2003-11-21 14:25 ` [gentoo-dev] Slotting Tcl/Tk Thomas de Grenier de Latour
2003-11-23 20:17 ` Stanislav Brabec
2003-11-23 23:40 ` [gentoo-dev] " Eamon Caddigan
2003-11-21 14:40 ` Eamon Caddigan
2003-11-21 14:54 ` Mike Frysinger
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=20031121134441.GA31194@mail.ignum.cz \
--to=utx@gentoo.org \
--cc=ecaddiga@uiuc.edu \
--cc=gentoo-dev@gentoo.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