Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 791517

Summary: www-client/seamonkey-2.53.7.1-r1: compile error with --enable-webrender
Product: Gentoo Linux Reporter: jamesjames <theism>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal CC: ajak, gentoo-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description jamesjames 2021-05-22 17:26:54 UTC
EXTRA_ECONF="--enable-webrender" emerge www-client/seamonkey
---
   Compiling webrender_bindings v0.1.0 (/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/gfx/webrender_bindings)
error: unused return value of `std::mem::replace` that must be used
    --> /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/gfx/webrender_bindings/src/bindings.rs:1491:5
     |
1491 |     mem::replace(dl_data, WrVecU8::from_vec(data));
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
note: the lint level is defined here
    --> /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/gfx/webrender_bindings/src/lib.rs:5:9
     |
5    | #![deny(warnings)]
     |         ^^^^^^^^
     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
     = note: if you don't need the old value, you can just assign the new value directly

error: aborting due to previous error

error: could not compile `webrender_bindings`


Reproducible: Always
Comment 1 jamesjames 2021-05-22 17:28:08 UTC
Created attachment 710331 [details]
emerge --info
Comment 2 jamesjames 2021-05-22 17:28:39 UTC
Created attachment 710334 [details]
build.log
Comment 3 Myckel Habets 2022-02-24 15:59:30 UTC
I could reproduce this to some extend (error messages are now different due to newer version of rust), but

From: https://wiki.mozilla.org/SeaMonkey/StatusMeetings/2022-02-20

"webrender building is currently broken but disabled by default."

There is a good chance that this will be broken for still some considerable time.
You are trying to pass this beyond what the ebuild supports, so there is not much to fix there and upstream says it's broken, so there is not much to do here.

@mozilla, could you close this bug?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-24 16:09:22 UTC
(In reply to Myckel Habets from comment #3)
> @mozilla, could you close this bug?

Could you do a PR to add yourself as 1st maintainer, then I can assign the bugs to you and you can have privileges to close/etc?
Comment 5 Joonas Niilola gentoo-dev 2022-02-24 16:16:33 UTC
++