public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: This nite's switch to "full multilib"
Date: Mon, 30 Mar 2015 19:46:54 +0000 (UTC)	[thread overview]
Message-ID: <mfc97e$392$1@ger.gmane.org> (raw)
In-Reply-To: 55199F5A.8040901@gmail.com

On 2015-03-30, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On 30/03/2015 15:04, Holger Hoffstätte wrote:
>> On Mon, 30 Mar 2015 13:44:59 +0100, Neil Bothwick wrote:
>>> On Mon, 30 Mar 2015 12:15:01 +0000 (UTC), Holger Hoffstätte wrote:
>>>
>>>>> 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.
>>>
>>> The news item also showed how to make it a global choice, avoiding the
>>> need to multiple per-package directories.
>> 
>> I'm not sure that's a solution to the problem at all (which is why I
>> didn't do it on my machines either).

If the problem is that you don't want things to be inconsistent, then
it _does_ solve the problem.

>> Apart from always wasting much more work & resources than necessary
>> for no good reason

The reason is that somebody wanted their system to be "consistent." I
don't think that's a particulary good reason, but that's the nice
thing aboug Gentoo.  Everybody gets to decide what is important to
them, and build their system accordingly.

>> it doesn't answer the question what happens as soon as I want to
>> build a package that is 64-bit-only - in which case you'd end up in
>> the same situation we have now, just mirrored.

You can have your system be consistent by setting up everything using
global values in make.conf, or you can choose to override that
consistency by manually enabling/disabling USE variables on a
per-package basis.  That's how Gentoo works and how Gentoo has always
worked.  I don't how this is any different.

> Maybe it's time we asked the multilib devs how they intended to deal
> with these questions you raise.

It seems there are two options:

  1) Add abi_x86_32 on a package-by-package basis (or let emerge do it
     for you when you tell it to install something with 32-bit
     requirements like acroread).

  2) Add ABI_X86="64 32" to make.conf, and then add -abi_x86_32 on a
     package-by-package basis if/when you want to build something
     64-bit-only.

It looks like they intended for you to choose whether you want 32 bit
versions built as the exception or as the rule.  For the former, you
do 1). For the latter, you do 2).  

So far, I'm going with 1).  When I decided to install acroread this
morning, emerge added abi_x86_32 flags to package.use for about 80
packages.  The other option would have re-built about 200 packages.

Either way would have worked, but I wanted to see if emerge really was
able to selectively rebuild the subset of packages required by
acroread.  AFAICT, it did just fine.

-- 
Grant Edwards               grant.b.edwards        Yow! Yes, but will I
                                  at               see the EASTER BUNNY in
                              gmail.com            skintight leather at an
                                                   IRON MAIDEN concert?



  parent reply	other threads:[~2015-03-30 19:47 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
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 [this message]
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='mfc97e$392$1@ger.gmane.org' \
    --to=grant.b.edwards@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