fukamachi / dexador

A fast HTTP client for Common Lisp
http://ultra.wikia.com/wiki/Dexador
379 stars 41 forks source link

quickload build failure on Allegro Express 10.1, Windows 11 #154

Open criesbeck opened 1 year ago

criesbeck commented 1 year ago

I was able to (ql:quickload "dexador") and run a test with (dex:get "https://lisp.org") on Lispworks in my Windows 11 machine, but I get the following failure with Allegro Express 10.1.

(ql:quickload "dexador")
To load "dexador":
  Load 19 ASDF systems:
    alexandria asdf babel bordeaux-threads chipz chunga
    cl+ssl cl-base64 cl-cookie cl-ppcre fast-http fast-io
    quri trivial-features trivial-garbage
    trivial-gray-streams trivial-mimes uiop usocket
  Install 1 Quicklisp release:
    dexador
; Loading "dexador"
; gcc -o "C:\Users\ckr427\AppData\Local\cache\common-lisp\acl-10.1-win-x86\C\Users\ckr427\quicklisp\dists\quicklisp\software\static-vectors-v1.8.9\src\ffi-types__grovel-tmp4cyia148.obj" -c -m32 "-IC:\Users\ckr427\quicklisp\dists\quicklisp\software\cffi-20230618-git\\" "C:\Users\ckr427\AppData\Local\cache\common-lisp\acl-10.1-win-x86\C\Users\ckr427\quicklisp\dists\quicklisp\software\static-vectors-v1.8.9\src\ffi-types__grovel.c"
; gcc -o "C:\Users\ckr427\AppData\Local\cache\common-lisp\acl-10.1-win-x86\C\Users\ckr427\quicklisp\dists\quicklisp\software\static-vectors-v1.8.9\src\ffi-types__grovel-tmp3kzu6hgg.exe" -m32 -Wl,--export-dynamic "C:\Users\ckr427\AppData\Local\cache\common-lisp\acl-10.1-win-x86\C\Users\ckr427\quicklisp\dists\quicklisp\software\static-vectors-v1.8.9\src\ffi-types__grovel.obj"
Error: Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO @ #x22967472>
 with command ("gcc" "-o" "C:\\Users\\ckr427\\AppData\\Local\\cache\\common-lisp\\acl-10.1-win-x86\\C\\Users\\ckr427\\quicklisp\\dists\\quicklisp\\software\\static-vectors-v1.8.9\\src\\ffi-types__grovel-tmp3kzu6hgg.exe" "-m32" "-Wl,--export-dynamic" "C:\\Users\\ckr427\\AppData\\Local\\cache\\common-lisp\\acl-10.1-win-x86\\C\\Users\\ckr427\\quicklisp\\dists\\quicklisp\\software\\static-vectors-v1.8.9\\src\\ffi-types__grovel.obj")
 exited with error code 1
[condition type: GROVEL-ERROR]
("dexador")

The OBJ file exists:

 Directory of C:\Users\ckr427\AppData\Local\cache\common-lisp\acl-10.1-win-x86\C\Users\ckr427\quicklisp\dists\quicklisp\software\static-vectors-v1.8.9\src

08/04/2023  11:26 AM    <DIR>          .
08/04/2023  10:43 AM    <DIR>          ..
08/04/2023  10:43 AM             5,413 constantp.fasl
08/04/2023  11:26 AM               900 ffi-types__grovel.c
08/04/2023  11:26 AM             2,758 ffi-types__grovel.obj
08/04/2023  10:43 AM             3,120 pkgdcl.fasl
               4 File(s)         12,191 bytes
               2 Dir(s)  848,324,911,104 bytes free

Originally I was getting a file or directory not found on the first GCC call, so I tried installing MingGW gcc to see if that was the issue. That seemed to get me a step farther. As I said, I had no trouble on the same machine with Lispworks, before installing MingGW.

criesbeck commented 1 year ago

(ql:quickload "dexador") and (dex:get "https://lisp.org") also worked with SBCL on the same Windows machine. Only Allegro Express fails.