Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685652 - x11-libs/libva-compat circular dependency
Summary: x11-libs/libva-compat circular dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 18:34 UTC by Pedro
Modified: 2019-05-12 12:36 UTC (History)
2 users (show)

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


Attachments
Log of emerge -pv libva-compat (emerge.log,1.66 KB, text/x-log)
2019-05-11 19:41 UTC, Pedro
Details
emerge --info output (emerge_info.log,6.25 KB, text/x-log)
2019-05-11 19:41 UTC, Pedro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro 2019-05-11 18:34:25 UTC
I've seen a circular dependency over the following packages:
- x11-libs/libva-compat
- x11-libs/libva-vdpau-driver
- x11-libs/libva

Basically if you try to emerge x11-libs/libva-compat with nvidia, nouveau or vdpau will try to pull x11-libs/libva-vdpau-driver, but x11-libs/libva-vdpau-driver requires x11-libs/libva, which conflicts with x11-libs/libva-compat and creates a block which I'm not able to find a way to move forward.

I found this while updating steam-meta package, which it seems has changed from requiring libva-compat instead of libva and thus creates the block when trying to install/update it.

Steps to reproduce:
- Have nouveau or nvidia as VIDEO_CARDS variable.
- Have vdpau on global use flags (or libva-compat use flag).
- Try to emerge x11-libs/libva-compat

The following snippet its from emerging steam-meta, but I just left the block part:
-> # emerge -av games-util/steam-meta

These are the packages that would be merged, in order:

Calculating dependencies... done!
[...]
[ebuild  N    ~] x11-libs/libva-compat-1.8.3:1::gentoo  USE="X drm opengl -egl -vdpau -wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="nvidia -i965 -intel -nouveau" 0 KiB                                                                 
[ebuild  N     ] x11-libs/libva-1.7.3::gentoo  USE="X drm opengl -egl -vdpau -wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="nvidia -dummy -i965 -intel -nouveau" 0 KiB
[ebuild  N     ] x11-libs/libva-vdpau-driver-0.7.4-r4::gentoo  USE="opengl -debug" ABI_X86="32 (64) (-x32)" 0 KiB
[...]
[blocks B      ] x11-libs/libva:0/0 ("x11-libs/libva:0/0" is blocking x11-libs/libva-compat-1.8.3)

Total: 32 packages (30 new, 2 in new slots), Size of downloads: 247 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (x11-libs/libva-1.7.3:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=x11-libs/libva-1.2.1-r1[X,opengl?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=x11-libs/libva-1.2.1-r1[X,opengl,abi_x86_32(-),abi_x86_64(-)]) required by (x11-libs/libva-vdpau-driver-0.7.4-r4:0/0::gentoo, ebuild scheduled for merge)                                                                         

  (x11-libs/libva-compat-1.8.3:1/1::gentoo, ebuild scheduled for merge) pulled in by
    x11-libs/libva-compat:1[abi_x86_32] required by (games-util/steam-client-meta-0-r20190506:0/0::steam-overlay, ebuild scheduled for merge)
Comment 1 Pedro 2019-05-11 19:41:33 UTC
Created attachment 576068 [details]
Log of emerge -pv libva-compat
Comment 2 Pedro 2019-05-11 19:41:55 UTC
Created attachment 576070 [details]
emerge --info output
Comment 3 James Le Cuirot gentoo-dev 2019-05-12 11:41:26 UTC
Good point, didn't think of that as I don't use those packages. I'll see what I can do.
Comment 4 James Le Cuirot gentoo-dev 2019-05-12 12:28:51 UTC
Sorry, I was incorrect. In my case, it's because I'm not a stable user. This would all go away if libva-2 was stable but I'm not sure if that's the best solution yet.
Comment 5 James Le Cuirot gentoo-dev 2019-05-12 12:36:27 UTC
Sorry, I'm being dumb. I've already fixed this by allowing || ( libva-compat libva ) in steam-client-meta but you worded this differently to the other guy so I didn't realise at first. Resync steam-overlay and you should be okay. If you're using esteam then you may still face this issue but I can't fix it there so you'd have to work around it with package.accept_keywords.