=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for yara-4.5.1 --- all --- /usr/bin/make 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 --- --- libyara/modules/tests/la-tests.lo --- --- cli/args.o --- --- cli/common.o --- --- cli/threading.o --- --- libyara/modules/tests/la-tests.lo --- CC libyara/modules/tests/la-tests.lo --- cli/args.o --- CC cli/args.o --- cli/common.o --- CC cli/common.o --- cli/threading.o --- CC cli/threading.o --- cli/yara.o --- CC cli/yara.o --- cli/yarac.o --- CC cli/yarac.o --- libyara/modules/elf/la-elf.lo --- CC libyara/modules/elf/la-elf.lo --- libyara/modules/math/la-math.lo --- CC libyara/modules/math/la-math.lo --- libyara/modules/elf/la-elf.lo --- In file included from libyara/modules/elf/elf.c:42:0: ./libyara/include/../exception.h:167:13: warning: 'exception_handler' defined but not used [-Wunused-function] static void exception_handler(int sig, siginfo_t * info, void *context) ^~~~~~~~~~~~~~~~~ --- libyara/modules/time/la-time.lo --- CC libyara/modules/time/la-time.lo --- libyara/modules/console/la-console.lo --- CC libyara/modules/console/la-console.lo --- libyara/modules/pe/la-pe.lo --- CC libyara/modules/pe/la-pe.lo --- libyara/modules/pe/la-pe_utils.lo --- CC libyara/modules/pe/la-pe_utils.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/la-ahocorasick.lo --- CC libyara/la-ahocorasick.lo --- libyara/la-arena.lo --- CC libyara/la-arena.lo --- libyara/la-atoms.lo --- CC libyara/la-atoms.lo --- libyara/la-base64.lo --- CC libyara/la-base64.lo --- libyara/la-bitmask.lo --- CC libyara/la-bitmask.lo --- libyara/la-compiler.lo --- CC libyara/la-compiler.lo --- libyara/la-endian.lo --- CC libyara/la-endian.lo --- libyara/la-exec.lo --- CC libyara/la-exec.lo --- libyara/la-exefiles.lo --- CC libyara/la-exefiles.lo --- libyara/la-filemap.lo --- CC libyara/la-filemap.lo --- libyara/la-hash.lo --- CC libyara/la-hash.lo --- libyara/la-libyara.lo --- CC libyara/la-libyara.lo --- libyara/la-mem.lo --- CC libyara/la-mem.lo --- libyara/la-modules.lo --- CC libyara/la-modules.lo --- libyara/la-notebook.lo --- CC libyara/la-notebook.lo --- libyara/la-object.lo --- CC libyara/la-object.lo --- libyara/la-parser.lo --- CC libyara/la-parser.lo --- libyara/la-proc.lo --- CC libyara/la-proc.lo --- libyara/la-re.lo --- CC libyara/la-re.lo --- libyara/la-rules.lo --- CC libyara/la-rules.lo --- libyara/la-scan.lo --- CC libyara/la-scan.lo --- libyara/la-scanner.lo --- CC libyara/la-scanner.lo --- libyara/la-simple_str.lo --- CC libyara/la-simple_str.lo --- libyara/la-sizedstr.lo --- CC libyara/la-sizedstr.lo --- libyara/la-stack.lo --- CC libyara/la-stack.lo --- libyara/la-stopwatch.lo --- CC libyara/la-stopwatch.lo --- libyara/la-strutils.lo --- CC libyara/la-strutils.lo --- libyara/la-stream.lo --- --- libyara/la-stopwatch.lo --- libyara/stopwatch.c:70:0: warning: "timespecsub" redefined #define timespecsub(tsp, usp, vsp) \ In file included from /usr/include/time.h:145:0, from ./libyara/include/yara/stopwatch.h:33, from libyara/stopwatch.c:30: /usr/include/sys/time.h:258:0: note: this is the location of the previous definition #define timespecsub(tsp, usp, vsp) \ --- libyara/la-stream.lo --- CC libyara/la-stream.lo --- libyara/la-threading.lo --- CC libyara/la-threading.lo --- libyara/modules/pe/authenticode-parser/la-authenticode.lo --- CC libyara/modules/pe/authenticode-parser/la-authenticode.lo --- libyara/modules/pe/authenticode-parser/la-certificate.lo --- CC libyara/modules/pe/authenticode-parser/la-certificate.lo --- libyara/modules/pe/authenticode-parser/la-helper.lo --- CC libyara/modules/pe/authenticode-parser/la-helper.lo --- libyara/modules/pe/authenticode-parser/la-countersignature.lo --- CC libyara/modules/pe/authenticode-parser/la-countersignature.lo --- libyara/modules/pe/authenticode-parser/la-authenticode.lo --- In file included from /usr/include/time.h:42:0, from /usr/include/openssl/asn1.h:13, 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' uint16_t bswap16(uint16_t d); ^ libyara/modules/pe/authenticode-parser/helper.h:42:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint32_t bswap32(uint32_t d); ^ --- libyara/modules/pe/authenticode-parser/la-certificate.lo --- In file included from /usr/include/stdint.h:35:0, from ./libyara/include/authenticode-parser/authenticode.h:29, from libyara/modules/pe/authenticode-parser/certificate.h:25, from libyara/modules/pe/authenticode-parser/certificate.c:22: libyara/modules/pe/authenticode-parser/helper.h:41:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint16_t bswap16(uint16_t d); ^ libyara/modules/pe/authenticode-parser/helper.h:42:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint32_t bswap32(uint32_t d); ^ --- libyara/modules/pe/authenticode-parser/la-helper.lo --- In file included from /usr/include/stdint.h:35:0, from ./libyara/include/authenticode-parser/authenticode.h:29, from libyara/modules/pe/authenticode-parser/helper.h:25, from libyara/modules/pe/authenticode-parser/helper.c:22: libyara/modules/pe/authenticode-parser/helper.h:41:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint16_t bswap16(uint16_t d); ^ libyara/modules/pe/authenticode-parser/helper.h:42:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint32_t bswap32(uint32_t d); ^ libyara/modules/pe/authenticode-parser/helper.c:31:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint16_t bswap16(uint16_t d) ^ libyara/modules/pe/authenticode-parser/helper.c:36:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint32_t bswap32(uint32_t d) ^ --- libyara/modules/pe/authenticode-parser/la-certificate.lo --- *** [libyara/modules/pe/authenticode-parser/la-certificate.lo] Error code 1 make[1]: stopped in /tmp/security/yara/work/yara-4.5.1 --- libyara/modules/pe/authenticode-parser/la-helper.lo --- *** [libyara/modules/pe/authenticode-parser/la-helper.lo] Error code 1 make[1]: stopped in /tmp/security/yara/work/yara-4.5.1 --- libyara/modules/pe/authenticode-parser/la-authenticode.lo --- *** [libyara/modules/pe/authenticode-parser/la-authenticode.lo] Error code 1 make[1]: stopped in /tmp/security/yara/work/yara-4.5.1 --- libyara/modules/pe/authenticode-parser/la-countersignature.lo --- In file included from /usr/include/stdint.h:35:0, from ./libyara/include/authenticode-parser/authenticode.h:29, from libyara/modules/pe/authenticode-parser/certificate.h:25, from libyara/modules/pe/authenticode-parser/countersignature.h:25, from libyara/modules/pe/authenticode-parser/countersignature.c:22: libyara/modules/pe/authenticode-parser/helper.h:41:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint16_t bswap16(uint16_t d); ^ libyara/modules/pe/authenticode-parser/helper.h:42:10: error: expected declaration specifiers or '...' before '__builtin_constant_p' uint32_t bswap32(uint32_t d); ^ *** [libyara/modules/pe/authenticode-parser/la-countersignature.lo] Error code 1 make[1]: stopped in /tmp/security/yara/work/yara-4.5.1 4 errors make[1]: stopped in /tmp/security/yara/work/yara-4.5.1 *** [all] Error code 2 make: stopped in /tmp/security/yara/work/yara-4.5.1 1 error make: stopped in /tmp/security/yara/work/yara-4.5.1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/yara *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/yara