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

Build failed on Ubuntu 20.04 LTS with docker error #50

Open
IntelMin opened this issue Mar 30, 2022 · 1 comment
Open

Build failed on Ubuntu 20.04 LTS with docker error #50

IntelMin opened this issue Mar 30, 2022 · 1 comment

Comments

@IntelMin
Copy link

IntelMin commented Mar 30, 2022

Tried to run make librunecoral-linux-aarch64 command to build this project.
Got the following error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: 
process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/etc/group" to rootfs at "/etc/group" caused: 
mount through procfd: no such file or directory: unknown.
make: *** [Makefile:61: librunecoral-linux-aarch64] Error 127
@saidinesh5
Copy link
Collaborator

Interesting.. This is the docker command that we use to run the container as the current user - so as to not end up with weird permission issues on the generated binaries. ( https://github.com/hotg-ai/librunecoral/blob/master/Makefile )

DOCKER_RUN := docker run -i --rm -v "`pwd`":"`pwd`" \
           -v $$HOME:$$HOME \
           -v /etc/group:/etc/group:ro \
           -v /etc/passwd:/etc/passwd:ro \
           -v /etc/localtime:/etc/localtime:ro \
           -u `id -u $$USER`:`id -g $$USER` \
           -e HOME=$$HOME \
           -e USER=$$USER \
           -w "`pwd`"

I am surprised why you'd be missing the /etc/group file on your machine. Can you check if you have that file? Or remove the offending line from the makefile?

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

2 participants