Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850766 - www-client/firefox-101.0.1: gfx/webrender_bindings/WebRenderAPI.cpp:1065:51: error: no member named 'ROOT_CLIP_CHAIN' in namespace 'mozilla::wr'
Summary: www-client/firefox-101.0.1: gfx/webrender_bindings/WebRenderAPI.cpp:1065:51: ...
Status: RESOLVED FIXED
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: 850775
Blocks:
  Show dependency tree
 
Reported: 2022-06-09 16:14 UTC by Kobboi
Modified: 2022-06-09 18:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,603.86 KB, application/gzip)
2022-06-09 16:14 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.84 KB, text/plain)
2022-06-09 16:14 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-06-09 16:14:27 UTC
Failed twice. Unfortunately, I have not yet found what the problem is :(

Reproducible: Always
Comment 1 Kobboi 2022-06-09 16:14:46 UTC
Created attachment 783767 [details]
build.log.gz
Comment 2 Kobboi 2022-06-09 16:14:48 UTC
Created attachment 783770 [details]
emerge-info.txt
Comment 3 Kobboi 2022-06-09 16:18:40 UTC
Looks like this could be the problem:

8 4:02.42      Running `CARGO=/usr/lib/rust/1.61.0/bin/cargo-1.61.0 CARGO_CRATE_NAME=crossbeam_utils CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/fire
fox-101.0.1/work/firefox-101.0.1/third_party/rust/crossbeam-utils-0.7.2 CARGO_PKG_AUTHORS='The Crossbeam Project Developers' CARGO_PKG_DESCRIPTION='Util
ities for concurrent programming' CARGO_PKG_HOMEPAGE='https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils' CARGO_PKG_LICENSE=MIT/Apach
e-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=crossbeam-utils CARGO_PKG_REPOSITORY='https://github.com/crossbeam-rs/crossbeam' CARGO_PKG_VERSION=0.7.2 
CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/www-client/fire
fox-101.0.1/work/firefox_build/release/deps:/usr/lib/rust/1.61.0/lib' OUT_DIR=/var/tmp/portage/www-client/firefox-101.0.1/work/firefox_build/x86_64-unkn
own-linux-gnu/release/build/crossbeam-utils-1200d74fc2272eb5/out /usr/bin/rustc --crate-name crossbeam_utils /var/tmp/portage/www-client/firefox-101.0.1
/work/firefox-101.0.1/third_party/rust/crossbeam-utils-0.7.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --
crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="lazy_static"' -
-cfg 'feature="std"' -C metadata=d27a0b4062692992 -C extra-filename=-d27a0b4062692992 --out-dir /var/tmp/portage/www-client/firefox-101.0.1/work/firefox
_build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-101.0.1/work/firefox-101.0.
1/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-101.0.1/work/firefox_build/x86_64-unknown-linux-gnu/release/deps -L dependency=/v
ar/tmp/portage/www-client/firefox-101.0.1/work/firefox_build/release/deps --extern cfg_if=/var/tmp/portage/www-client/firefox-101.0.1/work/firefox_build
/x86_64-unknown-linux-gnu/release/deps/libcfg_if-3594ccefcf797124.rmeta --extern lazy_static=/var/tmp/portage/www-client/firefox-101.0.1/work/firefox_bu
ild/x86_64-unknown-linux-gnu/release/deps/liblazy_static-bf83159c69e7d3a1.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C codegen-units=1 --cf
g has_min_const_fn --cfg has_atomic_u8 --cfg has_atomic_u16 --cfg has_atomic_u32 --cfg has_atomic_u64`
8 4:02.51 warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
8 4:02.51    --> /var/tmp/portage/www-client/firefox-101.0.1/work/firefox-101.0.1/third_party/rust/crossbeam-utils-0.7.2/src/backoff.rs:148:21
8 4:02.51     |
8 4:02.51 148 |             atomic::spin_loop_hint();
8 4:02.51     |                     ^^^^^^^^^^^^^^
8 4:02.51     |
8 4:02.51     = note: `#[warn(deprecated)]` on by default
8 4:02.51 warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
8 4:02.51    --> /var/tmp/portage/www-client/firefox-101.0.1/work/firefox-101.0.1/third_party/rust/crossbeam-utils-0.7.2/src/backoff.rs:208:25
8 4:02.51     |
8 4:02.51 208 |                 atomic::spin_loop_hint();
8 4:02.51     |                         ^^^^^^^^^^^^^^
8 4:02.78 In file included from Unified_cpp_webrender_bindings1.cpp:11:
8 4:02.78 /var/tmp/portage/www-client/firefox-101.0.1/work/firefox-101.0.1/gfx/webrender_bindings/WebRenderAPI.cpp:1065:51: error: no member named 'ROOT_CLIP_CHAIN' in namespace 'mozilla::wr'
8 4:02.78       mCurrentSpaceAndClipChain.clip_chain != wr::ROOT_CLIP_CHAIN) {
8 4:02.78                                               ~~~~^
Comment 4 Joonas Niilola gentoo-dev 2022-06-09 16:22:34 UTC
What version of cbindgen you have installed? I wonder if this breaks with 0.23.0. Should work with 0.24.2.
Comment 5 Kobboi 2022-06-09 16:25:24 UTC
(In reply to Joonas Niilola from comment #4)
> What version of cbindgen you have installed? I wonder if this breaks with
> 0.23.0. Should work with 0.24.2.

cbindgen-0.23.0 indeed, not sure what is keeping it at this version, will take a closer look.
Comment 6 Kobboi 2022-06-09 16:25:49 UTC
mail-client/thunderbird-91.10.0 (>=dev-util/cbindgen-0.19.0)
                                (<dev-util/cbindgen-0.24.0)
Comment 7 Joonas Niilola gentoo-dev 2022-06-09 16:27:03 UTC
(In reply to Kobboi from comment #6)
> mail-client/thunderbird-91.10.0 (>=dev-util/cbindgen-0.19.0)
>                                 (<dev-util/cbindgen-0.24.0)

*sigh*

this'll be a great mess. Will try to backport into esr and thunderbird.
Comment 8 Larry the Git Cow gentoo-dev 2022-06-09 16:31:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98e8f9b8ef7594d42022604d5f3ce6d898a1991

commit d98e8f9b8ef7594d42022604d5f3ce6d898a1991
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-06-09 16:29:26 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-06-09 16:31:11 +0000

    www-client/firefox: restrict the minimum cbindgen verison
    
     - unfortunately this can create a mess with thunderbird. Testing out
       backporting a patch. Meanwhile, thunderbird and firefox:rapid will
       need to be emerged separately.
    
    Bug: https://bugs.gentoo.org/850766
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-101.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Kobboi 2022-06-09 17:07:26 UTC
I do indeed have no problem with cbindgen-0.24.0. Feel free to ask me for some testing wrt cbindgen/firefox/thunderbird combinations if necessary.
Comment 10 tt_1 2022-06-09 18:11:01 UTC
this is a known bug, one moz dev I very briefly spoke about the problem suggested to remove the constant from webrender_ffi.h

if it doesn't work with cbindgen-0.24.2, you may want to open an upstream bug?
Comment 11 Larry the Git Cow gentoo-dev 2022-06-09 18:15:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80744d00f1d84e4d71836a8ee378b54f93694e1a

commit 80744d00f1d84e4d71836a8ee378b54f93694e1a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-06-09 18:14:16 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-06-09 18:14:16 +0000

    mail-client/thunderbird: update patchset and cbindgen restriction
    
    Closes: https://bugs.gentoo.org/850766
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   | 2 +-
 mail-client/thunderbird/thunderbird-91.10.0.ebuild | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd8fe1e9f76841532c8bf080a3c665b13071b65

commit 9fd8fe1e9f76841532c8bf080a3c665b13071b65
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-06-09 18:13:26 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-06-09 18:13:26 +0000

    www-client/firefox: update patchset and cbindgen restriction
    
    Bug: https://bugs.gentoo.org/850766
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest               | 2 +-
 www-client/firefox/firefox-91.10.0.ebuild | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)