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

Building container: make: No rule to make target 'verdictd' #40

Open
katexochen opened this issue Apr 28, 2023 · 1 comment
Open

Building container: make: No rule to make target 'verdictd' #40

katexochen opened this issue Apr 28, 2023 · 1 comment

Comments

@katexochen
Copy link

Hi, I'm trying to build verdictd with the Dockerfile of this repo, but the build failes:

❯ DOCKER_BUILDKIT=1 docker build .
[+] Building 121.4s (17/22)                                                                                                                                      
 => [internal] load build definition from Dockerfile                                                                                                        0.0s
 => => transferring dockerfile: 2.18kB                                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                                           0.0s
 => => transferring context: 34B                                                                                                                            0.0s
 => [internal] load metadata for registry.cn-hangzhou.aliyuncs.com/alinux/alinux3:latest                                                                    7.7s
 => [internal] load build context                                                                                                                           0.0s
 => => transferring context: 14.22kB                                                                                                                        0.0s
 => [builder  1/10] FROM registry.cn-hangzhou.aliyuncs.com/alinux/alinux3@sha256:b13ee33ddf5cb046c23e2a5573ca04bd09bbb5afe55487d2a6055a496f2e8bba           0.0s
 => CACHED [stage-1 2/9] RUN yum install -y yum-utils                                                                                                       0.0s
 => CACHED [stage-1 3/9] RUN yum install -y clang wget tar                                                                                                  0.0s
 => CACHED [stage-1 4/9] RUN wget https://download.01.org/intel-sgx/sgx-dcap/1.15/linux/distro/Anolis86/sgx_rpm_local_repo.tgz; tar xzvf sgx_rpm_local_rep  0.0s
 => CACHED [builder  2/10] WORKDIR /usr/src/verdictd                                                                                                        0.0s
 => [builder  3/10] COPY . .                                                                                                                                0.3s
 => [builder  4/10] RUN yum install -y yum-utils                                                                                                           34.2s
 => [builder  5/10] RUN yum install -y clang cmake curl git gnupg clang-devel openssl-devel protobuf-devel llvm-devel make pkg-config protobuf-compiler w  68.2s
 => [builder  6/10] RUN wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz                                                                                  2.8s 
 => [builder  7/10] RUN tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz                                                                                  2.4s 
 => [builder  8/10] RUN wget https://download.01.org/intel-sgx/sgx-dcap/1.15/linux/distro/Anolis86/sgx_rpm_local_repo.tgz; tar xzvf sgx_rpm_local_repo.tgz  4.6s 
 => [builder  9/10] RUN rpm -ivh /usr/src/verdictd/deps/rats-tls-tdx-0.6.4-1.al8.x86_64.rpm                                                                 0.5s 
 => ERROR [builder 10/10] RUN git reset --hard 1d632be; make verdictd && make install                                                                       0.5s 
------                                                                                                                                                           
 > [builder 10/10] RUN git reset --hard 1d632be; make verdictd && make install:                                                                                  
#17 0.413 HEAD is now at 1d632beb verdictd: support CSV verification callback (#23)                                                                              
#17 0.418 make: *** No rule to make target 'verdictd'.  Stop.                                                                                                    
------
executor failed running [/bin/sh -c git reset --hard ${VERDICTD_COMMIT}; make verdictd && make install]: exit code: 2

The Makefile of the pinned commit doesn't seem to fit the current Dockerfile.

@katexochen katexochen changed the title Building container: make: *** No rule to make target 'verdictd' Building container: make: No rule to make target 'verdictd' Apr 28, 2023
@katexochen
Copy link
Author

#37 seems to resolve this issue.

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