Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578654 - net-libs/webkit-gtk 2.10.8 does not set wayland USE flag, unlike net-libs/webkit-gtk 2.4.9.
Summary: net-libs/webkit-gtk 2.10.8 does not set wayland USE flag, unlike net-libs/web...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-31 00:56 UTC by John Galt
Modified: 2016-04-03 23:05 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 John Galt 2016-03-31 00:56:20 UTC
Using webkit 2.10.8 with the following use flags: X egl geoloc gstreamer introspection jit libsecret opengl spell wayland webgl

I was trying to figure out why webkit-gtk backed browsers were crashing and trying to use X on wayland. Then I decided to check a build log and saw:
ENABLE_WAYLAND_TARGET ................... no

This major packaging bug breaks all webkit-gtk backed apps on wayland, and forces you to run them with the x11 backend (if you know to).
Comment 1 John Galt 2016-03-31 01:12:11 UTC
Okay, apparently those were my use flags from webkit-gtk 2.4.9, not webkit-2.10.8. With webkit-2.10.8, you can't enable the wayland flag.
Comment 2 John Galt 2016-03-31 01:31:10 UTC
rphl from #gentoo confirmed that emerge will not set the wayland USE flag for this package.
Comment 3 Franz Trischberger 2016-03-31 03:27:33 UTC
That's due to an IMHO outdated package.use.mask:

# Gilles Dartiguelongue <eva@gentoo.org> (25 May 2015)
# webkit fails to build with USE=wayland, bug #549228
# https://bugs.webkit.org/show_bug.cgi?id=142879
# https://bugs.webkit.org/show_bug.cgi?id=136831
>=net-libs/webkit-gtk-2.8 wayland

The upstream commit that fixed this issue is from 2015-06-04, so this most likely should be available in recent webkit-gtk versions.
To forcefully remove that mask you can add te following line to /etc/portage/profile/package.use.mask
net-libs/webkit-gtk -wayland
Comment 4 John Galt 2016-03-31 03:54:18 UTC
Thank you. I just grepped /etc/portage to see if it was an issue I made, didn't think to look for a mask.

I agree, that mask should be removed, the stable webkit-gtk packages don't look to be affected.
Comment 5 Pacho Ramos gentoo-dev 2016-04-03 13:19:21 UTC
[master 651987a] profiles/base/package.use.mask: wayland works now on webkitgtk (#578654)
 1 file changed, 6 deletions(-)
Comment 6 John Galt 2016-04-03 23:05:29 UTC
Thank you Pacho Ramos :)