+ 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.0pre3nb36/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spl-1.0pre3nb36/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spl-1.0pre3nb36 Auto-generating build configuration.. Checking for pcre: found. Checking for expat: found. Checking for sqlite: not 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 splrun.o splrun.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 In file included from splrun.c:39: splrun.c: In function 'main': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf splrun.c:259:3: note: in expansion of macro 'my_asprintf' my_asprintf(&vm->path, ".:./spl_modules:%s", spl_system_modules_dir()); ^~~~~~~~~~~ splrun.c:274:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(opt_dump_file), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splrun.c:354:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, magic_cookie, strlen(magic_cookie)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 In file included from exec.c:33: exec.c: In function 'spl_exec': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf exec.c:131:3: note: in expansion of macro 'my_asprintf' my_asprintf(&s, "[SPL Codepointer: %s]", task->debug_str); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf exec.c:133:3: note: in expansion of macro 'my_asprintf' my_asprintf(&s, "[SPL Codepointer: byte %d in '%s']", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf exec.c:1469:13: note: in expansion of macro 'my_asprintf' case '+': my_asprintf(&new, "-%s", old+1); break; ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf exec.c:1470:13: note: in expansion of macro 'my_asprintf' 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 compiler.o compiler.c In file included from compiler.y:48: y.tab.c: In function 'spl_yyparse': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:263:4: note: in expansion of macro 'my_asprintf' my_asprintf(&label, "L%d:%s", lbstack_value(), $1); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:275:4: note: in expansion of macro 'my_asprintf' my_asprintf(&label, "L%d:%s", lbstack_value(), $2); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:798:4: note: in expansion of macro 'my_asprintf' my_asprintf(&fname, "encode_%s", $1); ^~~~~~~~~~~ compiler.y: In function 'create_debug_op': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3668:2: note: in expansion of macro 'my_asprintf' my_asprintf(&newinfo, "%d:%d:%s", ^~~~~~~~~~~ compiler.y: In function 'spl_yyerror': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3876:2: note: in expansion of macro 'my_asprintf' my_asprintf(&code, "%.40s", lex_last_item->pos-30 > orig_input ? lex_last_item->pos-30 : orig_input); ^~~~~~~~~~~ compiler.y: In function 'spl_compiler': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3803:3: note: in expansion of macro 'my_asprintf' my_asprintf(&code, "%.40s", input-30 > orig_input ? input-30 : orig_input); ^~~~~~~~~~~ compiler.y: In function 'spl_lex_prog': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3113:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Unexpected end-of-file (expected '%s').", term); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3137:5: note: in expansion of macro 'my_asprintf' my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 16)); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3142:5: note: in expansion of macro 'my_asprintf' my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 8)); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3147:5: note: in expansion of macro 'my_asprintf' my_asprintf(&buffer, "%ld", strtol(input+2, (char**)&input, 2)); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3166:5: note: in expansion of macro 'my_asprintf' my_asprintf(®ex_result_id, "#reres.%.*s", len++, input); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3183:5: note: in expansion of macro 'my_asprintf' my_asprintf(®ex_result_id, "#reres.%.*s", len, input); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3252:8: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Endless recursion in macro expansion."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3376:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Unexpected '%c'.", *input); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3473:5: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Error in regex syntax."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3497:6: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Error in regex syntax."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3500:5: note: in expansion of macro 'my_asprintf' my_asprintf(&new_mod, "%sEANP", mod); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3590:7: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "End label missing."); ^~~~~~~~~~~ compiler.y: In function 'spl_lex_pragma': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2228:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Can't find end label for #%s.", stmt); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2262:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Can't open #file-as-const file (%s%s).", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2273:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Can't open #file-as-code file (%s%s).", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2298:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Can't open #file-as-template file (%s%s).", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2333:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Can't open #file-as-bytecode file (%s).", arg); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2337:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Bytecode from #file-as-bytecode file (%s) has invalid signature.", arg); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2360:2: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Unknown compiler-pragma #%s.", stmt); ^~~~~~~~~~~ compiler.y: In function 'malloc_file_wrapper': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:1978:3: note: in expansion of macro 'my_asprintf' my_asprintf(&token, "#embedded-file %s ", filename); ^~~~~~~~~~~ compiler.y: In function 'import_asm': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2053:3: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Error while importing bytecode file."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2075:5: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Error while importing bytecode file."); ^~~~~~~~~~~ compiler.y: In function 'spl_lex_prog_string': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3084:2: note: in expansion of macro 'my_asprintf' my_asprintf((char**)&lex_srcfile_current->name, "%s:byte(%d)", ^~~~~~~~~~~ compiler.y: In function 'spl_lex_string': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2941:5: note: in expansion of macro 'my_asprintf' my_asprintf(&translate_token, "{%d}", lex_translate_count++); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2996:6: note: in expansion of macro 'my_asprintf' my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3009:7: note: in expansion of macro 'my_asprintf' my_asprintf(®ex_result_id, "#reres.%s", *input == '-' ? "=NC" : "=LC"); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3011:7: note: in expansion of macro 'my_asprintf' my_asprintf(®ex_result_id, "#reres.%.*s", inner_len, input); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:3041:6: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Unrecognised $ substitution in string."); ^~~~~~~~~~~ compiler.y: In function 'spl_lex_splifcalltag': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2429:2: note: in expansion of macro 'my_asprintf' my_asprintf(&funcname, "%s_%.*s", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2432:2: note: in expansion of macro 'my_asprintf' my_asprintf(&endtag, "</%s:%.*s>", ^~~~~~~~~~~ compiler.y: In function 'spl_lex_spltag': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2570:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "missing </spl:comment>."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2622:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "<spl:var ..> requires attribute 'var'."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2629:3: note: in expansion of macro 'my_asprintf' my_asprintf(&var_name_dup, "[*].%s", attr_var); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2664:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "<spl:if ..> requires attribute 'code'."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2691:4: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "<spl:foreach ..> requires attributes 'var' and 'list'."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2734:3: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Found <spl:else> tag without prior <spl:if> or <splif:*> tag."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf compiler.y:2738:2: note: in expansion of macro 'my_asprintf' my_asprintf(&lex_errstr, "Unknown <spl:*> tag: %s", tag); ^~~~~~~~~~~ compiler.y: In function 'breakcont_label': compiler.y:98:35: 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 dump.o dump.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 restore.o restore.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 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 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 In file included from builtins.c:47: builtins.c: In function 'spl_builtin_fmt': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf builtins.c:420:5: note: in expansion of macro 'my_asprintf' my_asprintf(&insert, "%*.*s", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf builtins.c:465:6: note: in expansion of macro 'my_asprintf' my_asprintf(&insert, "%-*s", width, buffer); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf builtins.c:487:6: note: in expansion of macro 'my_asprintf' my_asprintf(&insert, fmt_string, ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf builtins.c:490:6: note: in expansion of macro 'my_asprintf' my_asprintf(&insert, "%.*f", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf builtins.c:497:5: note: in expansion of macro 'my_asprintf' my_asprintf(&insert, "(format_string_error:%c)", *format_end); ^~~~~~~~~~~ builtins.c: In function 'spl_builtin_rand': builtins.c:529:4: 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 report.o report.c In file included from report.c:30: report.c: In function 'spl_report_file': compat.h:141:24: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_vasprintf vasprintf report.c:73:2: note: in expansion of macro 'my_vasprintf' 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 In file included from treedump.c:28: treedump.c: In function 'bt_layout_info': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf treedump.c:320:3: note: in expansion of macro 'my_asprintf' my_asprintf(info_p, " (byte %d in code block '%s')", ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf treedump.c:336:2: note: in expansion of macro 'my_asprintf' 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 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 debug.c: In function 'check_breakpoint': debug.c:111:11: warning: ignoring return value of 'atoi', declared with attribute warn_unused_result [-Wunused-result] (void) atoi(strtok(NULL, ":")); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from string.c:30: string.c: In function 'spl_string_printf': compat.h:141:24: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_vasprintf vasprintf string.c:91:3: note: in expansion of macro 'my_vasprintf' 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_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_cgi.o spl_modules/mod_cgi.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 In file included from spl_modules/mod_cgi.c:39: spl_modules/mod_cgi.c: In function 'parse_query_string_multiformdat': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_cgi.c:111:2: note: in expansion of macro 'my_asprintf' my_asprintf(&real_boundary, "\r\n--%s", boundary); ^~~~~~~~~~~ spl_modules/mod_cgi.c: In function 'handler_cgi_node': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_cgi.c:555:3: note: in expansion of macro 'my_asprintf' my_asprintf(&this_session, "%.*s:%s", (int)strcspn(ctx->session, ":"), ctx->session, task->id); ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_cgi.c:560:3: note: in expansion of macro 'my_asprintf' my_asprintf(&this_session, "%.*s", (int)strcspn(ctx->session, ":"), ctx->session); ^~~~~~~~~~~ spl_modules/mod_crypt.c: In function 'handler_crypt': spl_modules/mod_crypt.c:70:6: 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:5: 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:5: 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_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 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_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_format_xml.o spl_modules/mod_format_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 spl_modules/mod_multimouse.o spl_modules/mod_multimouse.c In file included from spl_modules/mod_format_xml.c:33: spl_modules/mod_format_xml.c: In function 'handler_format_xml_parse': spl_modules/mod_format_xml.c:350:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'XML_Size' {aka 'long unsigned int'} [-Wformat=] SPL_NEW_PRINTF("XML Parse error at line %d: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XML_GetCurrentLineNumber(p), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/spl.h:407:65: note: in definition of 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:350:4: note: in expansion of macro 'SPL_NEW_PRINTF' SPL_NEW_PRINTF("XML Parse error at line %d: %s", ^~~~~~~~~~~~~~ In file included from spl_modules/mod_format_xml.c:34: spl_modules/mod_format_xml.c: In function 'chardata_hdl': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:323:4: note: in expansion of macro 'my_asprintf' my_asprintf(&id, "C%d", last_is_char); ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:330:4: note: in expansion of macro 'my_asprintf' my_asprintf(&id, "C%d", last_is_char); ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:334:4: note: in expansion of macro 'my_asprintf' my_asprintf(&txt, "%s%.*s", spl_get_string(n), len, s); ^~~~~~~~~~~ spl_modules/mod_format_xml.c: In function 'chardata_cleanup': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:244:3: note: in expansion of macro 'my_asprintf' my_asprintf(&id, "C%d", last_is_char); ^~~~~~~~~~~ spl_modules/mod_format_xml.c: In function 'element_start_hdl': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:291:3: note: in expansion of macro 'my_asprintf' my_asprintf(&id, "E%d:%s", stack_count(el, +1), el); ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_format_xml.c:301:4: note: in expansion of macro 'my_asprintf' 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_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 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 In file included from spl_modules/mod_sql.c:36: spl_modules/mod_sql.c: In function 'handler_sql_connect': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_sql.c:139:2: note: in expansion of macro 'my_asprintf' my_asprintf(&module, "sql_%s", driver_name); ^~~~~~~~~~~ /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_sql.c:145:2: note: in expansion of macro 'my_asprintf' my_asprintf(&driver, "%s:%s", driver_name, driver_data); ^~~~~~~~~~~ spl_modules/mod_system.c: In function 'handler_system': spl_modules/mod_system.c:63:2: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); ^~~~~~~ spl_modules/mod_system.c:72:4: 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_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_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 webspl.o webspl.c webspl.c: In function 'main': webspl.c:84:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(basedir, 1024); ^~~~~~~~~~~~~~~~~~~~~ webspl.c:109:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(scriptdir); ^~~~~~~~~~~~~~~~ In file included from webspl.c:37: compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:121:2: note: in expansion of macro 'my_asprintf' my_asprintf(&vm->path, ".:./spl_modules:%s/spl_modules:%s", basedir, spl_system_modules_dir()); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:122:2: note: in expansion of macro 'my_asprintf' my_asprintf(&vm->codecache_dir, "%s/webspl_cache", basedir); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:176:3: note: in expansion of macro 'my_asprintf' my_asprintf(&dumpfile, "%s/webspl_cache/%.*s.spld", basedir, ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:220:2: note: in expansion of macro 'my_asprintf' 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': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:50:2: note: in expansion of macro 'my_asprintf' my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", ^~~~~~~~~~~ webspl.c: In function 'free_session_lock': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl.c:72:2: note: in expansion of macro 'my_asprintf' my_asprintf(&lockfile, "%s/webspl_cache/%.*s.lock", ^~~~~~~~~~~ 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 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 In file included from webspl_common.c:43: webspl_common.c: In function 'create_dumpdir': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl_common.c:49:2: note: in expansion of macro 'my_asprintf' my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); ^~~~~~~~~~~ webspl_common.c: In function 'expire_dumpdir': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl_common.c:67:2: note: in expansion of macro 'my_asprintf' my_asprintf(&dumpdir, "%s/webspl_cache", basedir ? basedir : "."); ^~~~~~~~~~~ compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspl_common.c:68:2: note: in expansion of macro 'my_asprintf' my_asprintf(×tamp_file, "%s/LAST_EXPIRE", dumpdir); ^~~~~~~~~~~ webspld.c: In function 'main': webspld.c:642:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(daemon_basedir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from webspld.c:46: webspld.c: In function 'webspld_vm_pool_get': compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf webspld.c:246:2: note: in expansion of macro 'my_asprintf' my_asprintf(&pool[oldest_entry].vm->path, ".:./spl_modules:%s/spl_modules:%s", daemon_basedir, spl_system_modules_dir()); ^~~~~~~~~~~ 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 sed -e 's;@CFLAGS@;-I/usr/pkg/include;' \ -e 's;@MODDIR@;/usr/pkg/lib64/spl_modules;' \ -e 's;@LDFLAGS@;-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib64 -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 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread splrun.o -ldl -lspl -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o splrun gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_bits.o -o spl_modules/mod_bits.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_cgi.o -o spl_modules/mod_cgi.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_crypt.o -lcrypt -o spl_modules/mod_crypt.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_encode_xml.o -o spl_modules/mod_encode_xml.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_environ.o -o spl_modules/mod_environ.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_file.o -o spl_modules/mod_file.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_format_xml.o -lexpat -o spl_modules/mod_format_xml.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_multimouse.o -o spl_modules/mod_multimouse.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_prime.o -o spl_modules/mod_prime.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_sql.o -o spl_modules/mod_sql.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_system.o -o spl_modules/mod_system.so ./splrun -N -e -x spl_modules/mod_task.splb spl_modules/mod_task.spl gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_termio.o -o spl_modules/mod_termio.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_time.o -o spl_modules/mod_time.so ./splrun -N -e -x spl_modules/mod_webdebug.splb spl_modules/mod_webdebug.spl ./splrun -N -e -x spl_modules/mod_encode_int.splb spl_modules/mod_encode_int.spl ./splrun -N -e -x spl_modules/mod_encode_js.splb spl_modules/mod_encode_js.spl ./splrun -N -e -x spl_modules/mod_encode_regex.splb spl_modules/mod_encode_regex.spl ./splrun -N -e -x spl_modules/mod_encode_url.splb spl_modules/mod_encode_url.spl ./splrun -N -e -x spl_modules/mod_format_ini.splb spl_modules/mod_format_ini.spl ./splrun -N -e -x spl_modules/mod_sql_utils.splb spl_modules/mod_sql_utils.spl ./splrun -N -e -x spl_modules/mod_w2t.splb spl_modules/mod_w2t.spl ./splrun -N -e -x spl_modules/mod_wsf.splb spl_modules/mod_wsf.spl ./splrun -N -e -x spl_modules/mod_wsf_action.splb spl_modules/mod_wsf_action.spl ./splrun -N -e -x spl_modules/mod_wsf_debug.splb spl_modules/mod_wsf_debug.spl ./splrun -N -e -x spl_modules/mod_wsf_dialog.splb spl_modules/mod_wsf_dialog.spl ./splrun -N -e -x spl_modules/mod_wsf_display.splb spl_modules/mod_wsf_display.spl ./splrun -N -e -x spl_modules/mod_wsf_edit.splb spl_modules/mod_wsf_edit.spl ./splrun -N -e -x spl_modules/mod_wsf_edit_sql.splb spl_modules/mod_wsf_edit_sql.spl ./splrun -N -e -x spl_modules/mod_wsf_graph.splb spl_modules/mod_wsf_graph.spl ./splrun -N -e -x spl_modules/mod_wsf_menu.splb spl_modules/mod_wsf_menu.spl ./splrun -N -e -x spl_modules/mod_wsf_switch.splb spl_modules/mod_wsf_switch.spl gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread webspl_common.o spl_modules/mod_cgi.o webspl.o -ldl 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 -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o webspl.cgi gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread webspl_common.o httpsrv.o spl_modules/mod_cgi.o webspld.o -ldl 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 -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -lreadline -lncurses -o webspld ./splrun -N -e -x spl_modules/mod_array.splb spl_modules/mod_array.spl bash splb2splh.sh spl_modules/mod_task.splb > spl_modules/mod_task.splh.new bash splb2splh.sh spl_modules/mod_webdebug.splb > spl_modules/mod_webdebug.splh.new mv spl_modules/mod_task.splh.new spl_modules/mod_task.splh bash splb2splh.sh spl_modules/mod_array.splb > spl_modules/mod_array.splh.new mv spl_modules/mod_webdebug.splh.new spl_modules/mod_webdebug.splh mv spl_modules/mod_array.splh.new spl_modules/mod_array.splh 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_task.o spl_modules/mod_task.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_webdebug.o spl_modules/mod_webdebug.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_array.o spl_modules/mod_array.c In file included from spl_modules/mod_array.c:38: spl_modules/mod_array.c: In function 'handler_array_reindex': /home/pbulk/build/lang/spl/work/spl-1.0pre3/compat.h:140:23: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] # define my_asprintf asprintf spl_modules/mod_array.c:69:3: note: in expansion of macro 'my_asprintf' my_asprintf(&s->key, "%d", node->subs_next_idx++); ^~~~~~~~~~~ gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_task.o -o spl_modules/mod_task.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_webdebug.o -o spl_modules/mod_webdebug.so gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pbulk/build/lang/spl/work/spl-1.0pre3 -rdynamic -pthread -shared spl_modules/mod_array.o -o spl_modules/mod_array.so rm -rf spldoc; mkdir -p spldoc ./splrun -M spl_modules -pinfile=builtins.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_array.c,spl_modules/mod_array.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_bits.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_cgi.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_crypt.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_curl.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_int.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_js.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_regex.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_url.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_encode_xml.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_environ.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_file.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_format_ini.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_format_xml.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_kde.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_multimouse.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_prime.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_qt.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sdl.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_mysql.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_postgres.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_sqlite.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_sql_utils.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_system.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_task.c,spl_modules/mod_task.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_termio.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_time.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_uuidgen.c, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_w2t.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_webdebug.c,spl_modules/mod_webdebug.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_action.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_debug.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_dialog.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_display.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_edit.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_edit_sql.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_graph.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_menu.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_wsf_switch.spl, -poutdir=spldoc spldoc.spl ./splrun -M spl_modules -pinfile=spl_modules/mod_xml.c, -poutdir=spldoc spldoc.spl ./splrun -pinfile=$( { ls -f README INSTALL README.LANG README.WEBSPL spldoc/builtins.txt; ls spldoc/*.txt | grep -vx spldoc/builtins.txt; echo README.API; } | tr '\n' ','; ) \ -ptitle='SPL Reference Manual http://www.clifford.at/spl/' \ -pauthor="Clifford Wolf" -poutfile=manual.tex -M spl_modules txt2tex.spl echo '<html><head><title>SPL Module Documentation: Index</title>' > spldoc/index.new echo '<style type="text/css"><!-- a { text-decoration:none; } --></style>' >> spldoc/index.new echo '</head><body bgcolor="#dddddd"><h1>SPL Module Documentation: Index</h1>' >> spldoc/index.new gawk '/ BEGIN / { idx=1; print "<hr>"; } idx { print; } / END / { idx=0; }' spldoc/*.html >> spldoc/index.new echo '<hr><table width="100%"><tr><td>Generated by SPLDOC.</td><td align="right">' >> spldoc/index.new echo '<a href="http://www.clifford.at/spl/">http://www.clifford.at/spl/</a>' >> spldoc/index.new echo '</td></tr></table></body></html>' >> spldoc/index.new mv spldoc/index.new spldoc/index.html rm spl_modules/mod_array.splb spl_modules/mod_task.splb spl_modules/mod_webdebug.splb