Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895126 - www-client/firefox-bin won't start if gtk has no wayland support
Summary: www-client/firefox-bin won't start if gtk has no wayland support
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 13:35 UTC by Amit Ugol
Modified: 2023-02-17 20:23 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 Amit Ugol 2023-02-17 13:35:14 UTC
I have gtk+ 3 with no wayland support (global -wayland) and firefox-bin needs it:

# firefox-bin 
Gtk-Message: 15:32:39.693: Failed to load module "canberra-gtk-module"
/opt/firefox/firefox-bin: symbol lookup error: /usr/lib64/gtk-3.0/modules/libappmenu-gtk-module.so: undefined symbol: gdk_wayland_display_get_type


Reproducible: Always

Steps to Reproduce:
1. install gtk+ minus -wayland
2. install firefox-bin
3. run firefox-bin
Actual Results:  
firefox-bin won't start

Expected Results:  
when installing firefox-bin, make sure that wayland support in gtk+ is enabled.

=================================================================
                        Package Settings
=================================================================

x11-libs/gtk+-3.24.36::gentoo was built with the following:
USE="X cups introspection (-aqua) -broadway -cloudproviders -colord -examples -gtk-doc -sysprof -test -vim-syntax -wayland -xinerama" ABI_X86="(64) -32 (-x32)"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-17 13:38:46 UTC
Your /usr/lib64/gtk-3.0/modules/libappmenu-gtk-module.so is broken. Try rebuilding the package that provides it:

emerge -v1 /usr/lib64/gtk-3.0/modules/libappmenu-gtk-module.so
Comment 2 Jonas Stein gentoo-dev 2023-02-17 20:23:28 UTC
Please test and reopen the ticket, if the problem still remains.