===> License APACHE20 accepted by the user ===> zmap-0cipiertest depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by zmap-0cipiertest for building ===> Extracting for zmap-0cipiertest => SHA256 Checksum OK for zmap-zmap-v0cipiertest_GH0.tar.gz. ===> Patching for zmap-0cipiertest ===> zmap-0cipiertest depends on package: gengetopt>0 - found ===> zmap-0cipiertest depends on file: /usr/local/bin/cmake - found ===> zmap-0cipiertest depends on executable: ninja - found ===> zmap-0cipiertest depends on package: pkgconf>=1.3.0_1 - found ===> zmap-0cipiertest depends on shared library: libdnet.so - found (/usr/local/lib/libdnet.so) ===> zmap-0cipiertest depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so) ===> zmap-0cipiertest depends on shared library: libjson-c.so - found (/usr/local/lib/libjson-c.so) ===> Configuring for zmap-0cipiertest ===> Performing in-source build /bin/mkdir -p /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest -- The C compiler identification is Clang 4.0.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: pkgconf (found version "1.3.7") -- Checking for module 'json-c' -- Found json-c, version 0.12.1 -- Default ZMap configuration file location is /usr/local/etc/zmap -- Checking if blacklist.conf exists there... -- Checking if zmap.conf exists there... -- Configuring done -- Generating done -- Build files have been written to: /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest ===> Building for zmap-0cipiertest [1/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/pbm.c.o -MF lib/CMakeFiles/zmaplib.dir/pbm.c.o.d -o lib/CMakeFiles/zmaplib.dir/pbm.c.o -c lib/pbm.c [2/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/logger.c.o -MF lib/CMakeFiles/zmaplib.dir/logger.c.o.d -o lib/CMakeFiles/zmaplib.dir/logger.c.o -c lib/logger.c [3/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/random.c.o -MF lib/CMakeFiles/zmaplib.dir/random.c.o.d -o lib/CMakeFiles/zmaplib.dir/random.c.o -c lib/random.c [4/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/constraint.c.o -MF lib/CMakeFiles/zmaplib.dir/constraint.c.o.d -o lib/CMakeFiles/zmaplib.dir/constraint.c.o -c lib/constraint.c [5/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/blacklist.c.o -MF lib/CMakeFiles/zmaplib.dir/blacklist.c.o.d -o lib/CMakeFiles/zmaplib.dir/blacklist.c.o -c lib/blacklist.c [6/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/xalloc.c.o -MF lib/CMakeFiles/zmaplib.dir/xalloc.c.o.d -o lib/CMakeFiles/zmaplib.dir/xalloc.c.o -c lib/xalloc.c [7/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/lockfd.c.o -MF lib/CMakeFiles/zmaplib.dir/lockfd.c.o.d -o lib/CMakeFiles/zmaplib.dir/lockfd.c.o -c lib/lockfd.c [8/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/queue.c.o -MF lib/CMakeFiles/zmaplib.dir/queue.c.o.d -o lib/CMakeFiles/zmaplib.dir/queue.c.o -c lib/queue.c [9/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/csv.c.o -MF lib/CMakeFiles/zmaplib.dir/csv.c.o.d -o lib/CMakeFiles/zmaplib.dir/csv.c.o -c lib/csv.c [10/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && /usr/local/bin/cmake -D ORIG_SRC_DIR:STRING="/wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest" -P /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/CMakeVersion.txt [11/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/util.c.o -MF lib/CMakeFiles/zmaplib.dir/util.c.o.d -o lib/CMakeFiles/zmaplib.dir/util.c.o -c lib/util.c [12/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Ilib -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT lib/CMakeFiles/zmaplib.dir/rijndael-alg-fst.c.o -MF lib/CMakeFiles/zmaplib.dir/rijndael-alg-fst.c.o.d -o lib/CMakeFiles/zmaplib.dir/rijndael-alg-fst.c.o -c lib/rijndael-alg-fst.c [13/107] : && /usr/local/bin/cmake -E remove lib/libzmaplib.a && /usr/bin/ar qc lib/libzmaplib.a lib/CMakeFiles/zmaplib.dir/blacklist.c.o lib/CMakeFiles/zmaplib.dir/constraint.c.o lib/CMakeFiles/zmaplib.dir/logger.c.o lib/CMakeFiles/zmaplib.dir/pbm.c.o lib/CMakeFiles/zmaplib.dir/random.c.o lib/CMakeFiles/zmaplib.dir/rijndael-alg-fst.c.o lib/CMakeFiles/zmaplib.dir/xalloc.c.o lib/CMakeFiles/zmaplib.dir/lockfd.c.o lib/CMakeFiles/zmaplib.dir/util.c.o lib/CMakeFiles/zmaplib.dir/queue.c.o lib/CMakeFiles/zmaplib.dir/csv.c.o && /usr/bin/ranlib lib/libzmaplib.a && : [14/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && byacc -d -o /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/parser.c /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/parser.y [15/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && gengetopt -C --no-help --no-version -i /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/ztopt.ggo -F /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/ztopt [16/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && gengetopt -S --no-help --no-version --unamed-opts=FILE -i /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/topt.ggo -F /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/topt [17/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && gengetopt -C --no-help --no-version --unamed-opts=SUBNETS -i /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/zitopt.ggo -F /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/zitopt [18/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && gengetopt -C --no-help --no-version --unamed-opts=SUBNETS -i /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/zopt.ggo -F /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/zopt [19/107] cd /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src && flex -o /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/lexer.c --header-file="/wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/lexer.h" /wrkdirs/zmap-0cipiertest-port/work/zmap-0cipiertest/src/lexer.l [20/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ziterate.dir/aesrand.c.o -MF src/CMakeFiles/ziterate.dir/aesrand.c.o.d -o src/CMakeFiles/ziterate.dir/aesrand.c.o -c src/aesrand.c [21/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/aesrand.c.o -MF src/CMakeFiles/ztests.dir/aesrand.c.o.d -o src/CMakeFiles/ztests.dir/aesrand.c.o -c src/aesrand.c [22/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/expression.c.o -MF src/CMakeFiles/ztests.dir/expression.c.o.d -o src/CMakeFiles/ztests.dir/expression.c.o -c src/expression.c [23/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztee.dir/ztee.c.o -MF src/CMakeFiles/ztee.dir/ztee.c.o.d -o src/CMakeFiles/ztee.dir/ztee.c.o -c src/ztee.c [24/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/cyclic.c.o -MF src/CMakeFiles/ztests.dir/cyclic.c.o.d -o src/CMakeFiles/ztests.dir/cyclic.c.o -c src/cyclic.c [25/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/fieldset.c.o -MF src/CMakeFiles/ztests.dir/fieldset.c.o.d -o src/CMakeFiles/ztests.dir/fieldset.c.o -c src/fieldset.c FAILED: src/CMakeFiles/ztests.dir/fieldset.c.o /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/fieldset.c.o -MF src/CMakeFiles/ztests.dir/fieldset.c.o.d -o src/CMakeFiles/ztests.dir/fieldset.c.o -c src/fieldset.c src/fieldset.c:15:10: fatal error: 'unistr.h' file not found #include ^~~~~~~~~~ 1 error generated. [26/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/filter.c.o -MF src/CMakeFiles/ztests.dir/filter.c.o.d -o src/CMakeFiles/ztests.dir/filter.c.o -c src/filter.c [27/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztee.dir/topt_compat.c.o -MF src/CMakeFiles/ztee.dir/topt_compat.c.o.d -o src/CMakeFiles/ztee.dir/topt_compat.c.o -c src/topt_compat.c [28/107] /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/get_gateway.c.o -MF src/CMakeFiles/ztests.dir/get_gateway.c.o.d -o src/CMakeFiles/ztests.dir/get_gateway.c.o -c src/get_gateway.c FAILED: src/CMakeFiles/ztests.dir/get_gateway.c.o /usr/bin/cc -I/usr/local/include/json-c -I/usr/local/include -Isrc -Ilib -Isrc/output_modules -Isrc/tests -Wall -Wformat=2 -Wno-format-nonliteral -pedantic -fno-strict-aliasing -Wextra -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-noreturn -Wstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -O2 -I/usr/local/include/json-c -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/ztests.dir/get_gateway.c.o -MF src/CMakeFiles/ztests.dir/get_gateway.c.o.d -o src/CMakeFiles/ztests.dir/get_gateway.c.o -c src/get_gateway.c In file included from src/get_gateway.c:27: src/get_gateway-bsd.h:42:2: error: use of undeclared identifier 'arp_t' arp_t *arp; ^ src/get_gateway-bsd.h:42:9: error: use of undeclared identifier 'arp' arp_t *arp; ^ src/get_gateway-bsd.h:43:19: error: variable has incomplete type 'struct arp_entry' struct arp_entry entry; ^ src/get_gateway-bsd.h:43:9: note: forward declaration of 'struct arp_entry' struct arp_entry entry; ^ src/get_gateway-bsd.h:49:13: warning: implicit declaration of function 'arp_open' is invalid in C99 [-Wimplicit-function-declaration] if ((arp = arp_open()) == NULL) { ^ src/get_gateway-bsd.h:49:7: error: use of undeclared identifier 'arp' if ((arp = arp_open()) == NULL) { ^ src/get_gateway-bsd.h:55:20: error: invalid application of 'sizeof' to an incomplete type 'struct arp_entry' memset(&entry, 0, sizeof(struct arp_entry)); ^ ~~~~~~~~~~~~~~~~~~ src/get_gateway-bsd.h:43:9: note: forward declaration of 'struct arp_entry' struct arp_entry entry; ^ src/get_gateway-bsd.h:56:27: error: use of undeclared identifier 'ADDR_TYPE_IP' entry.arp_pa.addr_type = ADDR_TYPE_IP; ^ src/get_gateway-bsd.h:57:27: error: use of undeclared identifier 'IP_ADDR_BITS' entry.arp_pa.addr_bits = IP_ADDR_BITS; ^ src/get_gateway-bsd.h:60:6: warning: implicit declaration of function 'arp_get' is invalid in C99 [-Wimplicit-function-declaration] if (arp_get(arp, &entry) < 0) { ^ src/get_gateway-bsd.h:60:14: error: use of undeclared identifier 'arp' if (arp_get(arp, &entry) < 0) { ^ src/get_gateway-bsd.h:65:6: warning: implicit declaration of function 'addr_ntoa' is invalid in C99 [-Wimplicit-function-declaration] addr_ntoa(&entry.arp_pa), addr_ntoa(&entry.arp_ha)); ^ src/get_gateway-bsd.h:68:2: warning: implicit declaration of function 'arp_close' is invalid in C99 [-Wimplicit-function-declaration] arp_close(arp); ^ src/get_gateway-bsd.h:68:12: error: use of undeclared identifier 'arp' arp_close(arp); ^ src/get_gateway-bsd.h:103:2: error: use of undeclared identifier 'eth_t' eth_t *e = eth_open(iface); ^ src/get_gateway-bsd.h:103:9: error: use of undeclared identifier 'e' eth_t *e = eth_open(iface); ^ src/get_gateway-bsd.h:103:13: warning: implicit declaration of function 'eth_open' is invalid in C99 [-Wimplicit-function-declaration] eth_t *e = eth_open(iface); ^ src/get_gateway-bsd.h:104:6: error: use of undeclared identifier 'e' if (e) { ^ src/get_gateway-bsd.h:105:3: error: unknown type name 'eth_addr_t'; did you mean 'in_addr_t'? eth_addr_t eth_addr; ^~~~~~~~~~ in_addr_t /usr/include/sys/types.h:128:20: note: 'in_addr_t' declared here typedef __uint32_t in_addr_t; /* base type for internet address */ ^ In file included from src/get_gateway.c:27: src/get_gateway-bsd.h:106:13: warning: implicit declaration of function 'eth_get' is invalid in C99 [-Wimplicit-function-declaration] int res = eth_get(e, ð_addr); ^ src/get_gateway-bsd.h:106:21: error: use of undeclared identifier 'e' int res = eth_get(e, ð_addr); ^ src/get_gateway-bsd.h:109:27: error: member reference base type 'in_addr_t' (aka 'unsigned int') is not a structure or union memcpy(hw_mac, eth_addr.data, ETHER_ADDR_LEN); ~~~~~~~~^~~~~ 6 warnings and 15 errors generated. ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /zmap-0cipiertest-port 1