public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matt Turner <mattst88@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Please consider removing use.stable.mask and package.use.stable.mask
Date: Thu, 14 Nov 2013 20:56:32 -0800	[thread overview]
Message-ID: <CAEdQ38GuN0s8K9SLbevhTL6AM=1oWKdpjGVGiR2JOC1mQ1VdxQ@mail.gmail.com> (raw)
In-Reply-To: <slrnl86l1s.j7e.vaeth@lounge.imp.fu-berlin.de>

On Wed, Nov 13, 2013 at 2:28 AM, Martin Vaeth
<vaeth@mathematik.uni-wuerzburg.de> wrote:
> The new "features" use.stable.mask and package.use.stable.mask
> have turned maintaining systems with mixed ARCH and ~ARCH keywords
> into a nightmare:

I agree. I have helped two friends convert to Gentoo recently (one
used it a few years ago). They both came from Arch, and one told me
that before he resumed using Gentoo recently he considered these two
distros in the same category in terms of difficulty of use and
maintenance. After using it for a month, he's now convinced that
Gentoo is clearly the most difficult to use.

I'm inclined to agree, and I think in large part recently it's because
of use.stable.mask and package.use.stable.mask. These really are a
nightmare for users. Heck, they're really a nightmare for me and I've
been using Gentoo for nine years and feel like I have a pretty good
ability to decipher portage's error messages.

I think most of the confusion is caused by the necessity to put a
*stable* package atom into package.keywords to unmask a *USE* flag.
(Am I doing something wrong that would prevent 'x11-proto/kbproto
-abi_x86_32' in /etc/portage/package.use.stable.mask from
un-stable-masking the abi_x86_32 USE flag for kbproto?)

And then in addition, we did really weird things like stabilizing
package versions whose only difference from the previous is that it
supports multilib (e.g., kbproto-1.0.6 vs kbproto-1.0.6-r1). Except
that it's package.use.stable.mask'd. So you have to keyword a stable
package to get its only defining feature. (Why did we stabilize it in
the first place?)

Portage correctly shows that unstable USE flags are masked by printing
parenthesis around them, like use.mask'd flags, but the error messages
are really unhelpful. Take for instance dropping the stable
=x11-proto/kbproto-1.0.6-r1 from package.keywords, in order implicitly
mask the abi_x86_32. Attempting to merge =x11-proto/kbproto-1.0.6-r1
results in:

x11-proto/kbproto:0

  (x11-proto/kbproto-1.0.6-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (x11-proto/kbproto-1.0.6-r1::gentoo, installed) pulled in by
    x11-proto/kbproto[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]
required by (x11-libs/libX11-1.6.2::gentoo, installed)
    x11-proto/kbproto[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]
required by (x11-libs/libXt-1.1.4::gentoo, installed)

There's a single problem. It can't enable abi_x86_32. Why didn't it
just say that?

You could even go beyond this and explain why it can't do it, but at
this point I'd settle for a concise explanation of *what* it can't do.


  parent reply	other threads:[~2013-11-15  4:57 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13 10:28 [gentoo-dev] Please consider removing use.stable.mask and package.use.stable.mask Martin Vaeth
2013-11-13 11:39 ` Tom Wijsman
2013-11-13 13:25   ` Thomas Kahle
2013-11-13 13:37     ` Rich Freeman
2013-11-13 14:00       ` Tom Wijsman
2013-11-13 14:30       ` [gentoo-dev] " Duncan
2013-11-13 14:55         ` Thomas Kahle
2013-11-13 15:16           ` Ian Stakenvicius
2013-11-13 18:56             ` Daniel Campbell
2013-11-13 20:21               ` James Potts
2013-11-13 21:22                 ` Kent Fredric
2013-11-17 10:20                   ` Sergey Popov
2013-11-13 13:56     ` [gentoo-dev] " Tom Wijsman
2013-11-13 14:38       ` [gentoo-dev] " Martin Vaeth
2013-11-13 14:04   ` Martin Vaeth
2013-11-13 14:10 ` [gentoo-dev] " Michał Górny
2013-11-13 15:02   ` Ian Stakenvicius
2013-11-13 15:58     ` Rich Freeman
2013-11-13 23:49     ` Patrick Lauer
2013-11-14  5:13       ` Michał Górny
2013-11-14 12:03         ` Patrick Lauer
2013-11-14 12:13           ` Rich Freeman
2013-11-14 12:30             ` Patrick Lauer
2013-11-14 12:45               ` Rich Freeman
2013-11-14 19:07             ` Thomas Sachau
2013-11-14 19:35               ` Ciaran McCreesh
2013-11-14 23:40                 ` Patrick Lauer
2013-11-14 17:51           ` Michał Górny
2013-11-14 23:38             ` Patrick Lauer
2013-11-14 12:21         ` Ben de Groot
2013-11-14 12:32           ` Rich Freeman
2013-11-14 12:57             ` Ben de Groot
2013-11-14 15:12               ` Rich Freeman
2013-11-14 16:38                 ` Ben de Groot
2013-11-14 17:32                   ` Rich Freeman
2013-11-15  6:53                     ` Ben de Groot
2013-11-15  7:13                       ` Ulrich Mueller
2013-11-15 11:08                         ` [gentoo-dev] " Duncan
2013-11-15 14:30                           ` Ian Stakenvicius
2013-11-15 15:30                             ` Duncan
2013-11-15 12:14                         ` [gentoo-dev] " Patrick Lauer
2013-11-15 14:27                         ` Ian Stakenvicius
2013-11-15 13:33                       ` Rich Freeman
2013-11-15 22:39                       ` Michał Górny
2013-11-15 23:06                         ` Tom Wijsman
2013-11-16  8:22                         ` Pacho Ramos
2013-11-16 10:57                           ` Thomas Sachau
2013-11-17 16:09                             ` hasufell
2013-11-17 16:35                               ` Tom Wijsman
2013-11-17 16:52                             ` Ciaran McCreesh
2013-11-16 12:39                           ` [gentoo-dev] " Martin Vaeth
2013-11-16 12:46                             ` Michał Górny
2013-11-16 20:24                             ` Kent Fredric
2013-11-16 21:52                               ` Michał Górny
2013-11-17  0:53                                 ` Kent Fredric
2013-11-16 22:52                             ` Duncan
2013-11-13 15:23   ` Martin Vaeth
2013-11-13 15:41     ` Mike Gilbert
2013-11-14  0:11       ` Tom Wijsman
2013-11-13 15:42     ` Kent Fredric
2013-11-13 16:05       ` Martin Vaeth
2013-11-13 17:05         ` "Paweł Hajdan, Jr."
2013-11-13 15:44     ` Michał Górny
2013-11-13 16:52       ` Martin Vaeth
2013-11-13 17:03       ` Peter Stuge
2013-11-13 17:49         ` Rich Freeman
2013-11-13 18:24           ` Peter Stuge
2013-11-13 18:50             ` Rich Freeman
2013-11-15  4:56 ` Matt Turner [this message]
2013-11-15  5:23   ` [gentoo-dev] " Kent Fredric
2013-11-15 15:54   ` Peter Stuge
2013-11-15 16:05     ` Ian Stakenvicius
2013-11-15 20:18       ` [gentoo-dev] " Martin Vaeth
2013-11-15 20:22         ` Peter Stuge
2013-11-16 12:46         ` Andreas K. Huettel
2013-11-17 17:04           ` Martin Vaeth
2013-11-17 17:15             ` Michał Górny
2013-11-17 18:46               ` Martin Vaeth
2013-11-17 19:32                 ` hasufell
2013-11-17 20:16                   ` Tom Wijsman
2013-11-17 17:24             ` Tom Wijsman
2013-11-17 19:10               ` Martin Vaeth
2013-11-17 19:57                 ` Tom Wijsman
2013-11-17 18:56             ` Ian Stakenvicius
2013-11-17 19:18               ` Martin Vaeth
2013-11-17 19:27                 ` Michał Górny
2013-11-17 19:51                   ` Martin Vaeth
2013-11-17 21:41                     ` Andreas K. Huettel
2013-11-16 12:50         ` Andreas K. Huettel
2013-11-16 12:58           ` Michał Górny
2013-11-17 18:13             ` Andreas K. Huettel
2013-11-17 18:18               ` Michał Górny
2013-11-15 19:24   ` [gentoo-dev] " Tom Wijsman
2013-11-15 19:24   ` Tom Wijsman
2013-11-15 19:31     ` Ian Stakenvicius
2013-11-15 19:36     ` Matt Turner
2013-11-15 20:00   ` Tom Wijsman
2013-11-15 20:10     ` Peter Stuge
2013-11-15 20:24       ` Tom Wijsman
2013-11-15 20:25     ` Matt Turner
2013-11-15 20:53       ` Tom Wijsman
2013-11-15 21:09         ` Peter Stuge
2013-11-15 21:27           ` Tom Wijsman
2013-11-15 21:21         ` Matt Turner
2013-11-15 21:38           ` Tom Wijsman
2013-11-15 21:45             ` Matt Turner
2013-11-15 22:08               ` Tom Wijsman
2013-11-15 21:57             ` Peter Stuge
2013-11-15 22:13               ` Tom Wijsman
2013-11-15 22:26                 ` Peter Stuge
2013-11-15 22:58                   ` Tom Wijsman

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='CAEdQ38GuN0s8K9SLbevhTL6AM=1oWKdpjGVGiR2JOC1mQ1VdxQ@mail.gmail.com' \
    --to=mattst88@gentoo.org \
    --cc=gentoo-dev@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