Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695792 - mail-client/thunderbird-68.1.1: error: Could not compile `cssparser`.
Summary: mail-client/thunderbird-68.1.1: error: Could not compile `cssparser`.
Status: RESOLVED DUPLICATE of bug 695794
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-28 11:07 UTC by Piotr Karbowski (RETIRED)
Modified: 2019-09-28 13:46 UTC (History)
1 user (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 2019-09-28 11:07:28 UTC
As for this very moment, I am unable to build mail-client/thunderbird-68.1.1 on fully updated ~amd64 system.

dev-lang/rust-1.38.0
sys-devel/gcc-9.2.0-r1
sys-devel/llvm-9.0.0

1G 2:28.55 error[E0506]: cannot assign to `self.input.cached_token` because it is borrowed
1G 2:28.55    --> /var/portage/tmp/portage/mail-client/thunderbird-68.1.1/work/thunderbird-68.1.1/third_party/rust/cssparser/src/parser.rs:584:17
1G 2:28.55     |
1G 2:28.55 559 |     pub fn next_including_whitespace_and_comments(&mut self) -> Result<&Token<'i>, BasicParseError<'i>> {
1G 2:28.55     |                                                   - let's call the lifetime of this reference `'1`
1G 2:28.55 ...
1G 2:28.55 572 |             Some(ref cached_token)
1G 2:28.55     |                  ---------------- borrow of `self.input.cached_token` occurs here
1G 2:28.55 ...
1G 2:28.55 584 |                 self.input.cached_token = Some(CachedToken {
1G 2:28.55     |                 ^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `self.input.cached_token` occurs here
1G 2:28.55 ...
1G 2:28.55 596 |         Ok(token)
1G 2:28.55     |         --------- returning this value requires that `self.input.cached_token.0` is borrowed for `'1`
1G 2:28.77 error: aborting due to previous error
1G 2:28.77 For more information about this error, try `rustc --explain E0506`.
1G 2:28.79 error: Could not compile `cssparser`.
1G 2:28.79 warning: build failed, waiting for other jobs to finish...
Comment 1 Jouni Kosonen 2019-09-28 12:59:55 UTC
Bug 695794 is about the same error and comes with a patch.

Apparently this has been fixed in servo/rust-cssparser versions v0.25.5..v0.25.9(current) but thunderbird-68.1.1 uses version 0.25.3.
Comment 2 Jory A. Pratt gentoo-dev 2019-09-28 13:46:44 UTC

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