Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66664 - [dart] Version of package and program no longer match

Attached to Project: Arch Linux
Opened by Jacob Bang (julemand101) - Friday, 15 May 2020, 17:25 GMT
Last edited by Felix Yan (felixonmars) - Friday, 15 May 2020, 18:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The current dart package is version 2.7.7-1 but the output from this installed package is 2.8.2:

[julemand101@beta ~]$ pacman -Q dart
dart 2.7.7-1
[julemand101@beta ~]$ dart --version
Dart VM version: 2.8.2 (stable) (Mon May 11 15:06:42 2020 +0200) on "linux_x64"

I think the reason behind this problem comes down to the PKGBUILD file does not point to the specific version of the Dart package but just to latest version which are often changed. This makes it easy to make such a mistake but also makes it hard to go back to earlier version of dart using older PKGBUILD files or make reproducible builds which are not dependent on outside factors (like new version of Dart being released).

I will suggest the download URL do make use of the version of the package according the URL specification on:
https://dart.dev/tools/sdk/archive#download-urls

So the current version would be fetched from:
https://storage.googleapis.com/dart-archive/channels/stable/release/2.8.2/sdk/dartsdk-linux-x64-release.zip
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 15 May 2020, 18:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.8.2-1

Loading...