-
Notifications
You must be signed in to change notification settings - Fork 11
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
Comments
This impacts a lot of other systems that depend on cl-libuv. |
Weird, the recent PR/commit that introduced this change looked pretty benign. Am I missing something that would cause this? |
I'm not sure. Maybe it interacts badly with recent updates to cffi?
Do you see the build problem also?
…On Thu, May 25, 2023 at 12:24 PM andrew lyon ***@***.***> wrote:
Weird, the recent PR/commit that introduced this change looked pretty
benign. Am I missing something that would cause this?
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPNLJB2H4DY3UUQDEOEMDXH6BSBANCNFSM6AAAAAAYO23KHI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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. |
Hmm, now I can't reproduce the error. I'm going to dig a bit more.
…On Thu, May 25, 2023 at 2:12 PM andrew lyon ***@***.***> wrote:
Are you able to test if rolling back 19fbd1a
<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.
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPNLMVAK3MG2GTAG33YU3XH6OHHANCNFSM6AAAAAAYO23KHI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I asked about this on the cffi list and got this reply from Madhu:
No, the problem is in libuv commit dd6df07 on 2023-05-23
21:56:08 which introduces a form at the top of the file grovel.lisp:
```
(in-package :libuv)
+#.(when (uiop:getenv "HOMEBREW_PREFIX")
+ (pushnew :homebrew *features*)
+ (values))
+
```
This fools the loop in grovel/grove.lisp (generate-c-file) which has
```
(flet ((read-forms (s)
(do ((forms ())
(form (read s nil nil) (read s nil nil)))
((null form) (nreverse forms))
```
The first form is "(in-package :libuv)"
If your environment doesn't have HOMEBREW_PREFIX the second form is
read with READ-EVAL T as NIL and the reader loop exits and you end up
with an empty C file with nothing other than the inpackage form.
You could change the loop, but I'd suggest that you don't use
top-level reader conditionals in the grovel.lisp file, set up the features
outside of the grovel.lisp file.
…On Thu, May 25, 2023 at 8:39 PM Zach Beane ***@***.***> wrote:
Hmm, now I can't reproduce the error. I'm going to dig a bit more.
On Thu, May 25, 2023 at 2:12 PM andrew lyon ***@***.***>
wrote:
> Are you able to test if rolling back 19fbd1a
> <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.
>
> —
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACPNLMVAK3MG2GTAG33YU3XH6OHHANCNFSM6AAAAAAYO23KHI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
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
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:
Full log here
The text was updated successfully, but these errors were encountered: