-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Linking error when building deno for Alpine Docker #3243
Comments
I wonder if the strategy here is to build on another OS using |
DO we have any idea what is preventing this from compiling on Alpine, is it Glibc? Edit: okay its rust and musl. Seems they are still attempting a port? |
Glibc is essentially the issue... The latest (and working but a hack) is here: #3711 (comment) If we can move from is a .gn patch to using arguments and supporting it in denoland's repos that would be preferable. |
Ref #1658 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as dupe of #1658. |
When building from this Docker file, I am able to build all rust modules but in fails in the last few steps (xlink #1658 #1456):
I've tried toggling a bunch of v8 flags to no avail...
I've published this mostly built docker image as hayd/test:failing-0.22.0, so you can reproduce this with the following one line Dockerfile:
which allows you to run into the failure in around ~15s (since most of the compilation is already done):
e.g.
cd deno/cli && RUST_BACKTRACE=1 DENO_NO_BINARY_DOWNLOAD=1 DENO_BUILD_ARGS='clang_use_chrome_plugins=false treat_warnings_as_errors=false use_sysroot=false clang_base_path="/usr" use_glib=false use_custom_libcxx=false use_custom_libcxx_for_host=false use_gold=true' DENO_GN_PATH=gn cargo install --locked --root .. --path .
Version info:
The text was updated successfully, but these errors were encountered: