I'm running into a problem with cbindgen-0.16.0 first identified by renodr. Both Thunderbird and Firefox fail in the same way.

In file included from Unified_cpp_dom_webgpu1.cpp:110:
/build/firefox/firefox-78.6.0/dom/webgpu/ipc/WebGPUParent.cpp: In member function ‘mozilla::ipc::IPCResult mozilla::webgpu::WebGPUParent::RecvDeviceCreateBindGroup(mozilla::webgpu::RawId, const mozilla::webgpu::SerialBindGroupDescriptor&, mozilla::webgpu::RawId)’: /build/firefox/firefox-78.6.0/dom/webgpu/ipc/WebGPUParent.cpp:426:29: error: ‘struct mozilla::webgpu::ffi::WGPUBufferBinding’ has no member named ‘_0’

And several more places of "no member named ‘_0’".

make[4]: *** [/build/firefox/firefox-78.6.0/config/rules.mk:748: Unified_cpp_dom_webgpu1.o] Error 1 make[3]: *** [/build/firefox/firefox-78.6.0/config/recurse.mk:74: dom/webgpu/target-objects] Error 2

...

make[2]: *** [/build/firefox/firefox-78.6.0/config/recurse.mk:34: compile] Error 2 make[1]: *** [/build/firefox/firefox-78.6.0/config/rules.mk:390: default] Error 2

Reverting to cbindgen-0.15.0 allows both packages to build and run fine.

I did find

https://forums.freebsd.org/threads/building-mail-thunderbird-78-6-0_1-always-fails.78182/

and as best I can tell their solution was to revert to cbindgen-0.15.0.

It also seems like a similar problem with icecat on Arch:

https://aur.archlinux.org/packages/icecat/

Also found https://phabricator.services.mozilla.com/D91572?id=357321

I suppose we ought to leave cbindgen alone until FF and TB get updated, but I would like other opinions.

I did find this comment:

https://bugzilla.mozilla.org/show_bug.cgi?id=1667736 - upstream again due to rust (seems to be a continuous issue with these f***ing devs, just look over the years here in this AUR package comments...always something with rust..)


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to