Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875581 - sys-apps/portage-3.0.38.1: doesn't show all dependency conflicts
Summary: sys-apps/portage-3.0.38.1: doesn't show all dependency conflicts
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-06 08:50 UTC by Morteza
Modified: 2023-11-03 19:47 UTC (History)
0 users

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 Morteza 2022-10-06 08:50:17 UTC
hey,
I noticed that on my system two package have dependency conflicts and only one of them appeared when i run fully system update
the first is related to syncthing and go 1.19
`
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-lang/go:0

  (dev-lang/go-1.19.2:0/1.19.2::gentoo, ebuild scheduled for merge) USE="" CPU_FLAGS_X86="sse2" conflicts with
    <dev-lang/go-1.19 required by (net-p2p/syncthing-1.19.2:0/0::gentoo, installed) USE="(-selinux) -tools"
    ^            ^^^^
`
there is no other conflict message in full system upgrade

and I found about the second conflicts in glsa-check output which relates to binutils-libs 
I get the following output from `# emerge binutils-libs`
`
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

sys-libs/binutils-libs:0

  (sys-libs/binutils-libs-2.38-r2:0/2.38::gentoo, ebuild scheduled for merge) USE="nls -64-bit-bfd (-cet) -multitarget -static-libs" conflicts with
    sys-libs/binutils-libs:0/2.37=[abi_x86_64(-)] required by (x11-libs/cairo-1.16.0-r5:0/0::gentoo, installed) USE="X glib svg (-aqua) -debug (-gles2-only) -opengl -static-libs -utils -valgrind"
                          ^^^^^^^^
`
In other words portage hides the second conflict message while it should with --verbose

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-06 10:44:14 UTC
It presumably couldn't upgrade just binutils-libs unless you let it upgrade Cairo too. I'm not sure that would've happened on a world upgrade.
Comment 2 Morteza 2022-10-06 11:12:30 UTC
but I use the latest version of cairo equery returns x11-libs/cairo-1.16.0-r5 as installed pacakage
the funny part is that cairo doesn't depend on specific version of binutils-libs
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/cairo/cairo-1.16.0-r5.ebuild#n36
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-06 11:30:55 UTC
(In reply to Morteza from comment #2)
> but I use the latest version of cairo equery returns
> x11-libs/cairo-1.16.0-r5 as installed pacakage
> the funny part is that cairo doesn't depend on specific version of
> binutils-libs
> https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/cairo/cairo-1.16.0-
> r5.ebuild#n36

Don't rely on equery, it's not the package manager.

Yes, Cairo has to be rebuilt on newer Binutils-libs, it doesn't pin to a certain version though.
Comment 4 Morteza 2022-10-06 13:59:04 UTC
(In reply to Sam James from comment #3)
> (In reply to Morteza from comment #2)
> > but I use the latest version of cairo equery returns
> > x11-libs/cairo-1.16.0-r5 as installed pacakage
> > the funny part is that cairo doesn't depend on specific version of
> > binutils-libs
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/cairo/cairo-1.16.0-
> > r5.ebuild#n36
> 
> Don't rely on equery, it's not the package manager.
>

So what should i relay on?

> Yes, Cairo has to be rebuilt on newer Binutils-libs, it doesn't pin to a
> certain version though.

so what should i do?