roswell / roswell

intended to be a launcher for a major lisp environment that just works.
MIT License
1.78k stars 120 forks source link

ccl 1.12.1 installation fails on win32-headers directory #491

Open mirkov opened 3 years ago

mirkov commented 3 years ago

Environment

# result of evaluating
uname -a: MSYS_NT-10.0-19042 USFM8CW33 3.2.0-340.x86_64 2021-07-02 08:36 UTC x86_64 Msys
ros --version: roswell 21.01.14.108
ros config:
asdf.version=3.3.4.8
sbcl.version=2.1.1
emacs.type=slime
slime.version=2019.12.27
ccl-bin.version=1.12
setup.time=3821844470
sbcl-bin.version=2.0.0
default.lisp=sbcl

How to reproduce the issue

ros install ccl-bin

Expected behavior

ccl 1.12.1 installed

Actual result

 ros install ccl-bin
Checking version to install...
Installing ccl-bin/1.12.1...
Skip downloading https://github.com/roswell/ccl_bin/releases/download/1.12.1/ccl-1.12.1-windowsx86.zip
specify download.force=t to download it again.

Extracting archive:C:/Users/mirkov/.roswell/archives/ccl-1.12.1-windowsx86.zip
Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                {10010B0523}>:
  Error opening #P"C:/Users/977315/.roswell/impls/x86-64/windows/ccl-bin/ccl/win32-headers/"

Discussion

The win32-headers directory exists, but is empty:

> ls ~/.roswell/impls/x86-64/windows/ccl-bin/ccl/win32-headers/
/home/mirkov

Assuming that the zip archive is the one from Clozure's site, I can try to help ros install it - but I would need a guide to coax ros to use an extracted zip archive.

Thank you,

snmsts commented 2 years ago

confirmed this issue. :(

3b commented 2 years ago

Looks like the zip file https://github.com/roswell/ccl_bin/releases/download/1.12.1/ccl-1.12.1-windowsx86.zip is (incorrectly per https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) using \ as a path separator instead of /, which confuses zip:unzip.