fuzzbench
fuzzbench copied to clipboard
Grammar fuzzer build failed
Hi,
I am trying to build gramatron, grimoire, nautilus on mruby-2018-05-23, php_php-fuzz-execute, quickjs_eval-2020-01-05. I didn't find any experiment after the coverage update to branch coverage(June 2022) as well.
All of them failed with message below:
22.83 error: failed to run custom build command for `libafl_cc v0.7.1 (/libafl_fuzzbench/LibAFL/libafl_cc)`
22.83
22.83 Caused by:
22.83 process didn't exit successfully: `/libafl_fuzzbench/target/release/build/libafl_cc-0be3a92c904ab576/build-script-build` (exit status: 101)
22.83 --- stdout
22.83 cargo:rerun-if-env-changed=LLVM_CONFIG
22.83 cargo:rerun-if-env-changed=LIBAFL_EDGES_MAP_SIZE
22.83 cargo:rerun-if-env-changed=LIBAFL_ACCOUNTING_MAP_SIZE
22.83 cargo:rerun-if-changed=src/common-llvm.h
22.83 cargo:rerun-if-changed=src/cmplog-routines-pass.cc
22.83 cargo:rerun-if-changed=src/afl-coverage-pass.cc
22.83 cargo:rerun-if-changed=src/autotokens-pass.cc
22.83 cargo:rerun-if-changed=src/coverage-accounting-pass.cc
22.83
22.83 --- stderr
22.83 thread 'main' panicked at LibAFL/libafl_cc/build.rs:191:14:
22.83 Failed to compile cmplog-routines-pass.cc: Os { code: 2, kind: NotFound, message: "No such file or directory" }
22.83 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
22.83 warning: build failed, waiting for other jobs to finish...
22.84 warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
22.84 --> LibAFL/libafl_derive/src/lib.rs:42:9
22.84 |
22.84 42 | const_err,
22.84 | ^^^^^^^^^
22.84 |
22.84 = note: `#[warn(renamed_and_removed_lints)]` on by default
22.84
22.84 warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
22.84 --> LibAFL/libafl_derive/src/lib.rs:50:9
22.84 |
22.84 50 | private_in_public,
22.84 | ^^^^^^^^^^^^^^^^^
22.84
22.96 warning: `libafl_derive` (lib) generated 2 warnings
------
builder.Dockerfile:46
--------------------
45 | # Compile libafl
46 | >>> RUN cd /libafl_fuzzbench/ && unset CFLAGS && unset CXXFLAGS && \
47 | >>> export CC=clang && export CXX=clang++ && \
48 | >>> export LIBAFL_EDGES_MAP_SIZE=2621440 && \
49 | >>> PATH="$PATH:/root/.cargo/bin/" cargo build --release
50 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /libafl_fuzzbench/ && unset CFLAGS && unset CXXFLAGS && export CC=clang && export CXX=clang++ && export LIBAFL_EDGES_MAP_SIZE=2621440 && PATH=\"$PATH:/root/.cargo/bin/\" cargo build --release" did not complete successfully: exit code: 101
make: *** [docker/generated.mk:201658: .gramatron-mruby-2018-05-23-builder-intermediate] Error 1