Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719690 - mail-client/thunderbird-68.7.0-r1: error: casts cannot be followed by a field access
Summary: mail-client/thunderbird-68.7.0-r1: error: casts cannot be followed by a field...
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:
Blocks:
 
Reported: 2020-04-26 19:01 UTC by Julien Delquié
Modified: 2020-04-27 06:37 UTC (History)
0 users

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 Julien Delquié 2020-04-26 19:01:49 UTC
Impossible to compile the new version.

 0:04.81 error: casts cannot be followed by a field access
 0:04.81    --> servo/components/style/stylesheets/viewport_rule.rs:314:39
 0:04.81     |
 0:04.81 314 |                     declaration!($min(value: shorthand.0, important: important)),
 0:04.81     |                                       ^^^^^^^^^^^^^^^^
 0:04.81 ...
 0:04.81 323 |             "width" => ok!(shorthand -> [MinWidth, MaxWidth]),
 0:04.81     |                        -------------------------------------- in this macro invocation
 0:04.81     |
 0:04.81     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 0:04.81 help: try surrounding the expression in parentheses
 0:04.81     |
 0:04.81 314 |                     declaration!($min((value: shorthand).0, important: important)),
 0:04.81     |                                       ^                ^
 0:04.81 error: casts cannot be followed by a field access
 0:04.81    --> servo/components/style/stylesheets/viewport_rule.rs:315:39
 0:04.81     |
 0:04.81 315 |                     declaration!($max(value: shorthand.1, important: important)),
 0:04.81     |                                       ^^^^^^^^^^^^^^^^
 0:04.81 ...
 0:04.81 323 |             "width" => ok!(shorthand -> [MinWidth, MaxWidth]),
 0:04.81     |                        -------------------------------------- in this macro invocation
 0:04.81     |
 0:04.82     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 0:04.82 help: try surrounding the expression in parentheses
 0:04.82     |
 0:04.82 315 |                     declaration!($max((value: shorthand).1, important: important)),
 0:04.82     |                                       ^                ^
 0:04.82 error: casts cannot be followed by a field access
 0:04.82    --> servo/components/style/stylesheets/viewport_rule.rs:314:39
 0:04.82     |
 0:04.82 314 |                     declaration!($min(value: shorthand.0, important: important)),
 0:04.82     |                                       ^^^^^^^^^^^^^^^^
 0:04.82 ...
 0:04.82 326 |             "height" => ok!(shorthand -> [MinHeight, MaxHeight]),
 0:04.82     |                         ---------------------------------------- in this macro invocation
 0:04.82     |
 0:04.82     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 0:04.82 help: try surrounding the expression in parentheses
 0:04.82     |
 0:04.82 314 |                     declaration!($min((value: shorthand).0, important: important)),
 0:04.82     |                                       ^                ^
 0:04.82 error: casts cannot be followed by a field access
 0:04.82    --> servo/components/style/stylesheets/viewport_rule.rs:315:39
 0:04.82     |
 0:04.82 315 |                     declaration!($max(value: shorthand.1, important: important)),
 0:04.82     |                                       ^^^^^^^^^^^^^^^^
 0:04.82 ...
 0:04.82 326 |             "height" => ok!(shorthand -> [MinHeight, MaxHeight]),
 0:04.82     |                         ---------------------------------------- in this macro invocation
 0:04.82     |
 0:04.82     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 0:04.82 help: try surrounding the expression in parentheses
 0:04.82     |
 0:04.82 315 |                     declaration!($max((value: shorthand).1, important: important)),
 0:04.82     |                                       ^                ^


Reproducible: Always

Steps to Reproduce:
1. try to emerge mail-client/thunderbird-68.7.0-r1,
2. error: casts cannot be followed by a field access,
3. fails to compile.
Actual Results:  
fails to compile.

Expected Results:  
compilation successful.
Comment 1 Jouni Kosonen 2020-04-26 21:33:11 UTC
Same here.

There's no code change to the -r0, but I did update to dev-lang/rust-1.43.0 in the interim.
Comment 2 Andrew Udvare 2020-04-26 23:38:15 UTC
Confirming same issue here.
Comment 3 Larry the Git Cow gentoo-dev 2020-04-27 00:15:25 UTC
The bug has been closed via the following commit(s):

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

commit 6e7b8e38482fc7f19970f67b0250c34725b8d3e2
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-04-27 00:12:21 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-04-27 00:14:03 +0000

    mail-client/thunderbird: unbreak building with rust-1.43
    
    Closes: https://bugs.gentoo.org/719690
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 mail-client/thunderbird/Manifest                     | 2 +-
 mail-client/thunderbird/thunderbird-68.7.0-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

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

commit 052da9d6733c8981f199211d94d3cab6b4a783cd
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-04-27 00:13:38 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-04-27 00:14:04 +0000

    www-client/firefox: unbreak building with rust-1.43
    
    Bug: https://bugs.gentoo.org/719690
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest                 | 2 +-
 www-client/firefox/firefox-68.7.0-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Julien Delquié 2020-04-27 06:37:05 UTC
I can confirm it is working now. :)
Nice job, thanks!