From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Use Flags and Updating
Date: Sat, 07 Jun 2014 01:45:14 +0200 [thread overview]
Message-ID: <5392528A.9020003@gmail.com> (raw)
In-Reply-To: <CAGfcS_k1pnObfGBj=i2pnH4P=2mwbQBobdqHTpiySM+ZGLxFAQ@mail.gmail.com>
On 06/06/2014 12:44, Rich Freeman wrote:
> On Thu, May 22, 2014 at 3:54 AM, Marc Joliet <marcec@gmx.de> wrote:
>> I think nowadays one would prefer --keep-going, which automatically resumes on
>> failure (and recomputes the dependency tree!), and prints a list of failed
>> packages when it's finished. However its output is more verbose than just "ok"
>> and "failed" (it'll print the build.log if it's only one package, IIRC).
>
> Hmm, after using this script for some time I found a problem with this
> approach. If you use --buildpkgonly and ---keep-going then emerge
> won't build a single thing if anything in the list is missing a
> build-time dependency. The script I posted will try to emerge
> everything individually so at least some of the packages will be
> compiled.
>
> That seems like a bug in --buildpkgonly. If you use it with
> --keep-going it should at least compile the packages that aren't
> missing build-time options. I'll file that as a bug if it isn't
> already there...
I don't think it's a bug, it's more like a difference in interpretation.
From the man page:
--buildpkgonly (-B)
Creates binary packages for all ebuilds processed without
actually merging the packages. This comes with the caveat
that all build-time dependencies must already be emerged
on the system.
--keep-going [ y | n ]
Continue as much as possible after an error. When an error
occurs, dependencies are recalculated for remaining pack‐
ages and any with unsatisfied dependencies are automati‐
cally dropped. Also see the related --skipfirst option.
So, decisions about --buildpkgonly are made at the start of an emerge
and --keep-going kicks in only when an error occurs at the end, and the
former must have higher precedence than the latter.
It doesn't make sense to expect portage to change it's behaviour about
it's initial decisions just because you also have an entirely unrelated
option set that is only a convenience in the event of a build failure.
That seems to me too much of an unexpected side effect
--
Alan McKinnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2014-06-06 23:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-20 11:37 [gentoo-user] Use Flags and Updating Hunter Jozwiak
2014-05-20 11:43 ` Alexander Kapshuk
2014-05-20 11:40 ` Hunter Jozwiak
2014-05-20 11:49 ` Alexander Kapshuk
2014-05-20 19:13 ` Matti Nykyri
2014-05-21 13:49 ` Alexander Kapshuk
2014-05-22 2:10 ` ny6p01
2014-05-22 3:11 ` Rich Freeman
2014-05-22 7:54 ` Marc Joliet
2014-05-23 9:22 ` Rich Freeman
2014-06-06 10:44 ` Rich Freeman
2014-06-06 23:45 ` Alan McKinnon [this message]
2014-05-22 9:37 ` Neil Bothwick
2014-05-22 12:00 ` J. Roeleveld
2014-05-20 20:56 ` yac
2014-05-21 13:55 ` Alexander Kapshuk
2014-05-21 16:37 ` Francesco Turco
2014-05-20 11:47 ` Stephan Müller
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=5392528A.9020003@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