Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916619 - portage: conflicts with missing argument should more clearly emphasise the missing package(s), not bury it in middle of list
Summary: portage: conflicts with missing argument should more clearly emphasise the mi...
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:
 
Reported: 2023-11-01 11:18 UTC by Mart Raudsepp
Modified: 2023-11-01 20:56 UTC (History)
0 users

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


Attachments
Ordering issue example (llvm-backtrack.txt,16.27 KB, text/plain)
2023-11-01 11:18 UTC, Mart Raudsepp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2023-11-01 11:18:36 UTC
Created attachment 873814 [details]
Ordering issue example

When upgrading llvm along with other things, I missed lldb from outside @world upgrade run, but the output was very verbose and hard to spot the issue.
It outputs issues between clang and llvm 19 times (where each takes several lines on a terminal) and the real issue is somewhere in the middle, buried in the spam.
The spam happens due to all the different LLVM_TARGETS constraints that portage decides to list one by one instead of at once, which is a separate thing I understand is already on the radar or something separately.

Sam thinks there are improvements possible here in terms of the ordering of this output that you can see attached.
Comment 1 Zac Medico gentoo-dev 2023-11-01 16:25:21 UTC
The clang deps do specify each target separately like this:

  llvm_targets_AArch64? ( ~sys-devel/llvm-17.0.3[llvm_targets_AArch64] )

Portage could group them by parent, and could possibly even merge multiple targets into a single atom, though merged atoms could be a little confusing since they differ from what the ebuild specified.
Comment 2 Mart Raudsepp gentoo-dev 2023-11-01 20:56:26 UTC
So separately, maybe llvm.org.eclass could build the dep atom a bit differently.