Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828857 - www-client/firefox-95.0: fails on linking phase with USE=wayland -- error: undefined symbol: wl_proxy_marshal_flags, but fails on missing wayland with USE=-wayland too.
Summary: www-client/firefox-95.0: fails on linking phase with USE=wayland -- error: un...
Status: RESOLVED DUPLICATE of bug 811840
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 19:29 UTC by Piotr Karbowski (RETIRED)
Modified: 2021-12-11 16:52 UTC (History)
4 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 Piotr Karbowski (RETIRED) gentoo-dev 2021-12-10 19:29:42 UTC
Currently firefox do not builds on ~amd64 if wayland is installed, regardless of wayland USE flag. If wayland is installed with USE=-wayland we get

    error: undefined symbol: wl_proxy_marshal_flags

If wayland is not installed with USE=-wayland we get


0:04.02 checking MOZ_WAYLAND_CFLAGS...
0:04.02 DEBUG: Executing: `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags 'gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4'`
 0:04.02 DEBUG: The command returned non-zero exit status 1.
 0:04.02 DEBUG: Its output was:
 0:04.02 DEBUG: |
 0:04.02 DEBUG: Its error output was:
 0:04.02 DEBUG: | Package wayland-client was not found in the pkg-config search path.
 0:04.02 DEBUG: | Perhaps you should add the directory containing `wayland-client.pc'
 0:04.02 DEBUG: | to the PKG_CONFIG_PATH environment variable
 0:04.02 DEBUG: | Package 'wayland-client', required by 'gdk-3.0', not found
 0:04.02 DEBUG: | Package 'wayland-cursor', required by 'gdk-3.0', not found
 0:04.02 DEBUG: | Package 'wayland-egl', required by 'gdk-3.0', not found
 0:04.02 ERROR: Command `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags 'gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4'` failed with exit status 1.
Error running mach:

    ['configure']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

The 'mach' script is really broken, on the top of above, it will also crash if it happens to find pip and system have any Python package with broken dependencies.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-10 19:35:50 UTC
I hit this only once I added USE=pgo for 95.
Comment 2 Georgy Yakovlev archtester gentoo-dev 2021-12-10 21:56:40 UTC
I hit it with USE=lto
not with pgo
on ppc64

after recent dev-libs/wayland update

worked fine with versions prior to 1.20.0
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-10 21:59:46 UTC
Ok, sounds like I'm wrong. I toggled USE=pgo after updating wayland so I attributed the build failure to the wrong change.
Comment 4 Perfect Gentleman 2021-12-11 09:12:31 UTC
adding to LDFLAGS '-lwayland-client' is some kind of workaround.
Comment 5 Fulgurance 2021-12-11 14:46:18 UTC
I have this error for me as well, but without lto and pgo use flag
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-12-11 16:52:48 UTC

*** This bug has been marked as a duplicate of bug 811840 ***