-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can't build on FreeBSD due to lack of downstream support in rquickjs #33
Labels
bug
Something isn't working
Comments
Ok, turns out this can be fixed just by adding |
Related to #30 My comment still counts: #30 (comment) |
A friend opened an issue over at rquickjs to ask them to enable bindgen by default on unsupported targets. |
In the meantime, I opened a PR to enable bindgen at inv_sig_helper side. |
Use conditionals: [target.'cfg(target_os = "freebsd")'.dependencies]
rquickjs = { version = "0.6.0", features = ["bindgen", "futures", "parallel"] }
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
rquickjs = { version = "0.6.0", features = ["futures", "parallel"] } |
Thanks @yonas can you create a PR :)? |
cullumsmith
added a commit
to cullumsmith/inv_sig_helper
that referenced
this issue
Dec 14, 2024
When running on FreeBSD, bump the rquickjs version to the next one that manages to build successfully. Fixes iv-org#33
cullumsmith
added a commit
to cullumsmith/inv_sig_helper
that referenced
this issue
Dec 14, 2024
When running on FreeBSD, bump the rquickjs version to 0.6.2 (the next version that manages to build successfully). Fixes iv-org#33
cullumsmith
added a commit
to cullumsmith/inv_sig_helper
that referenced
this issue
Dec 16, 2024
When running on FreeBSD, bump the rquickjs version to 0.6.2 (the next version that manages to build successfully). Fixes iv-org#33
cullumsmith
added a commit
to cullumsmith/inv_sig_helper
that referenced
this issue
Dec 19, 2024
When running on FreeBSD, bump the rquickjs version to 0.6.2 (the next version that manages to build successfully). Fixes iv-org#33
alive4ever
pushed a commit
to alive4ever/inv_sig_helper
that referenced
this issue
Jan 17, 2025
When running on FreeBSD, bump the rquickjs version to 0.6.2 (the next version that manages to build successfully). Fixes iv-org#33
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to get this running on FreeBSD but hit a brick wall.
First issue is that the latest rust package on FreeBSD is broken due to linking to the wrong libc, resulting in:
This has been reported but not fixed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282638
I used rustup instead, and got rustc/cargo installed ok. But building inv_sig_helper works up to rquickjs-sys, where the 0.6.0 build fails due to an error with a
JS_SetPropertyInternal
call:The issue is that this call doesn't expect the
this_obj
reference. BumpingCargo.toml
to rquickjs-sys 0.6.2 gets past this error, but then fails here:Turns out they removed the FreeBSD bindings back in Jan 2023 due to not being able to generate bindings automatically via GitHub Actions: DelSkayn/rquickjs#101
This leaves me rather stuck. I've commented on that issue but if anyone here has any ideas on how I might get around this please let me know.
The text was updated successfully, but these errors were encountered: