From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: do subslots improve user-experience?
Date: Tue, 05 Nov 2013 12:14:59 +0200 [thread overview]
Message-ID: <5278C523.8070906@gmail.com> (raw)
In-Reply-To: <E1VddJM-0002OW-BJ@lounge.imp.fu-berlin.de>
On 05/11/2013 11:52, Martin Vaeth wrote:
> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>> You know what? I'm not convinced.
>>
>> What I'm seeing is a rather large towering edifice of complexity to deal
>> with a problem that is not the general case.
>
> I find it funny that perhaps you did not realize that you repeated
> the main argument *in favour of subslots* on the dev mailing list:
It seems to me that you didn't read the whole post fully, and have
cherry-picked a part that you think bolsters your position. It does not.
So I will repeat myself in a different way.
I've run emerge -e world with the result of correcting something perhaps
2 or 3 times in 8 years. Let's assume that in the absence of portage
being able to detect those nasty errors, that this is reasonably
representative of the actual incidence of actual errors I encountered.
Let's then be generous and triple it.
In effect subslots appear to fix something for me about once a year. Is
my logic^Wguess flawed in any way?
So now we have a rather large complex system that deals with what is
essentially a minor problem that occurs say once a year.
I completely understand the problem sub-slots is trying to solve. I'm
just wondering if the methodology you are using to do it is valid, and
if it does not become the cure that is worse than the disease.
Consider for a moment the maintenance burden imposed on ebuild
maintainers, and how sub-slot notation is essentially added by humans
deploying human brains. And remember that humans are notoriously bad at
using mathematically correct solutions (they ... err ... forget to do
stuff).
sub-slots, whilst quite likely mathematically correct, has all the
hallmarks to me of SOMETHING THAT IS GOING TO FAIL DUE TO HUMANS. And
humans seldom do those things that they should do . If this were not so,
php would never have been written (just an arb random example)
I predict once a week fallout from sub-slots induced bugs that was
intended to fix once a year problem.
Do you now see why I'm not convinced this is a real-world solution?
>
> Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>
> [ about emerge -e @world ]
>
>> I've used this once or twice over the years to take care of inexplicable
>> instability [...]
>
> In fact, I bet that many gentoo users had the experience several times
> over the years that reemerging the same(!) version of some package
> mysteriously solves some problem.
>
>> I strongly suspect the actual cause was inconsistencies around plug-in
>> modules - the only thing I know of that portage and tools like
>> revdep-rebuild can't really detect.
>
> As I have just tried to explain, the cause was more likely the change
> of some ABI without a change of the library version: revdep-rebuild can
> only detect version changes, and there are some libraries like poppler
> or neon (but probably many more I do not know) where upstream regularly
> does such "tacit" ABI changes as a policy.
>
> This was the main reason for introducing subslots!
>
> (That it avoids using revdep-rebuild in many cases or calling things
> like @x11-module-rebuild, python-updater, perl-updater, ... is only
> a convenient side effect.
> Subslots solve the plug-in modules problem, too, of course.)
>
> With subslots emerge -e @world will in the long run never be necessary
> anymore to get stability (it might of course still be necessary due to
> a major toolchain change; also it does not catch cases where a
> "tacit" ABI change happened by mistake and the developers failed to
> see it.)
>
> Note, however, "in the long run": The process of transforming all
> packages to subslot dependencies is not yet complete.
> I guess it will take many years until it is: Up to some corner cases
> you can check whether the process is complete for your system when
> (
> cd -- "$(portageq portdir)/metadata/md5-cache"
> grep -L '^EAPI=\([5-9]\|[1-9][0-9]\)' $(qlist -ICv)
> )
> does not output anything.
>
--
Alan McKinnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2013-11-05 10:15 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-02 12:04 [gentoo-user] do subslots improve user-experience? hasufell
2013-11-02 12:31 ` Philip Webb
2013-11-02 13:16 ` Alan McKinnon
2013-11-03 19:07 ` [gentoo-user] " Martin Vaeth
2013-11-03 19:23 ` hasufell
2013-11-04 7:46 ` Martin Vaeth
2013-11-03 19:55 ` Alan McKinnon
2013-11-05 9:52 ` Martin Vaeth
2013-11-05 10:04 ` Peter Humphrey
2013-11-05 10:14 ` Alan McKinnon [this message]
2013-11-05 12:11 ` Marc Joliet
2013-11-05 14:44 ` Alan McKinnon
2013-11-05 15:21 ` Bruce Hill
2013-11-05 19:47 ` Alan McKinnon
2013-11-06 11:50 ` Marc Joliet
2013-11-06 12:54 ` Martin Vaeth
2013-11-06 18:15 ` Alan McKinnon
2013-11-07 6:26 ` Martin Vaeth
2013-11-05 18:06 ` Martin Vaeth
2013-11-05 19:59 ` Alan McKinnon
2013-11-06 7:46 ` Martin Vaeth
2013-11-06 13:11 ` Alan McKinnon
2013-11-07 6:16 ` Martin Vaeth
2013-11-02 15:32 ` [gentoo-user] " Daniel Campbell
2013-11-02 16:14 ` Dustin C. Hatch
2013-11-02 17:07 ` Daniel Frey
2013-11-02 19:56 ` Volker Armin Hemmann
2013-11-02 20:33 ` thegeezer
2013-11-02 21:26 ` Neil Bothwick
2013-11-03 0:38 ` [gentoo-user] " walt
2013-11-03 10:16 ` Neil Bothwick
2013-11-05 13:29 ` [gentoo-user] " Bruce Hill
2013-11-05 14:29 ` Bruce Hill
2013-11-05 21:28 ` Neil Bothwick
2013-11-05 21:38 ` Bruce Hill
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=5278C523.8070906@gmail.com \
--to=alan.mckinnon@gmail.com \
--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