Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629952 - portage --keep-going=y continues to proceed with subslot rebuilds even if the subslot change causing the rebuilds has failed
Summary: portage --keep-going=y continues to proceed with subslot rebuilds even if the...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 654254 822102 (view as bug list)
Depends on:
Blocks: 373807
  Show dependency tree
 
Reported: 2017-09-05 11:57 UTC by Alexis Ballier
Modified: 2022-06-20 04:31 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2017-09-05 11:57:39 UTC
Noticed with bug #629848:

- boost update causes a long list of subslot rebuilds here
- boost fails to build, so the subslot change does not happen
- I use keep-going=y and portage continues to proceed with the, now completely useless, := rebuilds caused by the boost upgrade
Comment 1 Zac Medico gentoo-dev 2017-09-05 20:58:59 UTC
This is related to 463976 in the sense the emerge doesn't remember *why* it is performing rebuilds.
Comment 2 Alexis Ballier gentoo-dev 2017-09-06 07:07:46 UTC
(In reply to Zac Medico from comment #1)
> This is related to 463976 in the sense the emerge doesn't remember *why* it
> is performing rebuilds.

For keep-going, isn't all the logic already in place ? In the sense that keep-going properly skips packages depending on one that has failed; rebuilds caused by subslots could simply be marked as depending on the package having its subslot change and then those would be skipped ?
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-04-29 00:36:11 UTC
*** Bug 654254 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2020-09-16 17:33:11 UTC
(In reply to Alexis Ballier from comment #2)
> (In reply to Zac Medico from comment #1)
> > This is related to 463976 in the sense the emerge doesn't remember *why* it
> > is performing rebuilds.
> 
> For keep-going, isn't all the logic already in place ? In the sense that
> keep-going properly skips packages depending on one that has failed;
> rebuilds caused by subslots could simply be marked as depending on the
> package having its subslot change and then those would be skipped ?

It currently reconstructs the merge list and dependency graph from the (incomplete) information available in /var/cache/edb/mtimedb (same as --resume). So, the reason for any given rebuild that existed in the original merge list is not available. Well have to come up with some way to propagate that information to the new dependency calculation.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-05 07:37:01 UTC
*** Bug 822102 has been marked as a duplicate of this bug. ***