+ 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.81/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libpe-0.81/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libpe-0.81
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:28: 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:28: warning: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:18: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
   67 |  exports->name = strdup(name_ptr);
      |                  ^~~~~~
      |                  strcmp
exports.c:67:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   67 |  exports->name = strdup(name_ptr);
      |                ^
exports.c:174:30: 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:35: 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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:17: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
   63 |  output->name = strdup(name);
      |                 ^~~~~~
      |                 strcmp
hashes.c:63:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   63 |  output->name = strdup(name);
      |               ^
hashes.c:76:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   76 |  output->md5 = strdup(hash_value);
      |              ^
hashes.c:87:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   87 |  output->sha1 = strdup(hash_value);
      |               ^
hashes.c:98:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   98 |  output->sha256 = strdup(hash_value);
      |                 ^
hashes.c:109:17: 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:16: 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:23: 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:26: 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:26: 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:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  525 |       el->function_name = strdup(ord);
      |                         ^
hashes.c:527:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  527 |       el->function_name = strdup(fname);
      |                         ^
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:38: 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:36: 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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:14: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
   51 |  ctx->path = strdup(path);
      |              ^~~~~~
      |              strcmp
pe.c:51:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   51 |  ctx->path = strdup(path);
      |            ^
pe.c:103:14: 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:14: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:10: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
   98 |   return strdup("");
      |          ^~~~~~
      |          strcmp
utils.c:98:10: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion]
   98 |   return strdup("");
      |          ^~~~~~~~~~
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:102: /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