question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.0.6 introduced dependency on zstdmt (not just zstd) for cache creation, fails on Windows

See original GitHub issue

As of v3.0.6 this apparently requires zstdmt, not just zstd, which is a major departure. I have not found any Windows binaries for zstdmt. I’m not sure it’s available elsewhere either.

This is what happens:

##[debug]Archive Path: C:\drud-actions-runner\_work\_temp\ff5371eb-5f15-4474-8084-5df62fc397fa\cache.tzst "C:\Program Files\Git\usr\bin\tar.exe" --posix --use-compress-program zstdmt -cf cache.tzst --exclude cache.tzst -P -C C:/drud-actions-runner/_work/ddev/ddev --files-from manifest.txt --force-local /bin/sh: zstdmt: command not found /usr/bin/tar: cache.tzst: Cannot write: Broken pipe

It was already hard enough to get zstd onto Windows… It’s sad to break things now by changing the tar compression format even father.

Previous instructions for getting zstd into a Windows machine were at https://github.com/actions/cache/issues/580#issuecomment-1165839728

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kleisaukecommented, Aug 22, 2022

I can confirm that v3.0.8 fixes the issue, see e.g. commit https://github.com/kleisauke/wasm-vips/commit/50c7d00b8e22986a096aab8c55737bfca245c1b8.

1reaction
pdotlcommented, Aug 22, 2022

Hi @rfay, the tar compression(zstd) on Windows while using the above workaround should now work. Please test and let us know if the issue is now resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cache.saveCache fails for ubuntu-16.04 with zstd enabled
Describe the bug cache.saveCache does not work for ubuntu-16.04 runner, because of the wrong arguments passed to zstd CLI utility.
Read more >
Getting Started - Zstd dev - DocsForge
The project is provided as an open-source dual BSD and GPLv2 licensed C library, and a command line utility producing and decoding .zst...
Read more >
zstd 1.5.1 Manual
zstd, short for Zstandard, is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios. The ...
Read more >
zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst ...
It´s possible to remove them automatically by using the --rm command. • When compressing a single file, zstd displays progress notifications and result...
Read more >
LFS-BOOK-11.2.pdf
My journey to learn and better understand Linux began back in 1998. I had just installed my first Linux distribution.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found