JCWasmx86 / mesonlsp

An unofficial, unendorsed language server for meson written in C++
GNU General Public License v3.0
65 stars 8 forks source link

Both apple architecture zip archives in the releases section are invalid #66

Closed jasmith79 closed 7 months ago

jasmith79 commented 7 months ago

Currently the apple darwin zip archives seem to be broken.

To Reproduce Steps to reproduce the behavior:

  1. Download the archive, e.g. curl -OJ https://github.com/JCWasmx86/mesonlsp/releases/download/v4.1.8/mesonlsp-aarch64-apple-darwin.zip
  2. Attempt to unzip the archive unzip mesonlsp-aarch64-apple-darwin.zip
  3. See error:

End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of mesonlsp-aarch64-apple-darwin.zip or mesonlsp-aarch64-apple-darwin.zip.zip, and cannot find mesonlsp-aarch64-apple-darwin.zip.ZIP , period.

Expected behavior I expect the unarchiving to work. To test I ran through exactly the same steps with the gnu-windows zip file and it worked fine, although obviously is useless on a Mac.

System info

Additional context Windows zip archive works as expected, only the Mac releases seem impacted. I also tested at least the aarch zip archive back to 4.1.2, all were affected.

JCWasmx86 commented 7 months ago

Weird. For me this command:

curl -OJ https://github.com/JCWasmx86/mesonlsp/releases/download/v4.1.8/mesonlsp-aarch64-apple-darwin.zip

just creates an empty file, if I add -L to the command it works :/

jasmith79 commented 7 months ago

Weird. Github must be doing some sort of redirect. Anyway thanks for the help!