Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter_gallery: Native dart shall be used for frontend_server #2

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

dsa-t
Copy link
Contributor

@dsa-t dsa-t commented Oct 31, 2021

Currently, when building for raspberrypi3-64, there is an error in flutter_gallery:do_compile:

...
All done!
In order to run your application, type:

  $ cd .
  $ flutter run

Your application code is in ./lib/main.dart.


馃挭 Building with sound null safety 馃挭

Snapshot not compatible with the current VM configuration: the snapshot requires 
'release no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks lazy_dispatchers use_bare_instructions no-dedup_instructions no-"asserts" "use_field_guards" "use_osr" x64-sysv no-null-safety' but the VM has 
'product no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks lazy_dispatchers use_bare_instructions dedup_instructions no-"asserts" "use_field_guards" "use_osr" arm64-sysv no-null-safety'
WARNING: exit code 255 from a shell command.
...

@jwinarske
Copy link
Contributor

I suspect you're working around a channel mismatch issue. Are you setting the flutter channel in local.conf?

@jwinarske
Copy link
Contributor

@dsa-t
Copy link
Contributor Author

dsa-t commented Nov 2, 2021

FLUTTER_CHANNEL is indeed set to "dev" in local.conf (as per README.md)

@jwinarske
Copy link
Contributor

Hmm. I'm not seeing that on the x86_64 CI jobs. I need to add the RPI-64 builds to CI.

@jwinarske
Copy link
Contributor

jwinarske commented Nov 2, 2021

I think this is emulated issue I filled in main flutter repo some time back.

@jwinarske jwinarske merged commit 916472b into meta-flutter:main Nov 3, 2021
@jwinarske
Copy link
Contributor

Looks good - CI jobs pass! Thanks for submitting the PR.

jwinarske added a commit that referenced this pull request Oct 30, 2023
-This resolves engine build failure:
    | The compiler crashed: WebSocketException: Connection to 'http://127.0.0.1:39371/GAh-cZOn-eg=/ws#' was not upgraded t
    o websocket
    | #0      _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1011:41)
    | #1      WebSocket.connect (dart:_http/websocket.dart:320:22)
    | #2      vmServiceConnectUri (package:vm_service/vm_service_io.dart:32:44)
    | #3      _currentHeapCapacity (package:compiler/src/common/ram_usage.dart:27:41)
    | <asynchronous suspension>
    | #4      currentHeapCapacityInMb (package:compiler/src/common/ram_usage.dart:38:20)
    | <asynchronous suspension>
    | #5      compile.compilationDone (package:compiler/src/dart2js.dart:886:12)
    | <asynchronous suspension>
    | #6      main (package:compiler/src/dart2js.dart:1241:3)
    | <asynchronous suspension>

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants