-
Notifications
You must be signed in to change notification settings - Fork 527
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
run ./install.sh end with gcc error #5627
Comments
lucasfen
changed the title
fail to install dispatch
run ./install.sh end with gcc error
Dec 18, 2024
seeing the exact same error as @lucasfen Full error below
building on MacOS Sonoma 14.7.2, Apple M3 Pro chip, Docker desktop 4.28.0, docker client 26.0.0 docker server 25.0.3 |
the build is working on https://github.com/Netflix/dispatch/tree/v20230215, after updating the base image to be bullseye instead of buster due to deprecations |
I worked around by adding the following diff --git a/docker/Dockerfile b/docker/Dockerfile
index fcab6e531..df34115c4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -93,6 +93,7 @@ COPY --from=sdist /dist/*.whl /tmp/dist/
RUN buildDeps="" \
&& apt-get update \
&& apt-get install -y --no-install-recommends "$buildDeps" \
+ && apt-get install -y gcc build-essential libffi-dev libssl-dev \
# remove internal index when internal plugins are separated
&& pip install -U /tmp/dist/*.whl \
&& apt-get purge -y --auto-remove "$buildDeps" \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`error: [Errno 2] No such file or directory: 'gcc'
149.9 [end of output]
149.9
149.9 note: This error originates from a subprocess, and is likely not a problem with pip.
149.9 ERROR: Failed building wheel for blis
149.9 Failed to build murmurhash cymem blis
149.9 ERROR: Could not build wheels for murmurhash, cymem, blis, which is required to install pyproject.toml-based projects
149.9 [end of output]
149.9
149.9 note: This error originates from a subprocess, and is likely not a problem with pip.
149.9 error: subprocess-exited-with-error
149.9
149.9 × pip subprocess to install build dependencies did not run successfully.
149.9 │ exit code: 1
149.9 ╰─> See above for output.
149.9
149.9 note: This error originates from a subprocess, and is likely not a problem with pip.
149.9 [end of output]
149.9
149.9 note: This error originates from a subprocess, and is likely not a problem with pip.
149.9 error: subprocess-exited-with-error
149.9
149.9 × pip subprocess to install build dependencies did not run successfully.
149.9 │ exit code: 1
149.9 ╰─> See above for output.
149.9
149.9 note: This error originates from a subprocess, and is likely not a problem with pip.
failed to solve: process "/bin/bash -o pipefail -o errexit -c buildDeps="" && apt-get update && apt-get install -y --no-install-recommends "$buildDeps" && pip install -U /tmp/dist/.whl && apt-get purge -y --auto-remove "$buildDeps" && apt-get install -y --no-install-recommends pkg-config postgresql-client-14 nodejs && apt-get clean && rm -rf /var/lib/apt/lists/ && mkdir -p /mjml_install && cd /mjml_install && npm install --no-cache-dir mjml && mv node_modules / && cd / && rm -rf /mjml_install" did not complete successfully: exit code: 1
Cleaning up...
`
The text was updated successfully, but these errors were encountered: