Re: windows x-xz-compressed-tar Unsupported compression options
<[email protected]> Thu, 30 Nov 2017 16:12:57 +0000
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <E1FE65505B872347A5DE1BB83A95331E662CE022@C111QVFHMBX74.ERF.thomson.com> |
Bastian,
2.14.2 works for me.
Thanks for fixing it.
Phil
From: Bastian Eicher [mailto:[email protected]]
Sent: Wednesday, November 29, 2017 7:59 PM
To: 'The Zero Install system'
Subject: Re: [Zero-install-devel] windows x-xz-compressed-tar Unsupported compression options
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]> [mailto:[email protected]]
Sent: Mittwoch, 29. November 2017 21:40
To: [email protected]<mailto:[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<https://urldefense.proofpoint.com/v2/url?u=http-3A__repo.msys2.org_msys_x86-5F64_msys2-2Druntime-2D2.7.0-2D1-2Dx86-5F64.pkg.tar.xz&d=DwMFAg&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=pRAqyHFQFv0HoEiWgk-8HFVA7XY6phT8Klx-jbb5O0E&m=4vWmOq-GAlaOTlCjL1niAL1Bv0RIU8Qwu0XHTxBuhhk&s=1XlvUZ2_4AVo_zpevdJQjRPR9Z5_GZyG4OczvIneXAw&e=> 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(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 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(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 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(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 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