Summary: | www-client/firefox[wayland] fails to compile with >=dev-libs/wayland-1.20.0: error: undefined symbol: wl_proxy_marshal_flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cyrillic <cyrilmaley> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev.primeos, kuba.iluvatar, perfect007gentleman, slashbeast, tka, zohran.londais |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.freedesktop.org/wayland/wayland/-/commit/23e4a7060080ebb61f516a2edcd71ab123029c0e | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=828857 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
cyrillic
2021-09-06 12:01:59 UTC
Created attachment 737920 [details]
build.log.xz
Same deal with www-client/firefox-92.0 Downgrading wayland allows it to build. Someone has to report this upstream... I am not entirely sure that Firefox is to blame. It could be the version of Rust is too old, and has not caught up to where Wayland is. Okay, maybe not. I just updated rust from beta/1.55 to stable/1.55 and firefox still has the same problem. Same deal with www-client/firefox-92.0.1 (In reply to Thomas Deutschmann from comment #3) > Someone has to report this upstream... BGO is my only bugzilla account ... sorry I've got this too and here was the first place that came up in search. I just managed to work around it by `export LDFLAGS="${LDFLAGS} -lwayland-client"` in my build at https://build.opensuse.org/package/show/home:X0F:HSF/MozillaFirefox Not that I'm going to actually use its wayland 'support' but it refuses to build otherwise. '-Wl,--gc-sections' and '-Wl,--icf=safe', as well as clang's `ac_add_options --enable-lto=thin`/'-flto=thin', should take care of redundant linking. (In reply to Sergey Kondakov from comment #7) > I just managed to work around it ... Thank you, that trick worked for me too. If wayland-1.20 ever gets released, then the Mozilla guys will have to fix this the right way. :) My latest attempt is with all released versions: wayland-1.20.0 rust-1.57.0 firefox-95.0 Linking still fails. Now normally I would just look for a source file to patch where I could add #include <wayland-client> but the file in question seems to be Unified_cpp_gfx_gl0.cpp which is generated-on-the-fly rather than being part of the firefox tarball ... https://git.alpinelinux.org/aports/commit/?id=88f459ca07a0bbc3c2d93c4289ab90752c599c6e seems to hint on rebuilding wayland-protocols. (In reply to Sergey Kondakov from comment #7) > I've got this too and here was the first place that came up in search. I > just managed to work around it by `export LDFLAGS="${LDFLAGS} > -lwayland-client"` in my build at Thanx, that saved me several days. FYI: The Alpine Linux maintainer reported it upstream: - https://bugzilla.mozilla.org/show_bug.cgi?id=1745560 - https://git.alpinelinux.org/aports/commit/community/firefox-esr?id=a408069e75632ce625aea68c70c23ee9e30995a5 *** Bug 828857 has been marked as a duplicate of this bug. *** *** Bug 828929 has been marked as a duplicate of this bug. *** (In reply to Sven B. from comment #10) > https://git.alpinelinux.org/aports/commit/ > ?id=88f459ca07a0bbc3c2d93c4289ab90752c599c6e > > seems to hint on rebuilding wayland-protocols. I tried that just to see, but I rebuild world on a regular basis (including yesterday), and this has not solved it for me yet. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4bc18c1295852de7bd762c60286c8e009dd9b1 commit 8d4bc18c1295852de7bd762c60286c8e009dd9b1 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-12-12 01:24:35 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-12-12 01:41:01 +0000 mail-client/thunderbird: fix building against wayland-1.20 Closes: https://bugs.gentoo.org/811840 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/thunderbird/Manifest | 2 +- mail-client/thunderbird/thunderbird-91.4.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32768cd88a7314351252178bc94b3c4e0ad3e5a9 commit 32768cd88a7314351252178bc94b3c4e0ad3e5a9 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-12-12 01:21:19 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-12-12 01:40:58 +0000 www-client/firefox: fix building against wayland-1.20 Closes: https://bugs.gentoo.org/811840 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 4 ++-- www-client/firefox/firefox-91.4.0.ebuild | 2 +- www-client/firefox/firefox-95.0.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) |