Skip to content

Error in building example 4 #41

Description

@amirmohammadeftekhar

After running the install.sh in the main directory I tried to run the 4th example but I got this error:

# Build the base snapchange target container
docker build -t snapchange_base_target \
  -f Dockerfile.base_target \
  .
[+] Building 0.8s (6/6) FINISHED                                                                                                                                                                                                docker:default
 => [internal] load build definition from Dockerfile.base_target                                                                                                                                                                          0.0s
 => => transferring dockerfile: 222B                                                                                                                                                                                                      0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/alpine:edge                                                                                                                                                                            0.8s
 => [internal] load .dockerignore                                                                                                                                                                                                         0.0s
 => => transferring context: 207B                                                                                                                                                                                                         0.0s
 => [1/2] FROM docker.io/library/alpine:edge@sha256:b93f4f6834d5c6849d859a4c07cc88f5a7d8ce5fb8d2e72940d8edd8be343c04                                                                                                                      0.0s
 => CACHED [2/2] RUN apk add --no-cache --initramfs-diskless-boot python3 gdb curl tar build-base perf     nasm gcc git musl-dbg clang compiler-rt llvm gcompat                                                                           0.0s
 => exporting to image                                                                                                                                                                                                                    0.0s
 => => exporting layers                                                                                                                                                                                                                   0.0s
 => => writing image sha256:c1f4ec8d5a1e863eae56e0af7246610436fde94744a97cf5bf4532cc50d98b05                                                                                                                                              0.0s
 => => naming to docker.io/library/snapchange_base_target                                                                                                                                                                                 0.0s

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
make[2]: Leaving directory '/home/eftekhar/fuzzing/programs/snapchange/docker'
make[1]: Leaving directory '/home/eftekhar/fuzzing/programs/snapchange/examples/04_syscall_fuzzer'
docker run --rm -i \
        -v /home/eftekhar/fuzzing/programs/snapchange/examples/04_syscall_fuzzer/snapshot:/snapshot \
        -e SNAPSHOT_IMGTYPE=initramfs \
        $(cat dockers/snapshot_image) >/dev/null 2>&1

cargo build -r >/dev/null 2>&1
make: *** [Makefile:36: fuzzer] Error 101

The problem is it doesn't give more information for debugging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions