Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some systems failed to build for Quicklisp dist #23

Closed
quicklisp opened this issue May 25, 2023 · 6 comments
Closed

Some systems failed to build for Quicklisp dist #23

quicklisp opened this issue May 25, 2023 · 6 comments

Comments

@quicklisp
Copy link

Building with SBCL 2.3.3.83-562a1a329 / ASDF 3.3.5 for quicklisp dist creation.

Trying to build commit id 19fbd1a

cl-libuv fails to build with the following error:

; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_loop_size" UV-LOOP-SIZE) ...))
;   Unknown CFFI type SIZE-T
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_now" UV-NOW) ...))
;   Unknown CFFI type UINT64-T
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_handle_size" UV-HANDLE-SIZE) ...))
;   Unknown CFFI type UV-HANDLE-TYPE
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_req_size" UV-REQ-SIZE) ...))
;   Unknown CFFI type UV-REQ-TYPE
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_guess_handle" UV-GUESS-HANDLE) ...))
;   Unknown CFFI type UV-HANDLE-TYPE
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_pipe_pending_type" UV-PIPE-PENDING-TYPE) ...))
;   Unknown CFFI type UV-HANDLE-TYPE
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_timer_start" UV-TIMER-START) ...))
;   Unknown CFFI type UINT64-T
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_timer_set_repeat" UV-TIMER-SET-REPEAT) ...))
;   Unknown CFFI type UINT64-T
...
; caught ERROR:
;   (during macroexpansion of (DEFCFUN ("uv_timer_get_repeat" UV-TIMER-GET-REPEAT) ...))
;   Unknown CFFI type UINT64-T
...
Unhandled CFFI::UNDEFINED-FOREIGN-TYPE-ERROR in thread #<SB-THREAD:THREAD tid=3303063 "main thread" RUNNING {1001738003}>: Unknown CFFI type UV-UID-T

Full log here

@quicklisp
Copy link
Author

This impacts a lot of other systems that depend on cl-libuv.

@orthecreedence
Copy link
Owner

Weird, the recent PR/commit that introduced this change looked pretty benign. Am I missing something that would cause this?

@quicklisp
Copy link
Author

quicklisp commented May 25, 2023 via email

@orthecreedence
Copy link
Owner

Are you able to test if rolling back 19fbd1a fixes the issue? If so I can just revert it, otherwise if this is a larger CFFI issue I don't really have the time to properly debug this. I haven't really touched it in years.

@quicklisp
Copy link
Author

quicklisp commented May 25, 2023 via email

@quicklisp
Copy link
Author

quicklisp commented Jun 8, 2023 via email

quicklisp pushed a commit to quicklisp/cl-libuv that referenced this issue Jun 15, 2023
Doing it in the grovel file confuses the groveler.

Discussion about this on cffi-devel excerpted on
orthecreedence#23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants