Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919858 - x11-wm/xpra-4.4.6-r2 is missing media-libs/mesa[zink] for RDEPEND?
Summary: x11-wm/xpra-4.4.6-r2 is missing media-libs/mesa[zink] for RDEPEND?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Benda Xu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-14 01:08 UTC by Sebastian Pipping
Modified: 2024-03-26 12:34 UTC (History)
5 users (show)

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 Sebastian Pipping gentoo-dev 2023-12-14 01:08:51 UTC
Hi!

When running Xpra, three things stood out to me in the terminal output:

> # xpra start --daemon=no --start kwrite 
> Traceback (most recent call last):
>   File "/usr/bin/xpra", line 5, in <module>
>     from xpra.platform import init, set_default_name
> ModuleNotFoundError: No module named 'xpra'  <-- (1)
> [..]
> 2023-12-14 02:01:05,561 Error: cannot find the html web root
> 2023-12-14 02:01:05,561  '/usr/local/share/xpra/www' does not exist   <-- (2)
> 2023-12-14 02:01:05,561  install the `xpra-html5` package
> [..]
> MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)
> failed to load driver: zink  <-- (3)
> [..]

I'm mostly here for the third, it seems like Xpra should depend on media-libs/mesa[zink] at runtime?  Am I missing something?

Thanks and best, Sebastian
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-14 01:35:18 UTC
The output is truncated so I don't know if there's other stuff there that might indicate why it's going to do that, but at least the GH search on xpra doesn't show anything for zink, and normally this is a client-side thing.
Comment 2 Sebastian Pipping gentoo-dev 2023-12-14 03:23:06 UTC
Maybe you're right, when I start terminator instead of kwrite the issue is not showing, it seems to be closer to Qt/KDE than Xpra then. Closing…
Comment 3 Paul Zander 2023-12-14 23:46:18 UTC
Could you downgrade mesa to 23.1.9 and see if the zink error remains?
Comment 4 Sebastian Pipping gentoo-dev 2023-12-15 00:50:11 UTC
(In reply to Paul Zander from comment #3)
> Could you downgrade mesa to 23.1.9 and see if the zink error remains?

Alright!  I did "xpra start --daemon=no --start kwrite" two more times:

This is with media-libs/mesa-23.1.9[-zink]:
                                    ^
    <no mention of zink anywhere>

And this is with media-libs/mesa-23.3.0[zink]:

    MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
    MESA: error: ZINK: failed to choose pdev
    glx: failed to create drisw screen
    failed to load driver: zink

(So USE=zink is not a workaround for 23.3.0.)
Comment 5 Larry the Git Cow gentoo-dev 2024-01-29 19:31:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852d4ce6b426717d107849d8151b3dc2f1104d95

commit 852d4ce6b426717d107849d8151b3dc2f1104d95
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-01-29 19:27:03 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-01-29 19:31:08 +0000

    package.use.mask: Mask USE=zink on media-libs/mesa
    
    Bug: https://bugs.gentoo.org/919858
    Bug: https://bugs.gentoo.org/923054
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/default/linux/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)