Page MenuHomeFreeBSD

lang/rust: Update to 1.47.0
AbandonedPublic

Authored by mikael on Oct 9 2020, 11:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 6:46 PM
Unknown Object (File)
Feb 21 2024, 11:02 AM
Unknown Object (File)
Feb 21 2024, 11:02 AM
Unknown Object (File)
Feb 21 2024, 11:02 AM
Unknown Object (File)
Feb 21 2024, 10:49 AM
Unknown Object (File)
Jan 10 2024, 3:40 AM
Unknown Object (File)
Jan 4 2024, 4:21 AM
Unknown Object (File)
Dec 9 2023, 8:25 AM
Subscribers

Details

Summary

Add powerpc64le (submitted by bdragon in D26711)
Disable DOCS, same problem as r546048
Force rebuild all consumers to catch regressions early

Test Plan

11.4 i386: ok ; firefox ok
13.0 amd64: ok ; all consumers ok
13aarch64: ok
13armv7 : ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

devel/racer needs to be updated
firefox/thunderbird/cliqz broken mozilla IRC logs

error: expected `,`
   --> components/style_traits/values.rs:482:39
    |
482 |                       $($css => Ok($name::$variant),)+
    |                                         ^^
    | 
   ::: components/style_traits/viewport.rs:12:1
    |
12  | / define_css_keyword_enum! {
13  | |     pub enum UserZoom {
14  | |         Zoom = "zoom",
15  | |         Fixed = "fixed",
16  | |     }
17  | | }
    | |_- in this macro invocation

error: expected `,`
   --> components/style_traits/values.rs:482:39
    |
482 |                       $($css => Ok($name::$variant),)+
    |                                         ^^
    | 
   ::: components/style_traits/viewport.rs:19:1
    |
19  | / define_css_keyword_enum! {
20  | |     pub enum Orientation {
21  | |         Auto = "auto",
22  | |         Portrait = "portrait",
23  | |         Landscape = "landscape",
24  | |     }
25  | | }
    | |_- in this macro invocation

error[E0425]: cannot find value `MAX_LENGTH` in module `cssparser_internal`
  --> components/style_traits/viewport.rs:12:1
   |
12 | / define_css_keyword_enum! {
13 | |     pub enum UserZoom {
14 | |         Zoom = "zoom",
15 | |         Fixed = "fixed",
16 | |     }
17 | | }
   | | ^
   | | |
   | |_not found in `cssparser_internal`
   |   in this macro invocation
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error[E0425]: cannot find value `MAX_LENGTH` in module `cssparser_internal`
  --> components/style_traits/viewport.rs:19:1
   |
19 | / define_css_keyword_enum! {
20 | |     pub enum Orientation {
21 | |         Auto = "auto",
22 | |         Portrait = "portrait",
23 | |         Landscape = "landscape",
24 | |     }
25 | | }
   | | ^
   | | |
   | |_not found in `cssparser_internal`
   |   in this macro invocation
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0425`.
lang/rust/distinfo
46

I just copied the initial bootstraps to 2020-08-27 as well so there won't need to be a platform specific BOOTSTRAPS_DATE override for powerpc64le (once it gets mirrored)

lang/rust/files/powerpc64le/patch-src_llvm-project_clang_lib_Basic_Targets.cpp
1

I think svn will reject having fbsd:nokeywords yes and svn:keywords being set at the same time when you try and commit.

Native build on powerpc64le worked after updating the paths in distinfo.

The 2020-08-27 copy of the 1.46 powerpc64le bootstrap has made it to distcache, so it should be good to go as far as updating the paths in distinfo.

mikael edited the test plan for this revision. (Show Details)
mikael added a reviewer: jbeich.

Update devel/racer to 2.1.36
Import https://hg.mozilla.org/integration/autoland/rev/e2cede25c027 to fix www/firefox
Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird (https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz : 0036, 0037 and 0038)
Update aarch64 bootstrap (the cross compiled one doesn't work, use a native one for the time being)
Fix paths in distinfo for ppc64le

Patch doesn't apply:

C         graphics/dssim/Makefile    
>         rejected hunk @@ -2,6 +2,7 @@
C         mail/thunderbird/Makefile
>         rejected hunk @@ -3,7 +3,7 @@
C         textproc/bat/Makefile
>         rejected hunk @@ -3,7 +3,7 @@
C         www/deno/Makefile
>         rejected hunk @@ -3,6 +3,7 @@
C         www/firefox/Makefile
>         rejected hunk @@ -3,7 +3,7 @@