ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.56k stars 931 forks source link

[Bug]: zstd v1.5.6 fails to install #5658

Closed Kosette closed 3 months ago

Kosette commented 4 months ago

Prerequisites

Package Name

zstd/main

Expected/Current Behaviour

Installation failed due to a change in the package structure.

I have checked the last three package versions and their structure is different. The structure of the packages as follows:

zstd-v1.5.6-win64.zip latest

__zstd-v1.5.6-win64.zip 
  |__ zstd-v1.5.6-win64.zip (a zip in zip, don't know why)
     |___ zstd-v1.5.6-win64 (folder)
         |__ zstd.exe
         |__ other contents

zstd-v1.5.5-win64.zip

__ zstd-v1.5.5-win64.zip
  |___ zstd-v1.5.5-win64 (folder)
      |__ zstd.exe
      |__ other contents

zstd-v1.5.4-win64.zip

__zstd-v1.5.4-win64.zip (no folder) 
  |__ zstd.exe
  |__ other contents

I don't know if there will be a next time, maybe this issue should be reported to facebook/zstd, but I'm not sure.

Steps to Reproduce

`scoop install zstd` or `scoop update zstd`

Possible Solution

i'm not sure.🤔

Scoop and Buckets Version

v0.3.1

Scoop Config

not related

PowerShell Version

not related

Additional Softwares

No response

Arteiimis commented 4 months ago

same

YDX-2147483647 commented 3 months ago

Similar issues in previous versions:

Maybe we should fix zstd instead?

https://github.com/facebook/zstd/commits/dev/.github/workflows/windows-artifacts.yml

Kosette commented 3 months ago

Before this issue been resolved, referencing this manifest to bypass temporarily.

Kosette commented 3 months ago

Closed. Zstd developers have fix it, no more double-zipped. https://github.com/facebook/zstd/issues/4000