Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798843 - media-libs/libepoxy-1.5.8 accidentally dlopens libGL, even on systems without it.
Summary: media-libs/libepoxy-1.5.8 accidentally dlopens libGL, even on systems without...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-27 05:35 UTC by sam+gentoo
Modified: 2021-08-28 01:46 UTC (History)
1 user (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 sam+gentoo 2021-06-27 05:35:49 UTC
There is a bug in libepoxy <= 1.5.6 that caused it to try to load libGL, even on systems without X. The fix was here https://github.com/anholt/libepoxy/pull/238/files .

libepoxy 1.5.8 reverted the fix because it broke other distributions which include X.

The gentoo ebuild for libepoxy versions other than 1.5.7 should either:
 - Add a dependency to get libGL.so (maybe mesa[X] or virtual/opengl? I'm not sure.)
 - Apply a small patch (essentially the linked PR) when the X useflag is disabled.

As a wayland user, I'd have a slight preference for the latter option.
Comment 1 Matt Turner gentoo-dev 2021-08-28 01:46:52 UTC
I think a workaround was committed in 1.5.9. Is this sufficient? Speculatively resolving...