-
Notifications
You must be signed in to change notification settings - Fork 226
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7za might not extract newly published packages correctly #3001
Comments
It would be useful to know ASAP what the limit is relative to. I assume it's probably not the basename; is it the path relative to the root of the package? The full on-disk path of the machine it's published from? Something else? |
Yes, we use this name here.
|
The published version of 2.0.6 is not compatible with the current Flutter stable (2.2) and earlier due to an issue with how Dart 2.14 (on the current Flutter master) creates archives. See dart-lang/pub#3001 This is a no-op change to allow republishing from stable. Fixes flutter/flutter#82803
@jonasfj I can add an option in |
The published version of 2.0.6 is not compatible with the current Flutter stable (2.2) and earlier due to an issue with how Dart 2.14 (on the current Flutter master) creates archives. See dart-lang/pub#3001 This is a no-op change to allow republishing from stable. Fixes flutter/flutter#82803
yeah, I guess we would be happy to use GNU-style long name entries. |
Is there a workflow I can easily follow to validate this with webview_flutter without actually publishing, to make absolutely sure it's working for us? |
Summary: A few package versions with filenames longer than 99 characters, published using Dart/Flutter master might not extract correctly on Windows with Dart SDK < 2.14. This should be fixed in Dart SDK as of sdk/+/201260 (just landed). I was able to reproduce the issue with
While the issue is fixed with 2.0.7:
Using
The following package versions are likely broken as a result of this:
Following packages are likely affected, but file paths affected all looks to be
|
Issue is fixed, and I haven't any new packages published with this issue. |
The published version of 2.0.6 is not compatible with the current Flutter stable (2.2) and earlier due to an issue with how Dart 2.14 (on the current Flutter master) creates archives. See dart-lang/pub#3001 This is a no-op change to allow republishing from stable. Fixes flutter/flutter#82803
The published version of 2.0.6 is not compatible with the current Flutter stable (2.2) and earlier due to an issue with how Dart 2.14 (on the current Flutter master) creates archives. See dart-lang/pub#3001 This is a no-op change to allow republishing from stable. Fixes flutter/flutter#82803
From flutter/flutter#82803 it looks like webview_flutter-2.0.6.tar.gz cannot be correctly extracted with
7za.exe
as used by Dart< 2.14.x
on Windows.It's very likely that webview_flutter-2.0.6.tar.gz was published using Flutter master which likely feature Dart
2.14.x
which usespackage:tar
.Theory is that archives with long file names created by
package:tar
are not correctly extracted by7za.exe
on Windows, and thus, cannot be used by stable Dart / Flutter SDKs.I guess we'll have to investigate this. It could be something weird in the tar format. It's possible that we could workaround this server side, but it might be better to fix the issue and not many packages have been published using Flutter master yet.
cc @simolus3, @stuartmorgan
The text was updated successfully, but these errors were encountered: