public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mickaël Bucas" <mbucas@gmail.com>
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Portage: Complaining about multiple incidents at once
Date: Sun, 19 Apr 2020 22:16:15 +0200	[thread overview]
Message-ID: <CAG1=SYQEQPFzRLWmNTXBNEVBH6BO5n_S6su2=-fjWoDSUObkew@mail.gmail.com> (raw)
In-Reply-To: <1742859.QZUTf85G27@falbala>

Le dim. 19 avr. 2020 à 13:03, Gerion Entrup <gerion.entrup@flump.de> a écrit :
>
> Hi,
>
> does Portage have a "don't stop" mode?
>
> With that I mean the following:
> I'm doing updates with
> emerge -auND world --keep-going --quiet-build --verbose-conflicts
>
> Portage then often stops, saying a dependency keyword is missing or a
> useflag etc. However, this always happens incident after incident, so I
> need to run portage multiple times.
>
> Is there a way to instruct portage to just say: "Ok, here is a
> configuration fix necessary, maybe a use flag must be added, but let's
> assume, the user does this and the use flag is set now. What do I need
> to do next."
>
> Without checking it, this behaviour seems to be more the case in prior
> portage version (complaining about multiple incidents at once).
>
> Best,
> Gerion

Hi Gerion

I believe that what you are looking for are the options starting with
--autounmask, which affect the initial analysis of the build tree,
which is the source of the complaints about missing keywords or USE
flags.
The --keep-going option does a great job at continuing to build other
packages when one build fails.

There are a bunch of them so I don't know how much you'd like to use
but it seems tailored to go forward in almost any situation !
They are well described in "man emerge"
--autounmask [ y | n ]
--autounmask-backtrack < y | n >
--autounmask-continue [ y | n ]
--autounmask-only [ y | n ]
--autounmask-unrestricted-atoms [ y | n ]
--autounmask-keep-keywords [ y | n ]
--autounmask-keep-masks [ y | n ]
--autounmask-license < y | n >
--autounmask-use < y | n >
--autounmask-write [ y | n ]

Adding --backtrack=COUNT with COUNT > 10 (the default value) may push
Portage to look forward a bit more.

However, as I don't use them, I don't know what stability you could
expect from your system after activating any or all of them.

Best regards
Mickaël Bucas


      parent reply	other threads:[~2020-04-19 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 11:03 [gentoo-user] Portage: Complaining about multiple incidents at once Gerion Entrup
2020-04-19 11:28 ` Ashley Dixon
2020-04-19 20:16 ` Mickaël Bucas [this message]

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='CAG1=SYQEQPFzRLWmNTXBNEVBH6BO5n_S6su2=-fjWoDSUObkew@mail.gmail.com' \
    --to=mbucas@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