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

Execute run.sh and report an error #175

Open
pjcwp opened this issue Feb 22, 2025 · 0 comments
Open

Execute run.sh and report an error #175

pjcwp opened this issue Feb 22, 2025 · 0 comments

Comments

@pjcwp
Copy link

pjcwp commented Feb 22, 2025

The following error message is given in the log, which is the application status:

++ id -u root
++ id -g root

  • docker build -t magma/titan/libpng --build-arg fuzzer_name=titan --build-arg target_name=libpng --build-arg USER_ID=0 --build-arg GROUP_ID=0 --build-arg canaries=1 -f /home/test/magma/docker/Dockerfile /home/test/magma
    DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
    Install the buildx component to build images with BuildKit:
    https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 171.9MB

Step 1/61 : FROM ubuntu:18.04
---> f9a80a55f492
Step 2/61 : RUN apt-get update && apt-get install -y sudo
---> Using cache
---> 3fa6902f061d
Step 3/61 : ARG magma_root=./
---> Using cache
---> 7f9847b8174f
Step 4/61 : ENV MAGMA_R /magma
---> Using cache
---> 2fac672404b7
Step 5/61 : ENV OUT /magma_out
---> Using cache
---> d66346b5948c
Step 6/61 : ENV SHARED /magma_shared
---> Using cache
---> 0e5ee52a0052
Step 7/61 : ENV CC /usr/bin/gcc
---> Using cache
---> 532d9a6c835d
Step 8/61 : ENV CXX /usr/bin/g++
---> Using cache
---> ecaa9212358a
Step 9/61 : ENV LD /usr/bin/ld
---> Using cache
---> 6acc1c1dd447
Step 10/61 : ENV AR /usr/bin/ar
---> Using cache
---> 78091d963da9
Step 11/61 : ENV AS /usr/bin/as
---> Using cache
---> 440cb705e08c
Step 12/61 : ENV NM /usr/bin/nm
---> Using cache
---> b3f0c24cab95
Step 13/61 : ENV RANLIB /usr/bin/ranlib
---> Using cache
---> 490f719ecff7
Step 14/61 : ARG USER_ID=1000
---> Using cache
---> 20db717e5c1e
Step 15/61 : ARG GROUP_ID=1000
---> Using cache
---> 3cbfddd69567
Step 16/61 : RUN mkdir -p /home && groupadd -g ${GROUP_ID} magma && useradd -l -u ${USER_ID} -K UMASK=0000 -d /home -g magma magma && chown magma:magma /home
---> Running in 1af0e721eefe
�[91mgroupadd: GID '0' already exists
�[0mThe command '/bin/sh -c mkdir -p /home && groupadd -g ${GROUP_ID} magma && useradd -l -u ${USER_ID} -K UMASK=0000 -d /home -g magma magma && chown magma:magma /home' returned a non-zero code: 4

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