Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 669156

Summary: sys-apps/portage: emerge should report multiple dependencies that trigger autounmask USE changes
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra, kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=419381
https://bugs.gentoo.org/show_bug.cgi?id=748456
https://bugs.gentoo.org/show_bug.cgi?id=164457
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 376695    

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.