Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669156 - sys-apps/portage: emerge should report multiple dependencies that trigger autounmask USE changes
Summary: sys-apps/portage: emerge should report multiple dependencies that trigger aut...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autounmask
  Show dependency tree
 
Reported: 2018-10-21 00:10 UTC by Zac Medico
Modified: 2021-05-09 18:19 UTC (History)
2 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 2018-10-21 00:10:32 UTC
In this output it's unclear why autounmask has enabled USE=gold for sys-devel/llvm:

> These are the packages that would be merged, in reverse order:
> 
> [nomerge       ] sys-devel/llvm-7.0.0-r1:7::gentoo  USE="gold* libffi ncurses xml -debug -doc -exegesis -libedit -test -xar" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU ARM BPF NVPTX (X86) -AArch64 -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" 
> [ebuild  N     ]  sys-devel/llvmgold-7::gentoo  0 KiB
> [ebuild   R    ]   sys-devel/llvm-7.0.0-r1:7::gentoo  USE="gold* libffi ncurses xml -debug -doc -exegesis -libedit -test -xar" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU ARM BPF NVPTX (X86) -AArch64 -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" 0 KiB
> 
> The following USE changes are necessary to proceed:
>  (see "package.use" in the portage(5) man page for more details)
> # required by sys-devel/llvmgold-7::gentoo
> >=sys-devel/llvm-7.0.0-r1 gold
Comment 1 Zac Medico gentoo-dev 2018-10-21 00:16:19 UTC
The case shown in comment #0 may involve multiple dependencies, so it would be nice to allow for multiple parents to be displayed. Since this implies multiple dependency chains, it would be a good start to simply show multiple direct parent dependencies that triggered the USE change.
Comment 2 Zac Medico gentoo-dev 2018-10-21 00:22:47 UTC
Since autounmask currently displays the dependency chain on a single line, the output could be extended to have a separate line for each dependency chain.