+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libpe-0.81nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libpe-0.81nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libpe-0.81nb2 gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./error.o error.c error.c: In function 'pe_error_print': error.c:103:42: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror'? [-Wimplicit-function-declaration] 103 | const char *errmsg_ptr = strerror_r(errno, errmsg, sizeof(errmsg)); | ^~~~~~~~~~ | strerror error.c:103:42: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./exports.o exports.c exports.c: In function 'pe_exports': exports.c:67:25: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 67 | exports->name = strdup(name_ptr); | ^~~~~~ | strcmp exports.c:67:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 67 | exports->name = strdup(name_ptr); | ^ exports.c:174:44: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 174 | exports->functions[i].name = strdup(fname); | ^ exports.c:194:56: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 194 | exports->functions[i].fwd_name = strdup(fw_entry_name); | ^ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./hashes.o hashes.c hashes.c: In function 'get_hashes': hashes.c:63:24: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 63 | output->name = strdup(name); | ^~~~~~ | strcmp hashes.c:63:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 63 | output->name = strdup(name); | ^ hashes.c:76:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 76 | output->md5 = strdup(hash_value); | ^ hashes.c:87:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 87 | output->sha1 = strdup(hash_value); | ^ hashes.c:98:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 98 | output->sha256 = strdup(hash_value); | ^ hashes.c:109:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 109 | output->ssdeep = strdup(hash_value); | ^ hashes.c: In function 'imphash_load_imported_functions': hashes.c:498:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 498 | el->dll_name = strdup(dll_name); | ^ hashes.c:504:51: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 504 | el->function_name = strdup(is_ordinal ? hint_str : fname); | ^ hashes.c:514:75: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 514 | el->function_name = strdup(oleaut32_arr[i].fname); | ^ hashes.c:518:75: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 518 | el->function_name = strdup(ws2_32_arr[i].fname); | ^ hashes.c:525:67: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 525 | el->function_name = strdup(ord); | ^ hashes.c:527:67: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 527 | el->function_name = strdup(fname); | ^ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./imports.o imports.c imports.c: In function 'parse_imported_functions': imports.c:243:59: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 243 | imported_dll->functions[i].name = strdup(fname); | ^~~~~~ | strcmp imports.c:243:57: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 243 | imported_dll->functions[i].name = strdup(fname); | ^ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./misc.o misc.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./pe.o pe.c pe.c: In function 'pe_load_file_ext': pe.c:51:21: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 51 | ctx->path = strdup(path); | ^~~~~~ | strcmp pe.c:51:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 51 | ctx->path = strdup(path); | ^ pe.c:103:28: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 103 | FILE *fp = fdopen(fd, options & LIBPE_OPT_OPEN_RW ? "r+b" : "rb"); // NOTE: 'b' is ignored on all POSIX conforming systems. | ^~~~~~ | fopen pe.c:103:28: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./resources.o resources.c resources.c:383:13: warning: 'pe_resource_debug_nodes' defined but not used [-Wunused-function] 383 | static void pe_resource_debug_nodes(pe_ctx_t *ctx, const pe_resource_node_t *node) { | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./utils.o utils.c utils.c: In function 'pe_utils_str_array_join': utils.c:98:24: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 98 | return strdup(""); | ^~~~~~ | strcmp utils.c:98:24: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 98 | return strdup(""); | ^~~~~~~~~~ utils.c:114:33: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 114 | result[--result_length] = '\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ utils.c:109:24: note: at offset -1 into destination object of size 0 allocated by 'malloc' 109 | char *result = malloc(result_length); | ^~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./libfuzzy/edit_dist.o libfuzzy/edit_dist.c gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I"." -I"./include" -W -Wall -Wextra -pedantic -std=c99 -c -fPIC -I/opt/pkg/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -o /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./libfuzzy/fuzzy.o libfuzzy/fuzzy.c libfuzzy/fuzzy.c: In function 'fuzzy_hash_file': libfuzzy/fuzzy.c:422:3: error: unknown type name 'off_t' 422 | off_t fpos; | ^~~~~ libfuzzy/fuzzy.c:424:10: warning: implicit declaration of function 'ftello'; did you mean 'ftell'? [-Wimplicit-function-declaration] 424 | fpos = ftello(handle); | ^~~~~~ | ftell libfuzzy/fuzzy.c:430:9: warning: implicit declaration of function 'fseeko'; did you mean 'fseek'? [-Wimplicit-function-declaration] 430 | if (fseeko(handle, fpos, SEEK_SET) < 0) | ^~~~~~ | fseek libfuzzy/fuzzy.c: In function 'eliminate_sequences': libfuzzy/fuzzy.c:520:9: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 520 | ret = strdup(str); | ^~~~~~ | strcmp libfuzzy/fuzzy.c:520:7: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 520 | ret = strdup(str); | ^ gmake: *** [Makefile:103: /home/pbulk/build/security/libpe/work/libpe-ce39b127328e3863e08163962f7ecc768eb2555e/build/./libfuzzy/fuzzy.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libpe *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libpe