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

ERROR: failed to solve: process "/bin/sh -c mkdir build; cd build; CC=clang CXX=clang++ cmake ..;" did not complete successfully: exit code: 1 #14

Open
ezra63837 opened this issue May 16, 2024 · 0 comments

Comments

@ezra63837
Copy link

clean it up.
Building altserver
[+] Building 0.7s (11/23) docker:default
=> [internal] load build definition from altserver.dockerfile 0.0s
=> => transferring dockerfile: 1.50kB 0.0s
=> [internal] load metadata for docker.io/library/alpine:3.15 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/20] FROM docker.io/library/alpine:3.15 0.0s
=> CACHED [ 2/20] RUN apk add zsh git curl wget g++ clang boost-static ninja boost-dev cmake make sudo bash vim libressl-dev util-linux-dev zlib-dev zlib-static 0.0s
=> CACHED [ 3/20] RUN mkdir /buildenv 0.0s
=> CACHED [ 4/20] WORKDIR /buildenv 0.0s
=> CACHED [ 5/20] RUN curl -JO 'https://developer.apple.com/file/?file=security&agree=Yes' -H 'Referer: https://developer.apple.com/security/' && unzip corecrypto.zip 0.0s
=> CACHED [ 6/20] WORKDIR /buildenv/corecrypto 0.0s
=> CACHED [ 7/20] RUN git clone https://github.com/StableCoder/cmake-scripts scripts 0.0s
=> ERROR [ 8/20] RUN mkdir build; cd build; CC=clang CXX=clang++ cmake ..; 0.6s

[ 8/20] RUN mkdir build; cd build; CC=clang CXX=clang++ cmake ..;:
0.461 CMake Error: The source directory "/buildenv/corecrypto" does not appear to contain CMakeLists.txt.
0.461 Specify --help for usage, or press the help button on the CMake GUI.


altserver.dockerfile:15

13 | # Needed for script-coverage (Line 29 of corecrypto cmake)
14 | RUN git clone https://github.com/StableCoder/cmake-scripts scripts
15 | >>> RUN mkdir build; cd build; CC=clang CXX=clang++ cmake ..;
16 | WORKDIR /buildenv/corecrypto/build
17 | RUN sed -i -E 's|^(all: CMakeFiles/corecrypto_perf)|#\1|' CMakeFiles/Makefile2; sed -i -E 's|^(all: CMakeFiles/corecrypto_test)|#\1|' CMakeFiles/Makefile2

ERROR: failed to solve: process "/bin/sh -c mkdir build; cd build; CC=clang CXX=clang++ cmake ..;" did not complete successfully: exit code: 1
ERROR: Service 'altserver' failed to build : Build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant