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

Bug 884519

Summary: media-video/mpv-0.34.1-r1[vulkan]: fails to build if media-libs/vulkan-loader is USE=-X
Product: Gentoo Linux Reporter: unixway.drive+bugs.gentoo
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=753434
Whiteboard:
Package list:
Runtime testing required: ---

Description unixway.drive+bugs.gentoo 2022-12-06 03:39:23 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: video/out/vulkan/context_xlib.c.21.o: in function `xlib_init':
/var/tmp/portage/media-video/mpv-0.34.1-r1/work/mpv-0.34.1/build/../video/out/vulkan/context_xlib.c:62: undefined reference to `vkCreateXlibSurfaceKHR'
collect2: error: ld returned 1 exit status

Rebuilding media-libs/vulkan-loader with USE=X fixed that.

Apparently this was fixed before in bug 753434, but I see no mentions of `vulkan-loader` nor `vulkan? ( ...[X?] )` in mpv-0.34.1-r1.ebuild
Comment 1 Ionen Wolkens gentoo-dev 2022-12-06 03:45:56 UTC
It's fixed in mpv-0.35.0 (and the older 0.34.1_p snapshot which was essentially 0.35.0), just not stabled yet to give it more testing given the meson migration and a year worth of changes.

Not planning to work on 0.34 more but can leave this open until stabled.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-29 20:29:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce022a760a561586f701828572ed645859aaa41

commit 0ce022a760a561586f701828572ed645859aaa41
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-12-29 16:06:24 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-12-29 20:28:55 +0000

    media-video/mpv: stabilize 0.35.0-r1 for amd64, x86
    
    Been a while and no known major issues, albeit 0.34 will be kept
    for some time still given this is a year worth of changes plus
    ppc/ppc64 stable is held up for now wrt bug #888639.
    
    Closes: https://bugs.gentoo.org/884519
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-video/mpv/mpv-0.35.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)