Package Base Details: flutter-artifacts-google-bin

Git Clone URL: (read-only, click to copy)
Keywords: engine flutter
Submitter: WithTheBraid
Maintainer: WithTheBraid
Last Packager: WithTheBraid
Votes: 5
Popularity: 1.81
First Submitted: 2024-03-26 14:57 (UTC)
Last Updated: 2024-06-12 09:02 (UTC)

Latest Comments

xiota commented on 2024-06-04 09:59 (UTC) (edited on 2024-06-04 10:04 (UTC) by xiota)

Let's dispose of some misinformation. aur/flutter-bin does not provides the subpackages associated with this pkgbase (flutter-artifacts-google-bin). Rather, it conflicts with the subpackages of flutter and flutter-artifacts-google-bin. The errors are the conflicts doing what they're supposed to – prevent users from using the "wrong" packages.

The problem with aur/flutter and aur/flutter-artifacts-google-bin are the complicated cross-dependencies that AUR helpers have difficulty resolving. See the pinned comments describing the problem at aur/flutter. They predate the creation of aur/flutter-bin by about a month.

aur/flutter-bin does provides some of the subpackages of flutter. They are necessary to satisfy makedeps when building other packages. They do not break anything, and setting provides/conflicts is standard practice in -bin and -git packages.

WithTheBraid commented on 2024-05-10 19:53 (UTC)

To be clear, @markg85 : the aur/flutter-bin package is compltely unrelated to this package. It claims to provide dependencies required by this package but in fact does not. I reported this as behavior not allowed in the community but unless the report is accepted, I cannot change anything about this.

Consider checking what dependencies you are being dropped in by your AUR helper before installing random packages please.

markg85 commented on 2024-04-28 01:01 (UTC) (edited on 2024-04-28 01:02 (UTC) by markg85)

This package gives:

looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: flutter-bin-3.19.6-5 and flutter-engine-android-google-bin-3.19.6-1 are in conflict
 -> Failed to install layer, rolling up to next layer.error:error installing: [/home/mark/.cache/yay/flutter/flutter-gradle-3.19.6-1-x86_64.pkg.tar.zst /home/mark/.cache/yay/flutter-bin/flutter-bin-3.19.6-5-x86_64.pkg.tar.zst /home/mark/.cache/yay/flutter-artifacts-google-bin/flutter-engine-linux-google-bin-3.19.6-1-x86_64.pkg.tar.zst /home/mark/.cache/yay/flutter-artifacts-google-bin/flutter-engine-android-google-bin-3.19.6-1-x86_64.pkg.tar.zst] - exit status 1

Which then tries to some magic (never seen the rolling up to next layer, no clue what that is about) just to fail again with:

loading packages...
resolving dependencies...
warning: cannot resolve "flutter-tool=3.19.6", a dependency of "flutter-target-linux"
warning: cannot resolve "flutter-tool=3.19.6", a dependency of "flutter-target-android"
warning: cannot resolve "flutter-tool=3.19.6", a dependency of "flutter-devel"
:: The following packages cannot be upgraded due to unresolvable dependencies:
      flutter-target-linux  flutter-target-android  flutter-devel

:: Do you want to skip the above packages for this upgrade? [y/N] 

Trying to continue will make it fail at a later point.