=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 spl-1.0pre3nb18 Auto-generating build configuration.. Checking for pcre: found. Checking for expat: found. Checking for sqlite: found. Checking for mysql: not found. Checking for postgres: not found. Checking for libxml2: not found. Checking for libxslt: not found. Checking for libsdl: not found. Checking for libcurl: not found. Checking for libfann: not found. Checking for libsmoke: not found. Checking for readline: found. Checking for gettext_libc: not found. Checking for gettext_intl: found. Checking for pthread: found. uname: unknown option -- - usage: uname [-amnprsv] gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_prime.o spl_modules/mod_prime.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o state.o state.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o exec.o exec.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o asm.o asm.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o compiler.o compiler.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o dump.o dump.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o restore.o restore.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o clib.o clib.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o util.o util.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o builtins.o builtins.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o optimizer.o optimizer.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o report.o report.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o treedump.o treedump.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o gc.o gc.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o rccheck.o rccheck.c asm.c:190:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] rc = write(fd, SPL_SIGNATURE+i, 16-i); ~~~~~~~~~~~~~^~ asm.c:190:31: note: use array indexing to silence this warning rc = write(fd, SPL_SIGNATURE+i, 16-i); ^ & [ ] gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o debug.o debug.c restore.c:304:37: warning: too many arguments in call to 'read_data' code->code = read_data(code->size); ~~~~~~~~~ ^ gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o string.o string.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o utf8.o utf8.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o hnode.o hnode.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o sha1.o sha1.c echo 'extern const char *spl_system_modules_dir();\ const char *spl_system_modules_dir() { return "/usr/pkg/lib/spl_modules"; }' > moddir.c.new awk 'BEGIN{ \ print "#include \"spl.h\""; \ print "const struct spl_asm_op spl_ops[] = {" } \ /^#define SPL_OP_/{ \ gsub("SPL_OP_", ""); \ optype=0; q="'\''"; \ if ($5 == "JUMP") optype="J"; \ if ($5 == "BRANCH") optype="B"; \ if ($5 == "CONDIT") optype="C"; \ if ($5 == "ENDBRANCH") optype="E"; \ if ($5 == "UNARYOP") optype="1"; \ if ($5 == "BINARYOP") optype="2"; \ if ($5 == "STATICOP") optype="S"; \ print "\t{ \"" $2 "\",\t"$3 ",\t" q optype q " }," } \ END{ \ print "{ 0, 0, 0 }"; \ print "};"; }' spl.h > spl_op.c.new 1 warning generated. mv moddir.c.new moddir.c mv spl_op.c.new spl_op.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_encode_xml.o spl_modules/mod_encode_xml.c 1 warning generated. gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_sql.o spl_modules/mod_sql.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_file.o spl_modules/mod_file.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o splrun.o splrun.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_format_xml.o spl_modules/mod_format_xml.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_system.o spl_modules/mod_system.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_cgi.o spl_modules/mod_cgi.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_crypt.o spl_modules/mod_crypt.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_termio.o spl_modules/mod_termio.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_time.o spl_modules/mod_time.c gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_uuidgen.o spl_modules/mod_uuidgen.c spl_modules/mod_format_xml.c:198:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:207:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:221:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:240:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:285:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:311:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:319:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:340:2: warning: implicit declaration of function 'stack_push' is invalid in C99 [-Wimplicit-function-declaration] stack_push(); ^ gcc -std=gnu99 -Wall -I/data/scratch/lang/spl/work/spl-1.0pre3 -Wshadow -DUSEBSDAPI=1 -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -O1 -ggdb -I/usr/include -I/usr/pkg/include -c -o spl_modules/mod_bits.o spl_modules/mod_bits.c spl_modules/mod_format_xml.c:344:27: error: use of undeclared identifier 'element_start_hdl' XML_SetElementHandler(p, element_start_hdl, element_end_hdl); ^ spl_modules/mod_format_xml.c:344:46: error: use of undeclared identifier 'element_end_hdl' XML_SetElementHandler(p, element_start_hdl, element_end_hdl); ^ spl_modules/mod_format_xml.c:345:33: error: use of undeclared identifier 'chardata_hdl' XML_SetCharacterDataHandler(p, chardata_hdl); ^ spl_modules/mod_format_xml.c:351:5: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentLineNumber(p), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/lang/spl/work/spl-1.0pre3/spl.h:413:52: note: expanded from macro 'SPL_NEW_PRINTF' (SPL_NEW_SPL_STRING(spl_string_printf(0, 0, 0, ## __VA_ARGS__))) ^~~~~~~~~~~ /data/scratch/lang/spl/work/spl-1.0pre3/spl.h:407:65: note: expanded from macro 'SPL_NEW_SPL_STRING' #define SPL_NEW_SPL_STRING(__v) spl_set_spl_string(spl_get(0), (__v)) ^~~ spl_modules/mod_format_xml.c:357:23: warning: implicit declaration of function 'stack_pop' is invalid in C99 [-Wimplicit-function-declaration] while (stack->next) stack_pop(); ^ spl_modules/mod_format_xml.c:392:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:400:2: error: function definition is not allowed here { ^ spl_modules/mod_format_xml.c:454:2: warning: implicit declaration of function 'dump_xml' is invalid in C99 [-Wimplicit-function-declaration] dump_xml(tree, 0); ^ 4 warnings and 12 errors generated. : recipe for target 'spl_modules/mod_format_xml.o' failed gmake: *** [spl_modules/mod_format_xml.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** wait: No child processes. Stop. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/lang/spl *** Error code 1 Stop. make: stopped in /data/pkgsrc/lang/spl