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

Dockerfile build failed #1559

Closed
acelyc111 opened this issue Jul 6, 2023 · 0 comments
Closed

Dockerfile build failed #1559

acelyc111 opened this issue Jul 6, 2023 · 0 comments
Labels
type/bug This issue reports a bug.

Comments

@acelyc111
Copy link
Member

build_compilation_env_docker_images (ubuntu1804) failed, the logs like:

#9 [5/7] RUN pip3 install --no-cache-dir cmake
#9 0.943 Collecting cmake
#9 1.406   Downloading https://files.pythonhosted.org/packages/8a/a7/da765b3f525ac9ab34e1fb700a4b95307ba33bc408461714b61e0938dd88/cmake-3.26.4.tar.gz
#9 1.499     Complete output from command python setup.py egg_info:
#9 1.501     Traceback (most recent call last):
#9 1.501       File "<string>", line 1, in <module>
#9 1.501     ModuleNotFoundError: No module named 'setuptools'
#9 1.501     
#9 1.501     ----------------------------------------
#9 1.505 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hs7rd736/cmake/
#9 ERROR: process "/bin/sh -c pip3 install --no-cache-dir cmake" did not complete successfully: exit code: 1
------
 > [5/7] RUN pip3 install --no-cache-dir cmake:
0.943 Collecting cmake
1.406   Downloading https://files.pythonhosted.org/packages/8a/a7/da765b3f525ac9ab34e1fb700a4b95307ba33bc408461714b61e0938dd88/cmake-3.26.4.tar.gz
1.499     Complete output from command python setup.py egg_info:
1.501     Traceback (most recent call last):
1.501       File "<string>", line 1, in <module>
1.501     ModuleNotFoundError: No module named 'setuptools'
1.501     
1.501     ----------------------------------------
1.505 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hs7rd736/cmake/
------
Dockerfile:63
--------------------
  61 |         rm -rf /var/lib/apt/lists/*
  62 |     
  63 | >>> RUN pip3 install --no-cache-dir cmake
  64 |     
  65 |     RUN wget --progress=dot:giga https://github.com/apache/thrift/archive/refs/tags/0.11.0.tar.gz -P /opt/thrift && \
--------------------
ERROR: failed to solve: process "/bin/sh -c pip3 install --no-cache-dir cmake" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip3 install --no-cache-dir cmake" did not complete successfully: exit code: 1
@acelyc111 acelyc111 added the type/bug This issue reports a bug. label Jul 6, 2023
empiredan pushed a commit that referenced this issue Jul 6, 2023
#1559

Fix the error of `pip3 install --no-cache-dir cmake`
empiredan pushed a commit to empiredan/pegasus that referenced this issue Dec 13, 2023
empiredan added a commit that referenced this issue Dec 13, 2023
…-pick #1558) (#1767)

#1559

Fix the error of `pip3 install --no-cache-dir cmake`

This PR is to cherry-pick #1558 to solve #1559.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

1 participant