Code Monkey home page Code Monkey logo

Comments (12)

xiota avatar xiota commented on June 24, 2024 3

There are comments with complaints about build failure.

I still want to review this when things settle... so reopening as a reminder.

from packages.

hasanpasha avatar hasanpasha commented on June 24, 2024 2

I was able to install the packages from the chaotic-repo successfully. Thanks for your quick fix.

from packages.

hasanpasha avatar hasanpasha commented on June 24, 2024 1

@xiota It was working just fine when I wrote my comment above. Now after updating to version 3.19.6 I get the below error when running flutter run in any project:

Unexpected Kernel Format Version 117 (expected 114)
#0      BinaryBuilder.readComponent.<anonymous closure>
(package:kernel/binary/ast_from_binary.dart:692)
#1      Timeline.timeSync (dart:developer/timeline.dart:173)
#2      BinaryBuilder.readComponent
(package:kernel/binary/ast_from_binary.dart:679)
#3      _InitializationFromSdkSummary._prepareSummary
(package:front_end/src/fasta/incremental_compiler.dart:2503)
#4      _InitializationFromUri.initialize
(package:front_end/src/fasta/incremental_compiler.dart:2577)
<asynchronous suspension>
#5      IncrementalCompiler._ensurePlatformAndInitialize
(package:front_end/src/fasta/incremental_compiler.dart:1383)
<asynchronous suspension>
#6      IncrementalCompiler.computeDelta.<anonymous closure>
(package:front_end/src/fasta/incremental_compiler.dart:270)
<asynchronous suspension>
#7      CompilerContext.clear
(package:front_end/src/fasta/compiler_context.dart:139)
<asynchronous suspension>
#8      IncrementalCompiler.compile (package:vm/incremental_compiler.dart:77)
<asynchronous suspension>
#9      FrontendCompiler.compile
(package:frontend_server/frontend_server.dart:610)
<asynchronous suspension>
#10     listenAndCompile.<anonymous closure>
(package:frontend_server/frontend_server.dart:1303)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.

which is also reported in the AUR page here .

from packages.

xiota avatar xiota commented on June 24, 2024 1

@hasanpasha Thanks for testing. I'm going to drop the split packages because they are not working. Will consider adding them back when comments on the aur pages indicate they are working reliably.

from packages.

xiota avatar xiota commented on June 24, 2024

The maintainer is reorganizing / splitting the package. I'll take a closer look later. If it's too complicated, may replace with a monolithic package similar to how it was before.

from packages.

dr460nf1r3 avatar dr460nf1r3 commented on June 24, 2024

It seems it requires a second pkgbase to work, rather than having it all in one PKGBUILD (and yes, those are NOT required at build time): https://aur.archlinux.org/pkgbase/flutter-artifacts-google-bin
It's from the same maintainer, so that's likely the way to move forward. No other package provides the needed pkgname. I feel like this adds a shit ton of unneeded split packages, but hey.

Package (20)                                   New Version  Net Change  Download Size

extra/cmake                                    3.29.0-1      72,94 MiB      11,30 MiB
extra/cppdap                                   1.58.0-1       1,62 MiB
extra/dart                                     3.3.2-1      574,13 MiB     155,18 MiB
chaotic-aur/flutter-common                     3.19.5-2.1    23,01 MiB       2,77 MiB
chaotic-aur/flutter-devel                      3.19.5-2.1    76,44 MiB      13,45 MiB
chaotic-aur/flutter-engine-android-google-bin  3.19.5-1     202,04 MiB     156,66 MiB
chaotic-aur/flutter-engine-common-google-bin   3.19.5-1      20,90 MiB       2,65 MiB
chaotic-aur/flutter-engine-linux-google-bin    3.19.5-1     202,98 MiB      47,47 MiB
chaotic-aur/flutter-engine-web-google-bin      3.19.5-1     168,22 MiB      13,58 MiB
chaotic-aur/flutter-gradle                     3.19.5-2.1     0,05 MiB       0,04 MiB
chaotic-aur/flutter-intellij-patch             3.19.5-2.1     0,00 MiB       0,00 MiB
chaotic-aur/flutter-material-fonts-google-bin  3.19.5-1       4,80 MiB       1,44 MiB
chaotic-aur/flutter-sky-engine-google-bin      3.19.5-1       6,20 MiB       0,78 MiB
chaotic-aur/flutter-target-android             3.19.5-2.1     0,09 MiB       0,02 MiB
chaotic-aur/flutter-target-linux               3.19.5-2.1     0,01 MiB       0,00 MiB
chaotic-aur/flutter-target-web                 3.19.5-2.1     0,03 MiB       0,01 MiB
chaotic-aur/flutter-tool                       3.19.5-2.1    35,57 MiB      12,12 MiB
extra/ninja                                    1.11.1-3       0,35 MiB       0,14 MiB
extra/rhash                                    1.4.4-1        0,32 MiB
chaotic-aur/flutter                            3.19.5-2.1     0,00 MiB       0,00 MiB

Total Download Size:    417,61 MiB
Total Installed Size:  1389,68 MiB

from packages.

xiota avatar xiota commented on June 24, 2024

@hasanpash In addition to installing successfully, does flutter also work as expected?

from packages.

xiota avatar xiota commented on June 24, 2024

The flutter package reorganization is too experimental, and the maintainer is planning more ¿breaking? changes. I'm considering replacing it with a monolithic flutter-bin package that installs to /opt/flutter and uses helper scripts to run unionfs-fuse to make the folder "writable" so that flutter will function.

from packages.

xiota avatar xiota commented on June 24, 2024

I'm considering dropping the split flutter, flutter-engine, etc packges (keeping flutter-bin) because they're too complicated and unreliable. On my computer, I have to run pacman multiple times to install the depends in the right order.

@hasanpasha Someone has reported that the flutter packages work with aur/dart-sdk-dev. The package is in chaotic-aur for testing. Can you confirm whether flutter works when it's installed? Do you have any opinion about split packaging vs monolithic flutter-bin?

from packages.

hasanpasha avatar hasanpasha commented on June 24, 2024

@xiota I am currently not on my system so I can't test whether this works or not, I will come back with the results as soon as I can. As for monolithic vs split packages, I think the split packages would be better for other flutter packages that depend on it, and it makes the installation cleaner.

from packages.

hasanpasha avatar hasanpasha commented on June 24, 2024

after full removal of flutter packages and dart with sudo pacman -Rcus dart flutter and installing flutter again with dart-sdk-dev I get the following error when running flutter doctor or any other flutter command:

Wrong full snapshot version, expected 'e626b3c974f4afdd82d77a14c5e59173' found 'ee1eb666c76a5cb7746faf39d0b97547'

from packages.

xiota avatar xiota commented on June 24, 2024

I've repurposed this issue to track flutter-bin. Another useful package to consider is fvm.

The split flutter/flutter-artifacts-google-bin packages will not be added back unless the patches they are based on are upstreamed back to Google. The problem is whenever they're updated, the various components, including extra/dart, go out of sync within days, making the collection useless.

Also, unreasonable to have 17-subpackages with unclear cross-depends and base package name unrelated to any of the other package names (flutter-artifacts-google-bin).

from packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.