===> 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 mktool-1.4.1 Compiling libc v0.2.161 Compiling proc-macro2 v1.0.88 Compiling cfg-if v1.0.0 Compiling unicode-ident v1.0.13 Compiling autocfg v1.4.0 Compiling quote v1.0.37 Compiling typenum v1.17.0 Compiling memchr v2.7.4 Compiling version_check v0.9.5 Compiling generic-array v0.14.7 Compiling syn v2.0.82 Compiling subtle v2.6.1 Compiling pin-project-lite v0.2.14 Compiling futures-core v0.3.31 Compiling shlex v1.3.0 Compiling cc v1.1.31 Compiling once_cell v1.20.2 Compiling bytes v1.7.2 Compiling ring v0.17.8 Compiling slab v0.4.9 Compiling itoa v1.0.11 Compiling futures-io v0.3.31 The following warnings were emitted during compilation: warning: ring@0.17.8: In file included from include/ring-core/base.h:74, warning: ring@0.17.8: from include/ring-core/mem.h:60, warning: ring@0.17.8: from crypto/curve25519/curve25519.c:22: warning: ring@0.17.8: include/ring-core/target.h:64:2: error: #error "Unknown target CPU" warning: ring@0.17.8: 64 | #error "Unknown target CPU" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: In file included from crypto/curve25519/internal.h:20, warning: ring@0.17.8: from crypto/curve25519/curve25519.c:24: warning: ring@0.17.8: crypto/curve25519/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" warning: ring@0.17.8: | ^~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:232:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:232:45: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:244:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:244:49: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:249:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:249:53: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:264:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:264:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:269:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:269:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:270:48: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 270 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:277:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:277:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:278:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 278 | crypto_word_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:279:52: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 279 | crypto_word_t b) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:291:46: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:308:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 308 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h: In function 'constant_time_conditional_memcpy': warning: ring@0.17.8: crypto/curve25519/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] warning: ring@0.17.8: 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] warning: ring@0.17.8: crypto/curve25519/../internal.h: At top level: warning: ring@0.17.8: crypto/curve25519/../internal.h:322:59: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 322 | const crypto_word_t mask) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h: In function 'constant_time_conditional_memxor': warning: ring@0.17.8: crypto/curve25519/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 327 | out[i] ^= value_barrier_w(mask) & in[i]; warning: ring@0.17.8: | ^~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] warning: ring@0.17.8: crypto/curve25519/../internal.h: At top level: warning: ring@0.17.8: crypto/curve25519/../internal.h:359:15: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/../internal.h:359:56: error: unknown type name 'crypto_word_t' warning: ring@0.17.8: 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { warning: ring@0.17.8: | ^~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/curve25519.c: In function 'x25519_ge_scalarmult_small_precomp': warning: ring@0.17.8: crypto/curve25519/curve25519.c:725:35: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] warning: ring@0.17.8: 725 | cmov(&e, &multiples[j-1], 1&constant_time_eq_w(index, j)); warning: ring@0.17.8: | ^~~~~~~~~~~~~~~~~~ warning: ring@0.17.8: crypto/curve25519/curve25519.c:725:35: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] error: failed to run custom build command for `ring v0.17.8` Caused by: process didn't exit successfully: `/usr/pkgsrc/pkgtools/mktool/work/mktool-1.4.1/target/release/build/ring-042e69e12595420e/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=RING_PREGENERATE_ASM cargo:rustc-env=RING_CORE_PREFIX=ring_core_0_17_8_ OPT_LEVEL = Some(3) TARGET = Some(powerpc-unknown-netbsd) OUT_DIR = Some(/usr/pkgsrc/pkgtools/mktool/work/mktool-1.4.1/target/release/build/ring-5b0540b4d189d5d9/out) HOST = Some(powerpc-unknown-netbsd) cargo:rerun-if-env-changed=CC_powerpc-unknown-netbsd CC_powerpc-unknown-netbsd = None cargo:rerun-if-env-changed=CC_powerpc_unknown_netbsd CC_powerpc_unknown_netbsd = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = Some(gcc) cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM CC_KNOWN_WRAPPER_CUSTOM = None RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(false) CARGO_CFG_TARGET_FEATURE = None cargo:rerun-if-env-changed=CFLAGS_powerpc-unknown-netbsd CFLAGS_powerpc-unknown-netbsd = None cargo:rerun-if-env-changed=CFLAGS_powerpc_unknown_netbsd CFLAGS_powerpc_unknown_netbsd = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = Some(-O2 -I/usr/pkg/include) cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS CC_SHELL_ESCAPED_FLAGS = None cargo:warning=In file included from include/ring-core/base.h:74, cargo:warning= from include/ring-core/mem.h:60, cargo:warning= from crypto/curve25519/curve25519.c:22: cargo:warning=include/ring-core/target.h:64:2: error: #error "Unknown target CPU" cargo:warning= 64 | #error "Unknown target CPU" cargo:warning= | ^~~~~ cargo:warning=In file included from crypto/curve25519/internal.h:20, cargo:warning= from crypto/curve25519/curve25519.c:24: cargo:warning=crypto/curve25519/../internal.h:219:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= 219 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" cargo:warning= | ^~~~~ cargo:warning=crypto/curve25519/../internal.h:232:15: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:232:45: error: unknown type name 'crypto_word_t' cargo:warning= 232 | static inline crypto_word_t value_barrier_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:244:15: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:244:49: error: unknown type name 'crypto_word_t' cargo:warning= 244 | static inline crypto_word_t constant_time_msb_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:249:15: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:249:53: error: unknown type name 'crypto_word_t' cargo:warning= 249 | static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:264:15: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:264:56: error: unknown type name 'crypto_word_t' cargo:warning= 264 | static inline crypto_word_t constant_time_is_nonzero_w(crypto_word_t a) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:269:15: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:269:48: error: unknown type name 'crypto_word_t' cargo:warning= 269 | static inline crypto_word_t constant_time_eq_w(crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:270:48: error: unknown type name 'crypto_word_t' cargo:warning= 270 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:277:15: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:277:52: error: unknown type name 'crypto_word_t' cargo:warning= 277 | static inline crypto_word_t constant_time_select_w(crypto_word_t mask, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:278:52: error: unknown type name 'crypto_word_t' cargo:warning= 278 | crypto_word_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:279:52: error: unknown type name 'crypto_word_t' cargo:warning= 279 | crypto_word_t b) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:291:46: error: unknown type name 'crypto_word_t' cargo:warning= 291 | static inline uint8_t constant_time_select_8(crypto_word_t mask, uint8_t a, cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:308:59: error: unknown type name 'crypto_word_t' cargo:warning= 308 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h: In function 'constant_time_conditional_memcpy': cargo:warning=crypto/curve25519/../internal.h:313:14: warning: implicit declaration of function 'constant_time_select_8' [-Wimplicit-function-declaration] cargo:warning= 313 | out[i] = constant_time_select_8(mask, in[i], out[i]); cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:313:14: warning: nested extern declaration of 'constant_time_select_8' [-Wnested-externs] cargo:warning=crypto/curve25519/../internal.h: At top level: cargo:warning=crypto/curve25519/../internal.h:322:59: error: unknown type name 'crypto_word_t' cargo:warning= 322 | const crypto_word_t mask) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h: In function 'constant_time_conditional_memxor': cargo:warning=crypto/curve25519/../internal.h:327:15: warning: implicit declaration of function 'value_barrier_w' [-Wimplicit-function-declaration] cargo:warning= 327 | out[i] ^= value_barrier_w(mask) & in[i]; cargo:warning= | ^~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:327:15: warning: nested extern declaration of 'value_barrier_w' [-Wnested-externs] cargo:warning=crypto/curve25519/../internal.h: At top level: cargo:warning=crypto/curve25519/../internal.h:359:15: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/../internal.h:359:56: error: unknown type name 'crypto_word_t' cargo:warning= 359 | static inline crypto_word_t constant_time_declassify_w(crypto_word_t v) { cargo:warning= | ^~~~~~~~~~~~~ cargo:warning=crypto/curve25519/curve25519.c: In function 'x25519_ge_scalarmult_small_precomp': cargo:warning=crypto/curve25519/curve25519.c:725:35: warning: implicit declaration of function 'constant_time_eq_w' [-Wimplicit-function-declaration] cargo:warning= 725 | cmov(&e, &multiples[j-1], 1&constant_time_eq_w(index, j)); cargo:warning= | ^~~~~~~~~~~~~~~~~~ cargo:warning=crypto/curve25519/curve25519.c:725:35: warning: nested extern declaration of 'constant_time_eq_w' [-Wnested-externs] --- stderr error occurred: Command "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/usr/pkgsrc/pkgtools/mktool/work/mktool-1.4.1/target/release/build/ring-5b0540b4d189d5d9/out" "-O2" "-I/usr/pkg/include" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/usr/pkgsrc/pkgtools/mktool/work/mktool-1.4.1/target/release/build/ring-5b0540b4d189d5d9/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args gcc did not execute successfully (status code exit status: 1). *** Error code 101 Stop. make[1]: stopped in /usr/pkgsrc/pkgtools/mktool *** Error code 1 Stop. make: stopped in /usr/pkgsrc/pkgtools/mktool