From: Tom Wijsman <TomWij@gentoo.org>
To: mattst88@gentoo.org
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Please consider removing use.stable.mask and package.use.stable.mask
Date: Fri, 15 Nov 2013 22:38:21 +0100 [thread overview]
Message-ID: <20131115223821.463e5b0c@TOMWIJ-GENTOO> (raw)
In-Reply-To: <CAEdQ38GZYC+6W5=eRfsx8YW4cMFzZ_2E4dbbrvn+JZXo2od=aw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4675 bytes --]
On Fri, 15 Nov 2013 13:21:53 -0800
Matt Turner <mattst88@gentoo.org> wrote:
> On Fri, Nov 15, 2013 at 12:53 PM, Tom Wijsman <TomWij@gentoo.org>
> wrote:
> > On Fri, 15 Nov 2013 12:25:47 -0800
> > Matt Turner <mattst88@gentoo.org> wrote:
> >
> >> On Fri, Nov 15, 2013 at 12:00 PM, Tom Wijsman <TomWij@gentoo.org>
> >> wrote:
> >> Imagine I had simply forgotten to unmask the abi_x86_32 USE flag
> >> for kbproto but was attempting to emerge unstable (or unmasked
> >> abi_x86_32) libXt. In fact, if I un-unmask kbproto (so that
> >> abi_x86_32 is masked), unmerge kbproto and attempt to emerge libXt:
> >>
> >> [...]
> >>
> >> emerge: there are no ebuilds built with USE flags to satisfy
> >> "x11-proto/kbproto[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]".
> >> !!! One of the following packages is required to complete your
> >> request:
> >> - x11-libs/libXt-1.1.4::gentoo (Change USE: -abi_x86_32)
> >> (dependency required by "x11-libs/libXt-1.1.4" [ebuild])
> >> (dependency required by "libXt" [argument])
> >>
> >> It suggests that I turn off abi_x86_32 for libXt rather than
> >> telling me to turn the flag on for kbproto!
> >
> > Why should it literally suggest you to do something known to be
> > broken?
>
> I don't know what you mean. kbproto[abi_x86_32] isn't known to be
> broken. You're asking a really weird question based on some implicit
> context that's not available to me.
A mask implies something is broken (or experimental).
> I'm claiming in this example that attempting to emerge
> libXt[abi_x86_32], portage should tell you that abi_x86_32 should be
> set for kbproto, rather than telling you to unset abi_x86_32 for libXt
> (which you're requesting to be emerged, damn it!).
You have to be explicit when you want broken (or experimental) things;
just emerging it isn't enough, taking a step further than that is.
I'm not sure if making broken (or experimental) things more easily
available or a suggestion would be a good idea; people already have
enough trouble as it is, adding more doesn't seem to be the right way.
> > It is clear from the output how it wants the dependency to be; so,
> > if you want to do something different, you can and the output tells
> > enough.
> >
> > Due to the complexity of the dependency, you will need `man 5
> > ebuild` though; (-) means to assume it as disabled if it doesn't
> > exist.
> >
> >> Portage prints other things intelligently:
> >>
> >> mattst88@dynamic71 ~ % FEATURES=test emerge dev-python/py -vp
> >>
> >> These are the packages that would be merged, in order:
> >>
> >> Calculating dependencies... done!
> >>
> >>
> >> [nomerge ] dev-python/py-1.4.13 USE="{test}"
> >> PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
> >> (-python3_3)"
> >> [ebuild N ] dev-python/pytest-2.3.5 USE="{test} -doc"
> >> PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
> >> (-python3_3)" 417 kB
> >> [ebuild N ] dev-python/py-1.4.13 USE="{test}"
> >> PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
> >> (-python3_3)" 185 kB
> >>
> >> Total: 2 packages (2 new), Size of downloads: 602 kB
> >>
> >> * Error: circular dependencies:
> >>
> >> (dev-python/py-1.4.13::gentoo, ebuild scheduled for merge) depends
> >> on (dev-python/pytest-2.3.5::gentoo, ebuild scheduled for merge)
> >> (buildtime) (dev-python/py-1.4.13::gentoo, ebuild scheduled for
> >> merge) (buildtime)
> >>
> >> It might be possible to break this cycle
> >> by applying the following change:
> >> - dev-python/py-1.4.13 (Change USE: -test)
> >>
> >> Note that this change can be reverted, once the package has been
> >> installed.
> >
> > This is just like how you can't compile gcc without having compiled
> > gcc with another compiler first (or used a binpkg, or obtained from
> > stage3); thus, similarly, you can't test py without having pytest
> > first etc...
>
> I don't think you understood my intention for giving this example.
> Portage correctly figures out the proper solution and suggests it. I'm
> saying that this is a good thing.
Now the question is whether this is or isn't an opposite example;
because it might very well be intelligent, that doesn't mean that the
other example isn't intelligent. As we trying to make that clear, this
example doesn't really fit; so, I didn't assume it to be opposite.
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : TomWij@gentoo.org
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next prev parent reply other threads:[~2013-11-15 21:39 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 ` [gentoo-dev] " Matt Turner
2013-11-15 5:23 ` 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 [this message]
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=20131115223821.463e5b0c@TOMWIJ-GENTOO \
--to=tomwij@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=mattst88@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