Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598503 - sys-apps/portage: emerge dependency calculation failures could filter out noise from conflicts involving built slot operator deps
Summary: sys-apps/portage: emerge dependency calculation failures could filter out noi...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal
Assignee: Portage team
URL: https://wiki.gentoo.org/wiki/Project:...
Whiteboard:
Keywords:
: 674886 (view as bug list)
Depends on:
Blocks: 300071
  Show dependency tree
 
Reported: 2016-10-30 07:08 UTC by Zac Medico
Modified: 2024-01-16 11:26 UTC (History)
11 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 Zac Medico gentoo-dev 2016-10-30 07:08:47 UTC
When a dependency calculation fails, it's common for emerge to output a bunch of slot conflicts involving built slot operator deps, even though those conflicts may be solvable after other issues have been resolved. This noise makes it difficult for users to recognize the issues really require attention.

If emerge would filter out noise from conflicts involving built slot operator deps, then it would help users to focus on the issues that really require their attention. For example, this might be implemented by automatically retrying a calculation as though --ignore-built-slot-operator-deps=y had been enabled.
Comment 1 Zac Medico gentoo-dev 2016-10-30 07:13:00 UTC
(In reply to Zac Medico from comment #0)
> For example, this might be implemented by automatically retrying a calculation
> as though --ignore-built-slot-operator-deps=y had been enabled.

Or maybe it should even try that first, so that it can fail earlier it that calculation detects a problem.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-10-30 07:28:52 UTC
You're entering a slippery ground here. Remember that slot rebuilds can trigger actions that otherwise wouldn't be triggered -- e.g. downgrades due to missing/masked installed packages or rebuilds of packages outside @world. This can have major effects on resulting dependency tree.
Comment 3 Pacho Ramos gentoo-dev 2016-10-30 07:58:01 UTC
This could be similar to:
https://bugs.gentoo.org/show_bug.cgi?id=478368#c4

And maybe changing the order of the output would still help, I mean, pushing the conflicts that are not related with the build slot issues to the end of the output to ensure the user handles that errors first
Comment 4 Zac Medico gentoo-dev 2017-06-08 16:05:52 UTC
As first step, we could integrate some of the FAQ information into the emerge man page description of --ignore-built-slot-operator-deps=y. We might even make emerge suggest to use --ignore-built-slot-operator-deps=y when it detects conflicts involving built slot operator deps.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2019-01-10 17:38:26 UTC
*** Bug 674886 has been marked as a duplicate of this bug. ***
Comment 6 Nowa Ammerlaan gentoo-dev 2024-01-16 11:25:15 UTC
And the issue with rust is caused by:

!elibc_glibc? (
	|| (
		dev-lang/rust
		<dev-lang/rust-bin-1.73
	)
)

in firefox. 

This is a bit weird because I had the non-bin version of rust to begin with, then I got stuck in this loop where portage insisted on pulling in rust-bin and was not happy with the version of rust non-bin I had.
Comment 7 Nowa Ammerlaan gentoo-dev 2024-01-16 11:26:53 UTC
Oops, that comment should have been added to Bug 915494. But I had to many tabs open and messed up.