Closed carlossanlop closed 2 months ago
Tagging subscribers to this area: @dotnet/area-system-formats-tar See info in area-owners.md if you want to be subscribed.
From the stacktrace it looks probable that https://github.com/dotnet/runtime/pull/101172 will fix this.
@tmds or @carlossanlop -- Do we know if #101172 addressed this yet?
I was able to repro the problem in .NET 8.0 by downloading the problem file directly and trying to open it using GZipStream
+ TarFile.ExtractToDirectory
: https://netcorenativeassets.blob.core.windows.net/resource-packages/external/macos/cmake/cmake-3.28.0-macos-universal.tar.gz
I was also able to confirm that the problem is gone with the latest bits in main, @tmds PR fixed it.
The fix was merged to main on June 25th, but the Preview6 snap happened on June 19th, so this should be fixed in Preview7.
The runfo tool fails to read some tar files with the exception shown below. The jobID and workItem used are from a CI leg for iOS: job | log
The runfo tool is currently targeting net7.0 so I thought the tar bug was in that version. But I cloned the project, bumped the TargetFramework to net8.0, rebuilt, ran the command using the updated version, and I am still seeing the issue.
I'll share more details after I crack open the file.