+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yara-4.5.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yara-4.5.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for yara-4.5.1 --- all --- /usr/pkg/bin/bmake all-am --- cli/.dirstamp --- --- cli/.deps/.dirstamp --- --- libyara/modules/tests/.dirstamp --- --- libyara/modules/tests/.deps/.dirstamp --- --- libyara/modules/elf/.dirstamp --- --- libyara/modules/elf/.deps/.dirstamp --- --- libyara/modules/math/.dirstamp --- --- libyara/modules/math/.deps/.dirstamp --- --- libyara/modules/time/.dirstamp --- --- libyara/modules/time/.deps/.dirstamp --- --- libyara/modules/pe/.dirstamp --- --- libyara/modules/pe/.deps/.dirstamp --- --- libyara/modules/console/.dirstamp --- --- libyara/modules/console/.deps/.dirstamp --- --- libyara/modules/string/.dirstamp --- --- libyara/modules/string/.deps/.dirstamp --- --- libyara/modules/hash/.dirstamp --- --- libyara/modules/hash/.deps/.dirstamp --- --- libyara/modules/dotnet/.dirstamp --- --- libyara/modules/dotnet/.deps/.dirstamp --- --- libyara/modules/pe/authenticode-parser/.dirstamp --- --- libyara/modules/pe/authenticode-parser/.deps/.dirstamp --- --- libyara/.dirstamp --- --- libyara/.deps/.dirstamp --- --- libyara/tlshc/.dirstamp --- --- libyara/tlshc/.deps/.dirstamp --- --- libyara/proc/.dirstamp --- --- libyara/proc/.deps/.dirstamp --- --- cli/args.o --- --- cli/common.o --- --- cli/args.o --- CC cli/args.o --- cli/common.o --- CC cli/common.o In file included from /usr/include/ctype.h:100, from ./libyara/include/yara/re.h:33, from ./libyara/include/yara/atoms.h:34, from ./libyara/include/yara/ahocorasick.h:33, from ./libyara/include/yara/compiler.h:35, from ./libyara/include/yara.h:33, from cli/common.c:45: cli/common.c: In function 'is_integer': cli/common.c:218:18: warning: array subscript has type 'char' [-Wchar-subscripts] 218 | if (!isdigit(*str)) | ^ cli/common.c: In function 'is_float': cli/common.c:245:23: warning: array subscript has type 'char' [-Wchar-subscripts] 245 | else if (!isdigit(*str)) | ^ --- cli/threading.o --- CC cli/threading.o --- cli/yara.o --- CC cli/yara.o --- cli/yarac.o --- CC cli/yarac.o --- libyara/modules/tests/la-tests.lo --- CC libyara/modules/tests/la-tests.lo --- libyara/modules/elf/la-elf.lo --- CC libyara/modules/elf/la-elf.lo In file included from /usr/include/ctype.h:100, from ./libyara/include/yara/re.h:33, from ./libyara/include/yara/modules.h:42, from libyara/modules/elf/elf.c:38: libyara/modules/elf/elf.c: In function 'telfhash': libyara/modules/elf/elf.c:135:74: warning: array subscript has type 'char' [-Wchar-subscripts] 135 | for (j = 0; name[j]; j++) clean_names[symbol_count][j] = tolower(name[j]); | ^ libyara/modules/elf/elf.c: In function 'import_md5': libyara/modules/elf/elf.c:230:74: warning: array subscript has type 'char' [-Wchar-subscripts] 230 | for (j = 0; name[j]; j++) clean_names[symbol_count][j] = tolower(name[j]); | ^ In file included from libyara/modules/elf/elf.c:42: At top level: ./libyara/include/../exception.h:167:13: warning: 'exception_handler' defined but not used [-Wunused-function] 167 | static void exception_handler(int sig, siginfo_t * info, void *context) | ^~~~~~~~~~~~~~~~~ --- libyara/modules/math/la-math.lo --- CC libyara/modules/math/la-math.lo --- libyara/modules/time/la-time.lo --- CC libyara/modules/time/la-time.lo --- libyara/modules/pe/la-pe.lo --- CC libyara/modules/pe/la-pe.lo In file included from /usr/include/ctype.h:100, from libyara/modules/pe/pe.c:30: libyara/modules/pe/pe.c: In function 'pe_get_section_full_name': libyara/modules/pe/pe.c:2041:70: warning: array subscript has type 'char' [-Wchar-subscripts] 2041 | for (int i = 1; i < IMAGE_SIZEOF_SHORT_NAME && isdigit(section_name[i]); i++) | ^ libyara/modules/pe/pe.c: In function 'imphash': libyara/modules/pe/pe.c:2800:43: warning: array subscript has type 'char' [-Wchar-subscripts] 2800 | final_name[i] = tolower(final_name[i]); | ^ --- libyara/modules/pe/la-pe_utils.lo --- CC libyara/modules/pe/la-pe_utils.lo --- libyara/modules/console/la-console.lo --- CC libyara/modules/console/la-console.lo --- libyara/modules/string/la-string.lo --- CC libyara/modules/string/la-string.lo --- libyara/modules/hash/la-hash.lo --- CC libyara/modules/hash/la-hash.lo --- libyara/modules/dotnet/la-dotnet.lo --- CC libyara/modules/dotnet/la-dotnet.lo --- libyara/modules/pe/authenticode-parser/la-authenticode.lo --- CC libyara/modules/pe/authenticode-parser/la-authenticode.lo In file included from /usr/include/time.h:42, from /usr/include/openssl/asn1.h:23, from libyara/modules/pe/authenticode-parser/authenticode.c:22: libyara/modules/pe/authenticode-parser/helper.h:41:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' 41 | uint16_t bswap16(uint16_t d); | ^~~~~~~ libyara/modules/pe/authenticode-parser/helper.h:42:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' 42 | uint32_t bswap32(uint32_t d); | ^~~~~~~ *** [libyara/modules/pe/authenticode-parser/la-authenticode.lo] Error code 1 bmake[1]: stopped in /home/pbulk/build/security/yara/work/yara-4.5.1 1 error bmake[1]: stopped in /home/pbulk/build/security/yara/work/yara-4.5.1 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/security/yara/work/yara-4.5.1 1 error bmake: stopped in /home/pbulk/build/security/yara/work/yara-4.5.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/security/yara *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/security/yara