+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spl-1.0pre3nb29/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spl-1.0pre3nb29/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spl-1.0pre3nb29 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 libuuid: not found. Checking for libfann: not found. Checking for libsmoke: not found. Checking for readline: found. Checking for gettext_libc: found. Checking for gettext_intl: not found. Checking for pthread: found. gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_encode_xml.o spl_modules/mod_encode_xml.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o state.o state.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o exec.o exec.c exec.c: In function 'spl_exec': exec.c:131:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&s, "[SPL Codepointer: %s]", task->debug_str); ^ exec.c:133:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&s, "[SPL Codepointer: byte %d in '%s']", ^ exec.c:1469:24: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] case '+': my_asprintf(&new, "-%s", old+1); break; ^ exec.c:1470:24: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] default: my_asprintf(&new, "-%s", old); break; ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o asm.o asm.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o compiler.o compiler.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o dump.o dump.c y.tab.c: In function 'spl_yyparse': compiler.y:263:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&label, "L%d:%s", lbstack_value(), $1); ^ compiler.y:275:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&label, "L%d:%s", lbstack_value(), $2); ^ compiler.y:798:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&fname, "encode_%s", $1); ^ compiler.y: In function 'create_debug_op': compiler.y:3668:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&newinfo, "%d:%d:%s", ^ compiler.y: In function 'spl_yyerror': compiler.y:3876:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&code, "%.40s", lex_last_item->pos-30 > orig_input ? lex_last_item->pos-30 : orig_input); ^ compiler.y: In function 'spl_compiler': compiler.y:3803:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&code, "%.40s", input-30 > orig_input ? input-30 : orig_input); ^ compiler.y: In function 'spl_lex_prog': compiler.y:3113:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Unexpected end-of-file (expected '%s').", term); ^ compiler.y:3137:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 16)); ^ compiler.y:3142:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 8)); ^ compiler.y:3147:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 2)); ^ compiler.y:3166:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(®ex_result_id, "#reres.%.*s", len++, input); ^ compiler.y:3183:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(®ex_result_id, "#reres.%.*s", len, input); ^ compiler.y:3252:19: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Endless recursion in macro expansion."); ^ compiler.y:3376:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Unexpected '%c'.", *input); ^ compiler.y:3473:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Error in regex syntax."); ^ compiler.y:3497:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Error in regex syntax."); ^ compiler.y:3500:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&new_mod, "%sEANP", mod); ^ compiler.y:3590:18: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "End label missing."); ^ compiler.y: In function 'spl_lex_pragma': compiler.y:2228:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Can't find end label for #%s.", stmt); ^ compiler.y:2262:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Can't open #file-as-const file (%s%s).", ^ compiler.y:2273:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Can't open #file-as-code file (%s%s).", ^ compiler.y:2298:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Can't open #file-as-template file (%s%s).", ^ compiler.y:2333:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Can't open #file-as-bytecode file (%s).", arg); ^ compiler.y:2337:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Bytecode from #file-as-bytecode file (%s) has invalid signature.", arg); ^ compiler.y:2360:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Unknown compiler-pragma #%s.", stmt); ^ compiler.y: In function 'malloc_file_wrapper': compiler.y:1978:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&token, "#embedded-file %s ", filename); ^ compiler.y: In function 'import_asm': compiler.y:2053:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Error while importing bytecode file."); ^ compiler.y:2075:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Error while importing bytecode file."); ^ compiler.y: In function 'spl_lex_prog_string': compiler.y:3084:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf((char**)&lex_srcfile_current->name, "%s:byte(%d)", ^ compiler.y: In function 'spl_lex_string': compiler.y:2941:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&translate_token, "{%d}", lex_translate_count++); ^ compiler.y:2996:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); ^ compiler.y:3009:18: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(®ex_result_id, "#reres.%s", *input == '-' ? "=NC" : "=LC"); ^ compiler.y:3011:18: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); ^ compiler.y:3041:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Unrecognised $ substitution in string."); ^ compiler.y: In function 'spl_lex_splifcalltag': compiler.y:2429:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&funcname, "%s_%.*s", ^ compiler.y:2432:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&endtag, "</%s:%.*s>", ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o restore.o restore.c compiler.y: In function 'spl_lex_spltag': compiler.y:2570:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "missing </spl:comment>."); ^ compiler.y:2622:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "<spl:var ..> requires attribute 'var'."); ^ compiler.y:2629:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&var_name_dup, "[*].%s", attr_var); ^ compiler.y:2664:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "<spl:if ..> requires attribute 'code'."); ^ compiler.y:2691:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "<spl:foreach ..> requires attributes 'var' and 'list'."); ^ compiler.y:2734:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Found <spl:else> tag without prior <spl:if> or <splif:*> tag."); ^ compiler.y:2738:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lex_errstr, "Unknown <spl:*> tag: %s", tag); ^ compiler.y: In function 'breakcont_label': compiler.y:98:39: warning: attempt to free a non-heap object 'label' [-Wfree-nonheap-object] spl_yyerror("Assembler error"); free(label); return 1; ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o clib.o clib.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o util.o util.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o builtins.o builtins.c builtins.c: In function 'spl_builtin_fmt': builtins.c:420:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&insert, "%*.*s", ^ builtins.c:465:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&insert, "%-*s", width, buffer); ^ builtins.c:487:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&insert, fmt_string, ^ builtins.c:490:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&insert, "%.*f", ^ builtins.c:497:16: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&insert, "(format_string_error:%c)", *format_end); ^ builtins.c: In function 'spl_builtin_rand': builtins.c:529:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &seed, sizeof(unsigned int)); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o optimizer.o optimizer.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o report.o report.c report.c: In function 'spl_report_file': report.c:73:14: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] my_vasprintf(&msg, fmt, ap); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o treedump.o treedump.c treedump.c: In function 'bt_layout_info': treedump.c:320:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(info_p, " (byte %d in code block '%s')", ^ treedump.c:336:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(info_p, " (near line %d, char %d in '%s')", lineno, charno, srcfile); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o gc.o gc.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o rccheck.o rccheck.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o debug.o debug.c debug.c: In function 'check_breakpoint': debug.c:111:4: warning: ignoring return value of 'atoi', declared with attribute warn_unused_result [-Wunused-result] (void) atoi(strtok(NULL, ":")); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o string.o string.c string.c: In function 'spl_string_printf': string.c:91:15: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] my_vasprintf(&text, fmt, ap); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o utf8.o utf8.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o hnode.o hnode.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -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/lib64/spl_modules"; }' > moddir.c.new mv moddir.c.new moddir.c 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 mv spl_op.c.new spl_op.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_termio.o spl_modules/mod_termio.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_bits.o spl_modules/mod_bits.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_time.o spl_modules/mod_time.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_environ.o spl_modules/mod_environ.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_crypt.o spl_modules/mod_crypt.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o splrun.o splrun.c spl_modules/mod_crypt.c: In function 'handler_crypt': spl_modules/mod_crypt.c:70:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &random_byte, 1); ^ spl_modules/mod_crypt.c:79:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &random_byte, 1); ^ spl_modules/mod_crypt.c:81:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &random_byte, 1); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_format_xml.o spl_modules/mod_format_xml.c splrun.c: In function 'main': splrun.c:259:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&vm->path, ".:./spl_modules:%s", spl_system_modules_dir()); ^ splrun.c:274:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(opt_dump_file), 0); ^ splrun.c:354:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, magic_cookie, strlen(magic_cookie)); ^ spl_modules/mod_format_xml.c: In function 'handler_format_xml_parse': spl_modules/mod_format_xml.c:350:4: warning: format '%d' expects argument of type 'int', but argument 5 has type 'XML_Size' [-Wformat=] SPL_NEW_PRINTF("XML Parse error at line %d: %s", ^ spl_modules/mod_format_xml.c: In function 'chardata_hdl': spl_modules/mod_format_xml.c:323:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&id, "C%d", last_is_char); ^ spl_modules/mod_format_xml.c:330:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&id, "C%d", last_is_char); ^ spl_modules/mod_format_xml.c:334:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&txt, "%s%.*s", spl_get_string(n), len, s); ^ spl_modules/mod_format_xml.c: In function 'chardata_cleanup': spl_modules/mod_format_xml.c:244:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&id, "C%d", last_is_char); ^ spl_modules/mod_format_xml.c: In function 'element_start_hdl': spl_modules/mod_format_xml.c:291:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&id, "E%d:%s", stack_count(el, +1), el); ^ spl_modules/mod_format_xml.c:301:15: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&id, "A:%s", attr[i]); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_sql.o spl_modules/mod_sql.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_system.o spl_modules/mod_system.c spl_modules/mod_sql.c: In function 'handler_sql_connect': spl_modules/mod_sql.c:139:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&module, "sql_%s", driver_name); ^ spl_modules/mod_sql.c:145:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&driver, "%s:%s", driver_name, driver_data); ^ spl_modules/mod_system.c: In function 'handler_system': spl_modules/mod_system.c:63:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); ^ spl_modules/mod_system.c:72:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(task->vm->current_dir_name); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_multimouse.o spl_modules/mod_multimouse.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_cgi.o spl_modules/mod_cgi.c spl_modules/mod_cgi.c: In function 'parse_query_string_multiformdat': spl_modules/mod_cgi.c:111:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&real_boundary, "\r\n--%s", boundary); ^ spl_modules/mod_cgi.c: In function 'handler_cgi_node': spl_modules/mod_cgi.c:555:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&this_session, "%.*s:%s", (int)strcspn(ctx->session, ":"), ctx->session, task->id); ^ spl_modules/mod_cgi.c:560:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&this_session, "%.*s", (int)strcspn(ctx->session, ":"), ctx->session); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_file.o spl_modules/mod_file.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_modules/mod_prime.o spl_modules/mod_prime.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspl.o webspl.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspl_common.o webspl_common.c webspl.c: In function 'main': webspl.c:84:8: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(basedir, 1024); ^ webspl.c:109:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(scriptdir); ^ webspl.c:121:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&vm->path, ".:./spl_modules:%s/spl_modules:%s", basedir, spl_system_modules_dir()); ^ webspl.c:122:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&vm->codecache_dir, "%s/webspl_cache", basedir); ^ webspl.c:176:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&dumpfile, "%s/webspl_cache/%.*s.spld", basedir, ^ webspl.c:220:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&dumpfile, "%s/webspl_cache/%.*s.spld", basedir, (int)strcspn(vm->cgi_ctx->session, ":"), vm->cgi_ctx->session); ^ webspl.c: In function 'get_session_lock': webspl.c:50:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", ^ webspl.c: In function 'free_session_lock': webspl.c:72:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", ^ webspl_common.c: In function 'create_dumpdir': webspl_common.c:49:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); ^ webspl_common.c: In function 'expire_dumpdir': webspl_common.c:67:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); ^ webspl_common.c:68:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(×tamp_file, "%s/LAST_EXPIRE", dumpdir); ^ gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o webspld.o webspld.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o httpsrv.o httpsrv.c webspld.c: In function 'main': webspld.c:642:8: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(daemon_basedir, PATH_MAX); ^ webspld.c: In function 'webspld_vm_pool_get': webspld.c:246:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] my_asprintf(&pool[oldest_entry].vm->path, ".:./spl_modules:%s/spl_modules:%s", daemon_basedir, spl_system_modules_dir()); ^ sed -e 's;@CFLAGS@;-I/usr/pkg/include;' \ -e 's;@MODDIR@;/usr/pkg/lib64/spl_modules;' \ -e 's;@LDFLAGS@;-L/usr/pkg/lib64 -L/usr/lib64/mysql -rdynamic -pthread;' \ -e 's;@LDLIBS@;-ldl -lspl -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses;' \ < spl-config.templ > spl-config.new chmod +x spl-config.new mv spl-config.new spl-config gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o moddir.o moddir.c gcc -std=gnu99 -Wall -I/home/pbulk/build/lang/spl/work/spl-1.0pre3 -Wshadow -fPIC -I/usr/pkg/include -DENABLE_REGEX_SUPPORT -DENABLE_READLINE_SUPPORT -DENABLE_GETTEXT_SUPPORT -pthread -DENABLE_PTHREAD_SUPPORT -O1 -ggdb -I/usr/pkg/include/ncurses -I/usr/pkg/include -c -o spl_op.o spl_op.c rm -f libspl.a ar qc libspl.a state.o exec.o asm.o compiler.o dump.o restore.o clib.o util.o builtins.o optimizer.o report.o treedump.o gc.o rccheck.o debug.o string.o utf8.o hnode.o sha1.o moddir.o spl_op.o ranlib libspl.a gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_encode_xml.o -o spl_modules/mod_encode_xml.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_termio.o -o spl_modules/mod_termio.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_bits.o -o spl_modules/mod_bits.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_time.o -o spl_modules/mod_time.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_environ.o -o spl_modules/mod_environ.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_crypt.o -lcrypt -o spl_modules/mod_crypt.so gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread splrun.o -ldl -lspl -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o splrun gcc -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -L/usr/lib64/mysql -rdynamic -pthread -shared spl_modules/mod_format_xml.o -lexpat -o spl_modules/mod_format_xml.so /bin/ld: cannot find -lexpat collect2: error: ld returned 1 exit status make: *** [spl_modules/mod_format_xml.so] Error 1 make: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/spl *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/spl