=> Building security/afl Started : Thursday, 19 APR 2018 at 06:05:34 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for afl-2.52_1: DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation LLVM=on: LLVM-based instrumentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/security/afl XDG_CONFIG_HOME=/construction/security/afl HOME=/construction/security/afl TMPDIR="/tmp" PATH=/construction/security/afl/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/afl XDG_CONFIG_HOME=/construction/security/afl HOME=/construction/security/afl TMPDIR="/tmp" PATH=/construction/security/afl/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="clang50" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="clang++50" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- LLVM_CONFIG=llvm-config50 DESTDIR=/construction/security/afl/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " LLVM="" NO_LLVM="@comment " OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/afl" EXAMPLESDIR="share/examples/afl" DATADIR="share/afl" WWWDIR="www/afl" ETCDIR="etc/afl" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " LLVM="" NO_LLVM="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/afl DOCSDIR=/usr/local/share/doc/afl EXAMPLESDIR=/usr/local/share/examples/afl WWWDIR=/usr/local/www/afl ETCDIR=/usr/local/etc/afl -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> afl-2.52_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> afl-2.52_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of afl-2.52_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by afl-2.52_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by afl-2.52_1 for building => SHA256 Checksum OK for afl-2.52b.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by afl-2.52_1 for building ===> Extracting for afl-2.52_1 => SHA256 Checksum OK for afl-2.52b.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for afl-2.52_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> afl-2.52_1 depends on executable: clang50 - not found ===> Installing existing package /packages/All/llvm50-5.0.1_1.txz Installing llvm50-5.0.1_1... `-- Installing libedit-3.1.20170329_2,1... | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting libedit-3.1.20170329_2,1: .......... done `-- Installing libxml2-2.9.7... `-- Extracting libxml2-2.9.7: .......... done `-- Installing perl5-5.26.1... `-- Extracting perl5-5.26.1: .......... done Extracting llvm50-5.0.1_1: .......... done Message from perl5-5.26.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> afl-2.52_1 depends on executable: clang50 - found ===> Returning to build of afl-2.52_1 ===> afl-2.52_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> afl-2.52_1 depends on executable: gmake - found ===> Returning to build of afl-2.52_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for afl-2.52_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for afl-2.52_1 gmake[1]: Entering directory '/construction/security/afl/afl-2.52b' [*] Checking for the ability to compile x86 code... [+] Everything seems to be working, ready to compile. clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c -o afl-fuzz clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c -o afl-showmap clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c -o afl-tmin clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as ln -sf afl-as as [+] All done! Be sure to review README - it's pretty short and useful. gmake -C libdislocator gmake[2]: Entering directory '/construction/security/afl/afl-2.52b/libdislocator' clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -shared -fPIC libdislocator.so.c -o libdislocator.so gmake[2]: Leaving directory '/construction/security/afl/afl-2.52b/libdislocator' gmake -C llvm_mode gmake[2]: Entering directory '/construction/security/afl/afl-2.52b/llvm_mode' [*] Checking for working 'llvm-config'... [*] Checking for working 'clang50'... [*] Checking for '../afl-showmap'... [+] All set and ready to build. clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"2.52b\" afl-clang-fast.c -o ../afl-clang-fast ln -sf afl-clang-fast ../afl-clang-fast++ clang++50 `llvm-config50 --cxxflags` -fno-rtti -fpic -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"2.52b\" -Wno-variadic-macros -shared afl-llvm-pass.so.cc -o ../afl-llvm-pass.so `llvm-config50 --ldflags` warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 1 warning generated. clang50 -pipe -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"2.52b\" -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt.o [*] Building 32-bit variant of the runtime (-m32)... success! [*] Building 64-bit variant of the runtime (-m64)... success! [+] All done! You can now use '../afl-clang-fast' to compile programs. gmake[2]: Leaving directory '/construction/security/afl/afl-2.52b/llvm_mode' gmake[1]: Leaving directory '/construction/security/afl/afl-2.52b' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> afl-2.52_1 depends on executable: clang50 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for afl-2.52_1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/security/afl/afl-2.52b' [*] Checking for the ability to compile x86 code... [+] Everything seems to be working, ready to compile. [+] All done! Be sure to review README - it's pretty short and useful. mkdir -p -m 755 ${DESTDIR}/usr/local/bin ${DESTDIR}/usr/local/lib/afl ${DESTDIR}/usr/local/share/doc/afl ${DESTDIR}/usr/local/share/afl rm -f ${DESTDIR}/usr/local/bin/afl-plot.sh install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup ${DESTDIR}/usr/local/bin rm -f ${DESTDIR}/usr/local/bin/afl-as if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/usr/local/bin; fi if [ -f afl-clang-fast -a -f afl-llvm-pass.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/usr/local/bin; ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/usr/local/lib/afl; fi if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/usr/local/lib/afl; fi set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/usr/local/bin/$i; done install -m 755 afl-as ${DESTDIR}/usr/local/lib/afl ln -sf afl-as ${DESTDIR}/usr/local/lib/afl/as install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/usr/local/share/doc/afl cp -r testcases/ ${DESTDIR}/usr/local/share/afl cp -r dictionaries/ ${DESTDIR}/usr/local/share/afl gmake[1]: Leaving directory '/construction/security/afl/afl-2.52b' install -m 555 /construction/security/afl/afl-2.52b/afl-cmin /construction/security/afl/stage/usr/local/bin install -m 555 /construction/security/afl/afl-2.52b/afl-plot /construction/security/afl/stage/usr/local/bin install -m 555 /construction/security/afl/afl-2.52b/afl-whatsup /construction/security/afl/stage/usr/local/bin install -s -m 0644 /construction/security/afl/afl-2.52b/libdislocator/libdislocator.so /construction/security/afl/stage/usr/local/lib/afl install -m 0644 /construction/security/afl/afl-2.52b/libdislocator/README.dislocator /construction/security/afl/stage/usr/local/share/doc/afl install -m 0644 /construction/security/afl/afl-2.52b/llvm_mode/README.llvm /construction/security/afl/stage/usr/local/share/doc/afl ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for afl-2.52_1 file sizes/checksums [90]: . done packing files [90]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 06:07:07 UTC Duration: 00:01:33