=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for awka-0.7.5nb3 --- awka_exe --- --- libawka --- cd lib; /usr/bin/make --- awka_exe --- cd awka; /usr/bin/make --- libawka --- --- libawka.h --- --- ../regexp/regex.o --- --- ../regexp/dfa.o --- --- awka_exe --- --- translate.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c translate.c --- libawka --- --- libawka.h --- /usr/bin/awk -f ../examples/fixhdr.awk libawka.h.in >libawka.h --- ../regexp/regex.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -I. -I../regexp -c ../regexp/regex.c -o ../regexp/regex.o --- ../regexp/dfa.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -I. -I../regexp -c ../regexp/dfa.c -o ../regexp/dfa.o --- array.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c array.c --- ../regexp/regex.o --- ../regexp/regex.c: In function 'awka_regexec': ../regexp/regex.c:6039:11: warning: implicit declaration of function 'dfaexec' [-Wimplicit-function-declaration] ret = dfaexec((struct dfa *) preg->dfa, string, string+len, 1, &count, &try_backref); ^~~~~~~ --- builtin.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c builtin.c builtin.c: In function 'awka_system': builtin.c:888:17: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (pid = fork()) ^~~~ builtin.c:896:7: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] execl(awka_shell, awka_shell, "-c", ptr, (char *) NULL); ^~~~~ builtin.c:896:7: warning: incompatible implicit declaration of built-in function 'execl' builtin.c:899:7: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(system(ptr) / 256); ^~~~~ builtin.c:899:7: warning: incompatible implicit declaration of built-in function '_exit' --- error.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c error.c --- init.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c init.c --- io.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c io.c io.c: In function '_awka_socketopen': io.c:179:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(socket_fd); ^~~~~ pclose io.c:190:13: warning: implicit declaration of function 'geteuid'; did you mean 'getenv'? [-Wimplicit-function-declaration] if (geteuid() != 0) ^~~~~~~ getenv io.c: In function '_awka_io_2open': io.c:386:13: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] newfd = dup(fd); ^~~ io.c:434:9: warning: implicit declaration of function 'pipe'; did you mean 'time'? [-Wimplicit-function-declaration] if (pipe(ptoc) < 0) ^~~~ time io.c:446:16: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if ((pid = fork()) < 0) ^~~~ io.c:468:7: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] execl(awka_shell, "sh", "-c", str, NULL); ^~~~~ io.c:468:7: warning: incompatible implicit declaration of built-in function 'execl' io.c:469:7: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(127); ^~~~~ io.c:469:7: warning: incompatible implicit declaration of built-in function '_exit' io.c: In function 'awka_cleanup': io.c:943:3: warning: implicit declaration of function '_awka_gc_kill'; did you mean '_awka_re2null'? [-Wimplicit-function-declaration] _awka_gc_kill(); ^~~~~~~~~~~~~ _awka_re2null io.c: In function '_awka_wait_pid': io.c:996:10: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] id = wait(&exit_value); ^~~~ exit --- var.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c var.c --- garbage.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c garbage.c --- awka_exe --- --- awka.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c awka.c awka.c: In function 'main': awka.c:244:9: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(c_file); ^~~~~~ --- libawka --- --- rexp.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -c rexp.c rexp.c: In function '_awka_compile_regexp_SPLIT': rexp.c:191:17: warning: implicit declaration of function '_awka_hashstr'; did you mean 'awka_substr'? [-Wimplicit-function-declaration] idx = (hval = _awka_hashstr(str, len)) % RE_LIST_SIZE; ^~~~~~~~~~~~~ awka_substr rexp.c:145:31: warning: implicit declaration of function 'dfacomp' [-Wimplicit-function-declaration] list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:214:9: note: in expansion of macro '_return_re_SPLIT' _return_re_SPLIT; ^~~~~~~~~~~~~~~~ rexp.c:145:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:214:9: note: in expansion of macro '_return_re_SPLIT' _return_re_SPLIT; ^~~~~~~~~~~~~~~~ rexp.c:145:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:229:3: note: in expansion of macro '_return_re_SPLIT' _return_re_SPLIT; ^~~~~~~~~~~~~~~~ rexp.c: In function '_awka_compile_regexp_MATCH': rexp.c:159:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:271:9: note: in expansion of macro '_return_re_MATCH' _return_re_MATCH; ^~~~~~~~~~~~~~~~ rexp.c:159:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:286:3: note: in expansion of macro '_return_re_MATCH' _return_re_MATCH; ^~~~~~~~~~~~~~~~ rexp.c: In function '_awka_compile_regexp_GSUB': rexp.c:172:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:328:9: note: in expansion of macro '_return_re_GSUB' _return_re_GSUB; ^~~~~~~~~~~~~~~ rexp.c:172:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:343:3: note: in expansion of macro '_return_re_GSUB' _return_re_GSUB; ^~~~~~~~~~~~~~~ --- awka_exe --- --- scan.o --- --- memory.o --- --- hash.o --- --- scan.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c scan.c --- memory.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c memory.c --- hash.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c hash.c --- scan.o --- scan.c: In function 'yylex': scan.c:734:20: warning: implicit declaration of function 'bi_funct_find'; did you mean 'bi_funct_init'? [-Wimplicit-function-declaration] if (bi_funct_find(string_buff)) ^~~~~~~~~~~~~ bi_funct_init scan.c: In function 'fillbuff': scan.c:1212:19: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] switch (r = read(fd, target, size)) ^~~~ fread --- code.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c code.c --- libawka --- --- libawka.a --- ar -uvr libawka.a var.o builtin.o error.o init.o array.o io.o garbage.o rexp.o ../regexp/regex.o ../regexp/dfa.o ar: creating libawka.a a - var.o a - builtin.o a - error.o a - init.o a - array.o a - io.o a - garbage.o a - rexp.o a - ../regexp/regex.o a - ../regexp/dfa.o ranlib libawka.a --- awka_exe --- --- bi_funct.o --- --- da.o --- --- bi_funct.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c bi_funct.c --- da.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c da.c --- error.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c error.c --- init.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c init.c --- bi_vars.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c bi_vars.c --- cast.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c cast.c --- print.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -Dawka_LIBDIR=\"/usr/pkg/lib\" -Dawka_INCDIR=\"/usr/pkg/include\" -c print.c In file included from /usr/include/stdio.h:597:0, from awka.h:36, from print.c:29: print.c:52:11: error: expected declaration specifiers or '...' before numeric constant int PROTO(sprintf, (char *, const char *,...)) ; ^ print.c:52:5: note: in expansion of macro 'PROTO' int PROTO(sprintf, (char *, const char *,...)) ; ^~~~~ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from awka.h:36, from print.c:29: print.c:52:11: error: expected declaration specifiers or '...' before '__builtin_object_size' int PROTO(sprintf, (char *, const char *,...)) ; ^ print.c:52:5: note: in expansion of macro 'PROTO' int PROTO(sprintf, (char *, const char *,...)) ; ^~~~~ print.c: In function 'write_error': print.c:157:4: warning: implicit declaration of function 'awka_exit'; did you mean 'awka_CC'? [-Wimplicit-function-declaration] awka_exit(2) ; ^~~~~~~~~ awka_CC *** [print.o] Error code 1 make[1]: stopped in /tmp/lang/awka/work/awka-0.7.5/awka 1 error make[1]: stopped in /tmp/lang/awka/work/awka-0.7.5/awka *** [awka_exe] Error code 2 make: stopped in /tmp/lang/awka/work/awka-0.7.5 1 error make: stopped in /tmp/lang/awka/work/awka-0.7.5 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/awka *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/lang/awka