Summary: | sys-apps/portage: failed emerge invocations can leave the system in an broken state that can cause later emerge invocations to fail unless emerge --update --deep is used | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Hank Leininger <hlein> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=731150 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723 | ||
Attachments: | Log of ocaml emerges starting with dev-lang/ocaml-4.11.1 |
Description
Hank Leininger
2020-10-19 03:19:18 UTC
We may have a problem here: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/dune.eclass#n28 > RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt?]" I wonder if it just failed to get around to rebuilding it or if it completely missed the need to rebuild it. The former is a really irritating known likely-bug: bug 625160. We should probably have a subslot exposed in its dependency stdlib-shims at least, and possibly ounit (I think it gets built against, not just used for running). But I don't know if this would have fixed the problem... I'll CC dev-portage@ because this recurring set of issues with rebuilds not happening, for one reason or another, is concerning, but I might be missing something obvious in this particular case too. (In reply to Hank Leininger from comment #0) > tl;dr: $Summary > > On a particular system, I had over previous months/weeks done: > > - upgrade ocaml to dev-lang/ocaml-4.09.0 > - upgrade camomile to dev-ml/camomile-0.8.5-r2 > - upgrade ocaml-fileutils to dev-ml/ocaml-fileutils-0.6.2 > - upgrade ocaml-gettext to dev-ml/ocaml-gettext-0.3.7-r1 > > and then... > - upgrade ocaml to dev-lang/ocaml-4.11.1 Can we see the portion of your /var/log/emerge.log corresponding to the dev-lang/ocaml-4.11.1 upgrade? (In reply to Zac Medico from comment #2) > (In reply to Hank Leininger from comment #0) > > tl;dr: $Summary > > > > On a particular system, I had over previous months/weeks done: > > > > - upgrade ocaml to dev-lang/ocaml-4.09.0 > > - upgrade camomile to dev-ml/camomile-0.8.5-r2 > > - upgrade ocaml-fileutils to dev-ml/ocaml-fileutils-0.6.2 > > - upgrade ocaml-gettext to dev-ml/ocaml-gettext-0.3.7-r1 > > > > and then... > > - upgrade ocaml to dev-lang/ocaml-4.11.1 > > Can we see the portion of your /var/log/emerge.log corresponding to the > dev-lang/ocaml-4.11.1 upgrade? Sure, I'll attach a slightly pruned/redacted version of: egrep 'Started emerge on:| \*\*\* |dev-lang/ocaml|dev-ml/' /var/log/emerge.log | egrep -B2 -A1000 'dev-lang/ocaml-4\.1' >~/emerge_ocaml.log Created attachment 667214 [details]
Log of ocaml emerges starting with dev-lang/ocaml-4.11.1
(In reply to Hank Leininger from comment #4) > Created attachment 667214 [details] > Log of ocaml emerges starting with dev-lang/ocaml-4.11.1 The dev-ml/ocaml-fileutils-0.6.2 rebuild would have been scheduled during the emerge invocation that upgraded dev-lang/ocaml-4.11.1. However, that emerge invocation exited prematurely here: 1602879477: === (102 of 269) Cleaning (dev-ml/camomile-0.8.5-r2::[snip]/camomile-0.8.5-r2.ebuild) 1602879477: === (102 of 269) Compiling/Merging (dev-ml/camomile-0.8.5-r2::[snip]/camomile-0.8.5-r2.ebuild) 1602879492: *** Finished. Cleaning up... 1602879492: *** exiting unsuccessfully with status '1'. 1602879498: *** terminating. Then you ran this command which is does not emerge options that would trigger that rebuild: 1603062122: Started emerge on: Oct 18, 2020 17:02:01 1603062122: *** emerge --oneshot --ask --regex-search-auto=y --verbose camomile ocaml-gettext You need to use the --deep option in order to account for dependencies of installed packages. (In reply to Zac Medico from comment #5) > (In reply to Hank Leininger from comment #4) > > Created attachment 667214 [details] > > Log of ocaml emerges starting with dev-lang/ocaml-4.11.1 > > The dev-ml/ocaml-fileutils-0.6.2 rebuild would have been scheduled during > the emerge invocation that upgraded dev-lang/ocaml-4.11.1. However, that > emerge invocation exited prematurely here: [snip] > > Then you ran this command which is does not emerge options that would > trigger that rebuild: > > 1603062122: Started emerge on: Oct 18, 2020 17:02:01 > 1603062122: *** emerge --oneshot --ask --regex-search-auto=y --verbose > camomile ocaml-gettext > > You need to use the --deep option in order to account for dependencies of > installed packages. Aha, good call! When trying again to get past something that failed during a world update, I am not in the habit of including --deep to try again on the fixed things. I need to be! Thank you for looking. |