=> Building security/afl Started : Friday, 26 JUL 2019 at 09:03:49 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-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_4: 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=gcc80 -------------------------------------------------- -- 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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="clang80" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="clang++80" 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-config80 DESTDIR=/construction/security/afl/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " LLVM="" NO_LLVM="@comment " OSREL=5.6 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.6 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 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> afl-2.52_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> afl-2.52_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of afl-2.52_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by afl-2.52_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by afl-2.52_4 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_4 for building ===> Extracting for afl-2.52_4 => SHA256 Checksum OK for afl-2.52b.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for afl-2.52_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> afl-2.52_4 depends on executable: clang80 - not found ===> Installing existing package /packages/All/llvm80-8.0.0_2.txz Installing llvm80-8.0.0_2... `-- Installing libedit-3.1.20190324,1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libedit-3.1.20190324,1: .......... done `-- Installing libxml2-2.9.9... `-- Extracting libxml2-2.9.9: .......... done `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done `-- Installing python27-2.7.16_1... | `-- Installing expat-2.2.6_1... | `-- Extracting expat-2.2.6_1: .......... done | `-- Installing gettext-runtime-0.20.1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.20.1: .......... done | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing libressl-2.9.2... | `-- Extracting libressl-2.9.2: .......... done | `-- Installing readline-8.0.0... | `-- Extracting readline-8.0.0: .......... done `-- Extracting python27-2.7.16_1: .......... done Extracting llvm80-8.0.0_2: .......... done Message from perl5-5.28.2: 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. Message from python27-2.7.16_1: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> afl-2.52_4 depends on executable: clang80 - found ===> Returning to build of afl-2.52_4 ===> afl-2.52_4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... Extracting gmake-4.2.1_3: .......... done ===> afl-2.52_4 depends on executable: gmake - found ===> Returning to build of afl-2.52_4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for afl-2.52_4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for afl-2.52_4 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. clang80 -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 clang80 -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 clang80 -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 clang80 -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 clang80 -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 clang80 -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 clang80 -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' clang80 -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 'clang80'... [*] Checking for '../afl-showmap'... [+] All set and ready to build. clang80 -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++80 `llvm-config80 --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-config80 --ldflags` clang80 -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_4 depends on executable: clang80 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for afl-2.52_4 ===> 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_4 file sizes/checksums [90]: . done packing files [90]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 26 JUL 2019 at 09:05:34 UTC Duration: 00:01:44