public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] why multiple versions of java-config, automake, and autoconf?
Date: Thu, 7 Jun 2007 17:54:40 +0200	[thread overview]
Message-ID: <200706071754.53896.bo.andresen@zlin.dk> (raw)
In-Reply-To: <20070606234438.GE2575@nibiru.local>

[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]

On Thursday 07 June 2007 01:44:39 Enrico Weigelt wrote:
> > Now...  Why are there multiple versions of java-config,
> > autoconf, and automake shown on my system?
>
> These are packages totally incompatible and so different
> packages under the same name. They're sometimes necessary,
> since certain projects still require very old version,
> even if upgrade wouldn't be such a problem and has already
> been done by contributors (ie. mozilla).

Well, they still are different versions under the same packages from the same 
projects.

> Gentoo has an strange magic for handling that, called "Slots".
> They deeply break the linear version space. This makes handling
> very tricky and requires much additional complexity. Some of
> the other replies should make clear some prolems ...

I have no idea what breaking 'the linear version space' means. And I don't see 
how having automake in 7 different packages instead of seven slots under the 
same package makes it any less complex.

How is having a depend on =sys-devel/automake-1.4* or sys-devel/automake:1.4 
any more complex than a depend on a separate packages named 
sys-devel/automake-1.4 ? There are actuallly packages in the tree that don't 
care which version of automake is in use (at least according to there 
ebuilds). Now they just depend on sys-devel/automake. With your brilliant 
solution they would have to depend on || ( sys-devel/automake-1.4 
sys-devel/automake-1.5 ... ).

> No idea, why the responsible Gentoo-devs didn't just give
> those incompatible packages different names, especially on
> their own packages. AFAIK, java-config is made by Gentoo.
> It would be trivial, just to call the 2.x version something
> like java-config-2 ... perhaps too simple for them ?

It still doesn't change the problem that if they have different files with the 
same name they need to install it in different places. That problem is just 
the same whether in slots or separate packages.

[SNIP]
> As someone else already that: one of the problems with slots.
> They don't work well on cleanup. I wonder if anybody ever thought
> about that when slots were introduced.

--depclean does actually remove unneeded slots now for packages not in system 
or world.

By removing slotting you take away flexibility and make things in a source 
distribution harder. Not easier. Yes, it sucks that our current EAPI doesn't 
support that flexibility properly (by allowing slot deps) and that our 
current package manager doesn't support the flexibility that use deps would 
provide (hence dying in pkg_setup when a use flag was required). But the long 
term solution is not to remove the flexibility that these concepts provide 
but rather to support it properly in the package manager and EAPI.

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-06-07 16:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31  2:23 [gentoo-user] why multiple versions of java-config, automake, and autoconf? Denis
2007-05-31  2:43 ` Boyd Stephen Smith Jr.
2007-05-31  3:16   ` Ric de France
2007-05-31  3:53     ` Denis
2007-05-31  4:00       ` Bo Ørsted Andresen
2007-05-31  4:25         ` Denis
2007-05-31  4:55           ` Bo Ørsted Andresen
2007-05-31 16:48         ` Denis
2007-06-01  3:30         ` Ric de France
2007-05-31  3:17   ` Bo Ørsted Andresen
     [not found] ` <20070606234438.GE2575@nibiru.local>
2007-06-07 15:54   ` Bo Ørsted Andresen [this message]
2007-06-08 12:46     ` Enrico Weigelt
2007-06-08 13:18       ` Kent Fredric
2007-06-08 14:20         ` Enrico Weigelt
2007-06-08 14:51           ` Kent Fredric
     [not found]             ` <8cd1ed20706080754u276683f1h3a5136335aa3a971@mail.gmail.com>
2007-06-08 14:56               ` Kent Fredric
2007-06-08 18:37             ` Enrico Weigelt
2007-06-09  6:44               ` Kent Fredric
2007-06-09 10:51                 ` Bo Ørsted Andresen
2007-06-12 12:59                 ` Enrico Weigelt
2007-06-09 10:46       ` Bo Ørsted Andresen
2007-06-12 13:49         ` Enrico Weigelt
2007-06-12 17:26           ` Kent Fredric

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=200706071754.53896.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-user@lists.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