public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: This nite's switch to "full multilib"
Date: Mon, 30 Mar 2015 12:15:01 +0000 (UTC)	[thread overview]
Message-ID: <pan.2015.03.30.12.15.01@googlemail.com> (raw)
In-Reply-To: 5519302F.5070906@gmail.com

On Mon, 30 Mar 2015 13:14:55 +0200, Alan McKinnon wrote:

> On 30/03/2015 12:42, Holger Hoffstätte wrote:
>>> You want skype. Skype is 32bit. So far, we're good. You put an entry in
>>> package.use to enable abi_x86_32 for skype.
>> 
>> Except..at that point you would have already failed.
> 
> That does not compute. Please explain.

That was my somewhat categorical way of saying that you'd be repeating
yourself with no benefit. The ebuild already knows that it's 32-bit only,
so making e.g. the user declare the same thing again would be wrong to begin
with. I realize of course that's not how it is done, and that the abi
constraint is a required part of the ebuild for precisely that reason.

That the current transitional situation is a bit messy - fine.

>> There is no good reason whatsoever why portage shouldn't be able to treat
>> this like a transitive required USE flag requirement, percolating through
>> all libs from the toplevel requirement's dependency tree.
> 
> Correct, there is no good reason why portage *can't* do that.
> There is a very good reason why portage *won't* do that, it is not the
> gentoo way and it goes against gentoo's social contract.

That sounds great until you realize that selective capability configuration
(aka USE flags, which I love and agree with!) is not the same as multilib
profile selection.

I really do understand the *idea* of strictly driving system capabilities
from user-defined USE flags, so when you say:

> Portage does not override your choices, and it certainly does not allow
> one single ebuild to automagically change the behaviour of multiple
> other ebuilds. The correct way to bring about changes in behaviour is to
> add your global choices to make.conf (which is outside the control of
> the tree), or to add your explicit changes to package.*

..that just shows the root of the problem: the ABI is not handled
consistently, but rather as a per-package configuration choice.

I already *collectively opted into* the 32-bit parallel universe by
*choosing multilib*. All the current way is doing is repeating that choice
without accomplishing anything, esp. since I cannot reasonably NOT make that
choice. It's a hard requirement if I want to run a certain application.

It's great that Gentoo "gives me choice", but I hope you can see how
not having a certain capability or not runnig an application at all are
two very different shoes.

> I get the sense that those who are complaining about abi_x86_32 in this
> thread are mostly not complaining about what portage does, they are
> complaining about the number of entries they have to make to portage.use

No, they are complaining about the effects of the conflation of concepts,
which ends up first in their config file (either manually or by portage),
and eventually in their face, increasing the possibility of making completely
unrelated mistakes later on.

It also gives the false impression that this is a configuration choice, which
it really isn't (see above).

This also alludes to the secondary aspect I mentioned. Tightly coupling
configuration choices possible in one world to the parallel world is going
to be a real problem moving forward, precisely for the same reason:
conflating a single mechanism for two different worlds with possibly
different hard requirements.

>> In fact it should do so automatically when the ebuild declares the abi_x86_32
>> constraint from the start, without requiring the user to do anything.
> 
> So you want a single ebuild to trigger a tree-wide change in behaviour?

Yes, *because I chose multilib*. That is *exactly* what I want, and - judging
by some of the posts here and in the forums - also what most people seem to
expect.

I'm starting to wonder if it wouldn't be much more economical to provide
prebuilt stacked layers of Docker images for 32-bit compatibility.
That would solve several classes of problems at once, and not pollute the
native Gentoo way with ultimately unsolvable problems.

-h



  reply	other threads:[~2015-03-30 12:15 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-29  9:58 [gentoo-user] This nite's switch to "full multilib" Yanestra
2015-03-29 12:39 ` Rich Freeman
2015-03-29 15:03 ` wabenbau
2015-03-29 15:20   ` Peter Humphrey
2015-03-29 15:57     ` Mick
2015-03-29 16:08   ` Yanestra
2015-03-29 16:21     ` Mick
2015-03-29 16:43       ` wabenbau
2015-03-29 16:58         ` Mick
2015-03-29 17:22           ` wabenbau
2015-03-30  8:57           ` Peter Humphrey
2015-03-29 17:27         ` [gentoo-user] " Michael Palimaka
2015-03-29 18:03           ` Yanestra
2015-03-29 18:23           ` Rich Freeman
2015-03-29 17:07       ` [gentoo-user] " Alan McKinnon
2015-03-29 17:30         ` Mick
2015-03-29 17:53           ` Stefan G. Weichinger
2015-03-29 18:16             ` Alan McKinnon
2015-03-29 22:10               ` Stefan G. Weichinger
2015-03-29 22:39                 ` Yanestra
2015-03-29 22:51                 ` Alan McKinnon
2015-03-30  8:58                   ` Stefan G. Weichinger
2015-03-30  9:23                     ` Mick
2015-03-30  9:39                       ` Alan McKinnon
2015-03-30 10:02                         ` Stefan G. Weichinger
2015-03-30 10:14                           ` Alan McKinnon
2015-03-30 10:42                             ` [gentoo-user] " Holger Hoffstätte
2015-03-30 11:14                               ` Alan McKinnon
2015-03-30 12:15                                 ` Holger Hoffstätte [this message]
2015-03-30 12:44                                   ` Neil Bothwick
2015-03-30 13:04                                     ` Holger Hoffstätte
2015-03-30 14:34                                       ` Neil Bothwick
2015-03-30 15:15                                         ` Peter Humphrey
2015-03-30 19:09                                       ` Alan McKinnon
2015-03-30 19:44                                         ` Fernando Rodriguez
2015-03-30 19:52                                           ` Grant Edwards
2015-04-01 18:20                                             ` Chris Camisa
2015-03-30 19:46                                         ` Grant Edwards
2015-03-30 20:28                                           ` Neil Bothwick
2015-03-30 20:39                                             ` Grant Edwards
2015-04-01 17:28                                 ` Róbert Čerňanský
2015-04-02  4:42                                   ` Sebastian Beßler
2015-04-02  5:21                                     ` Róbert Čerňanský
2015-04-02  8:41                                       ` Neil Bothwick
2015-04-02  9:29                                         ` Róbert Čerňanský
2015-04-02 10:01                                           ` Neil Bothwick
2015-04-02 15:37                                           ` Grant Edwards
2015-04-02 16:24                                             ` Rich Freeman
2015-04-03  8:00                                               ` [gentoo-user] " Stroller
2015-04-03  8:30                                                 ` Dale
2015-04-04  9:39                                                   ` Stroller
2015-04-04 12:33                                                     ` Dale
2015-04-04 22:38                                                       ` Neil Bothwick
2015-04-05  7:24                                                         ` Dale
2015-04-05  9:07                                                           ` Neil Bothwick
2015-04-05  9:41                                                             ` Dale
2015-04-05 12:09                                                               ` Neil Bothwick
2015-04-05 13:27                                                                 ` Rich Freeman
2015-04-05 13:39                                                                   ` Neil Bothwick
2015-04-05 11:21                                                             ` Rich Freeman
2015-04-05 12:12                                                               ` Neil Bothwick
2015-04-05 20:18                                                                 ` [gentoo-user] " James
2015-04-06  8:39                                                         ` [gentoo-user] " Graham Murray
2015-04-04 22:40                                                     ` Neil Bothwick
2015-04-03  9:17                                                 ` Neil Bothwick
2015-04-03  7:52                                             ` Stroller
2015-04-05 21:36                                               ` Fernando Rodriguez
2015-04-02 10:40                                     ` [gentoo-user] " Rich Freeman
2015-03-30 10:31                           ` [gentoo-user] " Neil Bothwick
2015-04-01 17:50                             ` Róbert Čerňanský
2015-04-01 18:05                               ` Rich Freeman
2015-04-02  5:27                                 ` Róbert Čerňanský
2015-04-02  8:32                                 ` Neil Bothwick
2015-03-30 10:57                           ` Rich Freeman
2015-04-02 22:40                       ` Frank Steinmetzger
2015-04-02 23:08                         ` Frank Steinmetzger
2015-04-02 23:25                           ` Mick
2015-04-03  7:57                             ` Stroller
2015-03-30  9:12                   ` Dale
2015-03-30 10:34                     ` Neil Bothwick
2015-03-30 10:59                       ` Dale
2015-03-30 12:40                         ` Neil Bothwick
2015-03-30 13:01                           ` Peter Humphrey
2015-03-30 13:42                           ` Dale
2015-03-30 14:29                             ` Neil Bothwick
2015-03-31  0:46                               ` Dale
2015-03-31  7:30                                 ` Neil Bothwick
2015-03-31 10:13                                 ` Alan McKinnon
2015-03-30 20:01             ` Gevisz
2015-03-29 18:12           ` Alan McKinnon
2015-03-30  9:12             ` Peter Humphrey
2015-03-30 22:23               ` [gentoo-user] " James
2015-04-02  9:31                 ` Peter Humphrey

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=pan.2015.03.30.12.15.01@googlemail.com \
    --to=holger.hoffstaette@googlemail.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