=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for afl++-2.62cnb2 Python 2.7.18 gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full -c src/afl-common.c -o src/afl-common.o [*] Checking for the default compiler cc... gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full -c src/afl-sharedmem.c -o src/afl-sharedmem.o [+] shmat seems to be working. [+] Everything seems to be working, ready to compile. gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full -c src/afl-forkserver.c -o src/afl-forkserver.o [+] support seems to be working. [*] Checking for the ability to compile x86 code... :1:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-gcc.c -o afl-gcc -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-gotcpu.c -o afl-gotcpu -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon src/afl-as.c -o afl-as -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-showmap -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o -o afl-analyze -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-globals.c src/afl-fuzz-init.c src/afl-fuzz-misc.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-queue.c src/afl-fuzz-redqueen.c src/afl-fuzz-run.c src/afl-fuzz-stats.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-fuzz -DUSE_PYTHON -I/usr/pkg/include/python2.7 -I/usr/pkg/include/python2.7 -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread -lpython2.7 -lintl -lutil -lm -Wl,--export-dynamic -DPYTHON_VERSION="\"\"" -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread gcc -O2 -I/usr/include -I/usr/pkg/include -Wall -g -Wno-pointer-sign -I include/ -DAFL_PATH=\"/usr/pkg/lib/afl\" -DBIN_PATH=\"/usr/pkg/bin\" -DDOC_PATH=\"/usr/pkg/share/doc/afl\" -Wno-unused-function -fcommon -flto=full src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-tmin -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpthread set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done ln -sf afl-as as [*] Testing the CC wrapper and instrumentation output... ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null echo 1 | ./afl-showmap -m none -q -o .test-instr1 ./test-instr Oops, the instrumentation does not seem to be behaving correctly! Please post to https://github.com/vanhauser-thc/AFLplusplus/issues to troubleshoot the issue. gmake: *** [Makefile:335: test_build] Error 1 gmake: *** Waiting for unfinished jobs.... ld: /pbulk/work/devel/afl++/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: /pbulk/work/devel/afl++/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/afl++ *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/afl++