empiredan opened a new pull request, #1768: URL: https://github.com/apache/incubator-pegasus/pull/1768
https://github.com/apache/incubator-pegasus/issues/1347 Fix error "ImportError: No module named skbuild" while building CentOS 6 and 7. This PR is to cherry-pick #1356 to solve #1347. The reported error is: ``` #15 [11/13] RUN pip install --no-cache-dir cmake #15 1.602 Collecting cmake #15 2.225 Downloading https://files.pythonhosted.org/packages/3e/6b/76ca411a4317bdc0012de597c245a59c824aef1f71dd83e8de0b5ec9bc32/cmake-3.27.9.tar.gz (42kB) #15 2.325 Complete output from command python setup.py egg_info: #15 2.325 Traceback (most recent call last): #15 2.325 File "<string>", line 1, in <module> #15 2.325 File "/tmp/pip-build-56Lgw_/cmake/setup.py", line 8, in <module> #15 2.325 from skbuild import setup #15 2.325 ImportError: No module named skbuild #15 2.325 #15 2.325 ---------------------------------------- #15 2.332 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-56Lgw_/cmake/ #15 2.528 You are using pip version 8.1.2, however version 23.3.1 is available. #15 2.528 You should consider upgrading via the 'pip install --upgrade pip' command. #15 ERROR: process "/bin/sh -c pip install --no-cache-dir cmake" did not complete successfully: exit code: 1 ------ > [11/13] RUN pip install --no-cache-dir cmake: 2.325 Traceback (most recent call last): 2.325 File "<string>", line 1, in <module> 2.325 File "/tmp/pip-build-56Lgw_/cmake/setup.py", line 8, in <module> 2.325 from skbuild import setup 2.325 ImportError: No module named skbuild 2.325 2.325 ---------------------------------------- 2.332 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-56Lgw_/cmake/ 2.528 You are using pip version 8.1.2, however version 23.3.1 is available. 2.528 You should consider upgrading via the 'pip install --upgrade pip' command. ------ Dockerfile:79 -------------------- 77 | ENV LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:$PYTHON2_HOME/lib64/:$LD_LIBRARY_PATH 78 | 79 | >>> RUN pip install --no-cache-dir cmake 80 | 81 | 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 pip install --no-cache-dir cmake" did not complete successfully: exit code: 1 Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir cmake" did not complete successfully: exit code: 1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
