Re: windows x-xz-compressed-tar Unsupported compression options
"Bastian Eicher" <[email protected]> Thu, 30 Nov 2017 01:59:29 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Phil, thanks for reporting this. I was able to reproduce the bug and determine that it was introduced in Zero Install for Windows 2.13.1. An incorrect change to the .NET App.config files was causing the wrong version of the .NET Runtime to be used, which in turned caused problems with the native library used for XZ decompression. I have just released Zero Install for Windows 2.14.2 which fixes this issue. Regards Bastian From: [email protected] [mailto:[email protected]] Sent: Mittwoch, 29. November 2017 21:40 To: [email protected] Subject: [Zero-install-devel] windows x-xz-compressed-tar Unsupported compression options Bastian, There seems to be a bug in the tar.xz code in 2.14.0. I'm not sure where between 2.13.0 and 2.14.0 it browk however. When I try to load this archive http://repo.msys2.org/msys/x86_64/msys2-runtime-2.7.0-1-x86_64.pkg.tar.xz now it fails. I was able to do this previously for this file. But I tried some other XZ compressed files and got this error. I deleted the cache for this file that previously worked. When zero install extracts the archive it fails with the following error. Unhandled Exception: System.Exception: Unsupported compression options Server stack trace: at XZ.NET.XZInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) at NanoByte.Common.Streams.DisposeWarpperStream.Read(Byte[] buffer, Int32 offset, Int32 count) at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadRecord() at ICSharpCode.SharpZipLib.Tar.TarBuffer.ReadBlock() at ICSharpCode.SharpZipLib.Tar.TarInputStream.GetNextEntry() at ZeroInstall.Store.Implementations.Archives.TarExtractor.ExtractArchive() at ZeroInstall.Store.Implementations.Archives.ArchiveExtractor.Execute() at NanoByte.Common.Tasks.TaskBase.Run(CancellationToken cancellationToken, ICredentialProvider credentialProvider, IProgress`1 progress) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(In tPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa ge msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at NanoByte.Common.Tasks.ITask.Run(CancellationToken cancellationToken, ICredentialProvider credentialProvider, IProgress`1 progress) at NanoByte.Common.Tasks.CliTaskHandler.RunTask(ITask task) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(In tPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa ge msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at NanoByte.Common.Tasks.ITaskHandler.RunTask(ITask task) at ZeroInstall.Store.Implementations.DirectoryStore.AddArchives(IEnumerable`1 archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler) at ZeroInstall.Store.Implementations.CompositeStore.AddArchives(IEnumerable`1 archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(In tPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa ge msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [2]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at ZeroInstall.Store.Implementations.IStore.AddArchives(IEnumerable`1 archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler) at ZeroInstall.Store.Implementations.IpcStore.AddArchives(IEnumerable`1 archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler) at ZeroInstall.Store.Implementations.CompositeStore.AddArchives(IEnumerable`1 archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler) at ZeroInstall.Services.Fetchers.FetcherBase.ApplyArchives(IList`1 archives, IList`1 files, ManifestDigest manifestDigest) at ZeroInstall.Services.Fetchers.FetcherBase.Cook(Recipe recipe, ManifestDigest manifestDigest) at ZeroInstall.Services.Fetchers.FetcherBase.Retrieve(RetrievalMethod retrievalMethod, ManifestDigest manifestDigest) at ZeroInstall.Services.Fetchers.FetcherBase.<>c__DisplayClass6_0.<Retrieve>b__ 1(RetrievalMethod retrievalMethod) at NanoByte.Common.ExceptionUtils.TryAny[T](IEnumerable`1 elements, Action`1 action) at ZeroInstall.Services.Fetchers.FetcherBase.Retrieve(Implementation implementation) at ZeroInstall.Services.Fetchers.SequentialFetcher.Fetch(Implementation implementation, Object tag) at ZeroInstall.Services.Fetchers.SequentialFetcher.Fetch(IEnumerable`1 implementations) at ZeroInstall.Commands.CliCommands.Download.DownloadUncachedImplementations() at ZeroInstall.Commands.CliCommands.Run.Execute() at ZeroInstall.Commands.ProgramUtils.Run(String exeName, String[] args, ICommandHandler handler) Phil ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel