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

bee build fails with no such file or directory error #36

Open
Akasurde opened this issue Jan 6, 2022 · 2 comments
Open

bee build fails with no such file or directory error #36

Akasurde opened this issue Jan 6, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Akasurde
Copy link
Contributor

Akasurde commented Jan 6, 2022

vagrant@impish:~$ bee build /tmp/hello.c hello:v1
▄  Compiling BPF program locally (58s)Unable to find image 'ghcr.io/solo-io/bumblebee/builder:0.0.9' locally
0.0.9: Pulling from solo-io/bumblebee/builder
0e29546d541c: Pulling fs layer
fca6a5226638: Pulling fs layer
afcfaa23af5a: Pulling fs layer
d35920e59df0: Pulling fs layer
4f601b52c7f8: Pulling fs layer
fc2c674a0c0b: Pulling fs layer
9feed63100ed: Pulling fs layer
bed84b2b6d89: Pulling fs layer
fb7b09ef9b9e: Pulling fs layer
2999dd9432b1: Pulling fs layer
bcf743229f06: Pulling fs layer
9feed63100ed: Waiting
bed84b2b6d89: Waiting
fb7b09ef9b9e: Waiting
d35920e59df0: Waiting
4f601b52c7f8: Waiting
fc2c674a0c0b: Waiting
2999dd9432b1: Waiting
bcf743229f06: Waiting
afcfaa23af5a: Download complete
d35920e59df0: Verifying Checksum
d35920e59df0: Download complete
4f601b52c7f8: Verifying Checksum
4f601b52c7f8: Download complete
fca6a5226638: Verifying Checksum
fca6a5226638: Download complete
0e29546d541c: Verifying Checksum
0e29546d541c: Download complete
9feed63100ed: Verifying Checksum
9feed63100ed: Download complete
bed84b2b6d89: Verifying Checksum
bed84b2b6d89: Download complete
fb7b09ef9b9e: Verifying Checksum
fb7b09ef9b9e: Download complete
2999dd9432b1: Verifying Checksum
2999dd9432b1: Download complete
bcf743229f06: Download complete
0e29546d541c: Pull complete
fca6a5226638: Pull complete
afcfaa23af5a: Pull complete
d35920e59df0: Pull complete
4f601b52c7f8: Pull complete
fc2c674a0c0b: Verifying Checksum
fc2c674a0c0b: Download complete
fc2c674a0c0b: Pull complete
9feed63100ed: Pull complete
bed84b2b6d89: Pull complete
fb7b09ef9b9e: Pull complete
2999dd9432b1: Pull complete
bcf743229f06: Pull complete
Digest: sha256:4c4f21da350cc95acd0e1b3f0e3a4b5cc1a8b7aa4a197c097bbdb470abb83305
Status: Downloaded newer image for ghcr.io/solo-io/bumblebee/builder:0.0.9
clang: error: no such file or directory: '/tmp/hello.c'
clang: error: no input files

  ERROR   Failed to compile BPF program
Error: exit status 1
2022/01/06 10:26:24 exiting: exit status 1
@yuval-k
Copy link
Member

yuval-k commented Jan 6, 2022

This is due to the fact the build is performed using docker, and only the current directory is shared with the container (see here).
cd to the /tmp folder and running bee build hello.c hello:v1 should work

@yuval-k yuval-k added the bug Something isn't working label Jan 6, 2022
@Akasurde
Copy link
Contributor Author

Akasurde commented Jan 7, 2022

@yuval-k Yes. I observed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants