>>> Building on exopi-1 under devel/afl++ BDEPENDS = [devel/gmake;devel/llvm/22] DIST = [devel/afl++:AFLplusplus-4.32c.tar.gz] FULLPKGNAME = afl++-4.32cp1 RDEPENDS = [lang/gawk] (Junk lock obtained for exopi-1 at 1780795314.06) >>> Running depends in devel/afl++ at 1780795314.12 last junk was in security/aircrack-ng /usr/sbin/pkg_add -aI -Drepair llvm-22.1.7 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1p0 llvm-22.1.7 /usr/sbin/pkg_add -aI -Drepair llvm-22.1.7 >>> Running show-prepare-results in devel/afl++ at 1780795318.38 ===> devel/afl++ ===> Building from scratch afl++-4.32cp1 ===> afl++-4.32cp1 depends on: llvm->=22,<23 -> llvm-22.1.7 ===> afl++-4.32cp1 depends on: gmake-* -> gmake-4.4.1p0 ===> Verifying specs: c++ c++abi pthread c m z ===> found c++.12.0 c++abi.9.0 pthread.28.1 c.103.0 m.10.1 z.7.2 gmake-4.4.1p0 llvm-22.1.7 Don't run junk because nojunk in cad/librecad (Junk lock released for exopi-1 at 1780795319.31) distfiles size=3045679 >>> Running patch in devel/afl++ at 1780795319.35 ===> devel/afl++ ===> Checking files for afl++-4.32cp1 `/exopi-cvs/ports/distfiles/AFLplusplus-4.32c.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for afl++-4.32cp1 ===> Patching for afl++-4.32cp1 ===> Applying OpenBSD patch patch-GNUmakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: GNUmakefile |--- GNUmakefile.orig |+++ GNUmakefile -------------------------- Patching file GNUmakefile using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 332. Hunk #3 succeeded at 698. done ===> Applying OpenBSD patch patch-GNUmakefile_llvm Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: GNUmakefile.llvm |--- GNUmakefile.llvm.orig |+++ GNUmakefile.llvm -------------------------- Patching file GNUmakefile.llvm using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-afl-cmin Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- d822181467ec41f1ee2d840c3c5b1918c72ffc86 introduced a bunch of gawk-isms. |- nproc doesn't exist on OpenBSD | |Index: afl-cmin |--- afl-cmin.orig |+++ afl-cmin -------------------------- Patching file afl-cmin using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 373. done ===> Applying OpenBSD patch patch-utils_aflpp_driver_aflpp_driver_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: utils/aflpp_driver/aflpp_driver.c |--- utils/aflpp_driver/aflpp_driver.c.orig |+++ utils/aflpp_driver/aflpp_driver.c -------------------------- Patching file utils/aflpp_driver/aflpp_driver.c using Plan A... Hunk #1 succeeded at 236. done ===> Compiler link: gcc -> /usr/local/bin/clang-22 ===> Compiler link: cc -> /usr/local/bin/clang-22 ===> Compiler link: clang -> /usr/local/bin/clang-22 ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in devel/afl++ at 1780795320.07 ===> devel/afl++ ===> Generating configure for afl++-4.32cp1 ===> Configuring for afl++-4.32cp1 >>> Running build in devel/afl++ at 1780795320.37 ===> devel/afl++ ===> Building for afl++-4.32cp1 trying to use GNU make... gmake[1]: Entering directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' [*] Compiling AFL++ for OS OpenBSD on ARCH amd64 [+] ZLIB detected [*] Checking for the default compiler cc... [*] Testing the PATH environment variable... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [-] You seem to need to install the package python3-dev or python-dev (and perhaps python[3]-apt), but it is optional so we continue [+] Everything seems to be working, ready to compile. (clang version 22.1.7) cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB -c src/afl-common.c -o src/afl-common.o cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB -c src/afl-sharedmem.c -o src/afl-sharedmem.o cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB -c src/afl-forkserver.c -o src/afl-forkserver.o cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB -Iinclude -c src/afl-performance.c -o src/afl-performance.o cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-init.c src/afl-fuzz-mutators.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-sanfuzz.c src/afl-fuzz-skipdet.c src/afl-fuzz-state.c src/afl-fuzz-stats.c src/afl-fuzz-statsd.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-fuzz -Wl,-z,notext -L /usr/local/lib/ -lpthread -lm -lz -lm ld: warning: afl-fuzz-bitmap.c:0 (src/afl-fuzz-bitmap.c:0)(afl-fuzz.lto.o:(describe_op)): warning: sprintf() is often misused, please use snprintf() ld: warning: afl-fuzz-stats.c:205 (src/afl-fuzz-stats.c:205)(afl-fuzz.lto.o:(load_stats_file)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: afl-fuzz-stats.c:2190 (src/afl-fuzz-stats.c:2190)(afl-fuzz.lto.o:(show_stats)): warning: strcat() is almost always misused, please use strlcat() ld: warning: afl-fuzz.c:1388 (src/afl-fuzz.c:1388)(afl-fuzz.lto.o:(main)): warning: random() may return deterministic values, is that what you want? ld: warning: afl-fuzz.c:1415 (src/afl-fuzz.c:1415)(afl-fuzz.lto.o:(main)): warning: rand() may return deterministic values, is that what you want? cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB src/afl-showmap.c src/afl-fuzz-mutators.c src/afl-fuzz-python.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -Wl,-z,notext -L /usr/local/lib/ -lpthread -lm -lz ld: warning: afl-common.c:159 (src/afl-common.c:159)(afl-showmap.lto.o:(set_sanitizer_defaults)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: afl-forkserver.c:995 (src/afl-forkserver.c:995)(afl-showmap.lto.o:(afl_fsrv_start)): warning: sprintf() is often misused, please use snprintf() cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -c -o src/afl-fuzz-python.o src/afl-fuzz-python.c cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -c -o src/afl-fuzz-mutators.o src/afl-fuzz-mutators.c cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o src/afl-fuzz-python.o src/afl-fuzz-mutators.o -o afl-tmin -Wl,-z,notext -L /usr/local/lib/ -lpthread -lm -lz ld: warning: afl-fuzz-mutators.c:491 (src/afl-fuzz-mutators.c:491)(src/afl-fuzz-mutators.o:(trim_case_custom)): warning: sprintf() is often misused, please use snprintf() ld: warning: afl-common.c:159 (src/afl-common.c:159)(afl-tmin.lto.o:(set_sanitizer_defaults)): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -Wl,-z,notext -L /usr/local/lib/ -lpthread -lm -lz cc -O2 -pipe -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/libexec/afl\" -DBIN_PATH=\"/usr/local/bin\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -I /usr/local/include/ -mno-retpoline -pthread -flto=full -DHAVE_ZLIB src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -Wl,-z,notext -L /usr/local/lib/ -lpthread -lm -lz ld: warning: afl-forkserver.c:995 (src/afl-forkserver.c:995)(afl-analyze.lto.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: afl-common.c:159 (src/afl-common.c:159)(afl-analyze.lto.o:(set_sanitizer_defaults)): warning: strcpy() is almost always misused, please use strlcpy() gmake -j1 -f GNUmakefile.llvm gmake[2]: Entering directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' GNUmakefile.llvm:42: llvm_mode needs a complete llvm installation (versions 6.0 up to 13) -> e.g. "pkg_add llvm-7.0.1p9" gmake[2]: Leaving directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' GNUmakefile.llvm:81: *** llvm_mode only supports llvm from version 3.8 onwards - or your version is too new. Upgrade AFL++ if possible or downgrade LLVM.. Stop. gmake[1]: [GNUmakefile:354: llvm] Error 2 (ignored) [-] Compiling afl-cc failed. You seem not to have a working compiler. gmake[1]: *** [GNUmakefile:355: llvm] Error 1 gmake[1]: Leaving directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' please install GNUmake >>> Running fake in devel/afl++ at 1780795346.59 ===> devel/afl++ ===> Faking installation for afl++-4.32cp1 gmake[1]: Entering directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' [*] Compiling AFL++ for OS OpenBSD on ARCH amd64 [+] ZLIB detected [*] Checking for the default compiler cc... [*] Testing the PATH environment variable... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [-] You seem to need to install the package python3-dev or python-dev (and perhaps python[3]-apt), but it is optional so we continue [+] Everything seems to be working, ready to compile. (clang version 22.1.7) gmake -j1 -f GNUmakefile.llvm gmake[2]: Entering directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' GNUmakefile.llvm:42: llvm_mode needs a complete llvm installation (versions 6.0 up to 13) -> e.g. "pkg_add llvm-7.0.1p9" gmake[2]: Leaving directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' GNUmakefile.llvm:81: *** llvm_mode only supports llvm from version 3.8 onwards - or your version is too new. Upgrade AFL++ if possible or downgrade LLVM.. Stop. gmake[1]: [GNUmakefile:354: llvm] Error 2 (ignored) [-] Compiling afl-cc failed. You seem not to have a working compiler. gmake[1]: *** [GNUmakefile:355: llvm] Error 1 gmake[1]: Leaving directory '/exopi-obj/pobj/afl++-4.32c/AFLplusplus-4.32c' gmake: *** [Makefile:18: install] Error 2 *** Error 2 in devel/afl++ (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:3164 '/exopi-obj/pobj/afl++-4.32c/fake-amd64/.fake_done': @cd /ex...) *** Error 2 in devel/afl++ (/exopi-cvs/ports/infrastructure/mk/bsd.port.mk:2722 'fake': @lock=afl++-4.32cp1; export _LOCKS_HELD=" afl++-4.3...) ===> Exiting devel/afl++ with an error *** Error 1 in /exopi-cvs/ports (infrastructure/mk/bsd.port.subdir.mk:144 'fake': @: ${echo_msg:=echo}; : ${target:=fake}; for i in ; do ...) >>> Ended at 1780795349.61 max_stuck=5.12/depends=4.28/show-prepare-results=0.97/patch=0.71/configure=0.30/build=26.22/fake=3.06 Error: job failed with 512 on exopi-1 at 1780795349