Coder Social home page Coder Social logo

jedisct1 / libsodium-sys-stable Goto Github PK

View Code? Open in Web Editor NEW
30.0 5.0 6.0 131.74 MB

Sodiumoxide's libsodium-sys crate, but that installs stable versions of libsodium.

License: MIT License

Rust 99.70% Shell 0.29% C 0.01%
sodiumoxide rust libsodium bindings crate

libsodium-sys-stable's Introduction

libsodium-sys

A patched version of the libsodium-sys crate that installs stable versions of libsodium instead of point releases.

Cargo features:

  • fetch-latest: download the latest stable version.
  • optimized: build a version optimized for the current platform.
  • minimal: do not build deprecated APIs.

On Windows, if a libsodium Visual Studio package is not installed, pre-compiled binaries are downloaded. Alternatively, they can be fetched from an arbitrary local directory, whose path is defined in a SODIUM_DIST_DIR environment variable.

Compiling libsodium to WebAssembly/WASI-core requires the Zig compiler to be installed.

libsodium-sys-stable's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar jedisct1 avatar tom25519 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libsodium-sys-stable's Issues

"Unknown iOS build target: aarch64-apple-ios-sim" while targeting an iOS simulator

While trying to target an iOS simulator, this error occurs:

error: failed to run custom build command for `libsodium-sys-stable v1.19.32`

Caused by:
  process didn't exit successfully: `/Users/guillemcordoba/rostanga-test/target/debug/build/libsodium-sys-stable-b2ea56e77b9d6ec0/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=SODIUM_LIB_DIR
  cargo:rerun-if-env-changed=SODIUM_SHARED
  cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
  cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
  OPT_LEVEL = Some("0")
  TARGET = Some("aarch64-apple-ios-sim")
  HOST = Some("aarch64-apple-darwin")
  cargo:rerun-if-env-changed=CC_aarch64-apple-ios-sim
  CC_aarch64-apple-ios-sim = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_ios_sim
  CC_aarch64_apple_ios_sim = None
  cargo:rerun-if-env-changed=TARGET_CC
  TARGET_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  Detecting iOS SDK path for iphonesimulator
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-ios-sim
  CFLAGS_aarch64-apple-ios-sim = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_ios_sim
  CFLAGS_aarch64_apple_ios_sim = Some("-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk")

  --- stderr
  thread 'main' panicked at 'Unknown iOS build target: aarch64-apple-ios-sim', /Users/guillemcordoba/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libsodium-sys-stable-1.19.32/build.rs:260:18
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
     1: core::panicking::panic_fmt
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
     2: build_script_build::make_libsodium
               at ./build.rs:260:18
     3: build_script_build::build_libsodium
               at ./build.rs:520:19
     4: build_script_build::main
               at ./build.rs:67:9
     5: core::ops::function::FnOnce::call_once
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
       Error [tauri_cli_node] Failed to run `cargo build`: command ["cargo", "build", "--package", "rostangatest", "--manifest-path", "/Users/guillemcordoba/rostanga-test/src-tauri/Cargo.toml", "--target", "aarch64-apple-ios-sim", "--features", "tauri/rustls-tls", "--lib", "--no-default-features"] exited with code 101
Command PhaseScriptExecution failed with a nonzero exit code

note: Run script build phase 'Build Rust Code' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'rostangatest_iOS' from project 'rostangatest')
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Build\ Rust\ Code /Users/guillemcordoba/Library/Developer/Xcode/DerivedData/rostangatest-bovehlqdustugiesclixeelluihr/Build/Intermediates.noindex/rostangatest.build/debug-iphonesimulator/rostangatest_iOS.build/Script-0D7C97BCCD76470A8D0AABED.sh (in target 'rostangatest_iOS' from project 'rostangatest')
(1 failure)
       Error command ["xcodebuild"] exited with code 65

Should support for this target be added in this crate? Should I be trying to change the architecture of the iOS simulator so that libsodium compiles?

Disavow deprecated sodiumoxide?

@jedisct1 - Now that sodiumoxide has been deprecated, I'm looking for a maintained, up-to-date libsodium sys integration such as this to back sodoken.

Do you intend to keep maintaining this? If so, would it make sense to remove the references to sodiumoxide in the repo?

`error: failed to run custom build command for "libsodium-sys-stable v1.20.2" ` when targeting `aarch64-apple-ios-sim`

When building this crate for an iPhone simulator and targeting aarch64-apple-ios-sim, I get this error:

error: failed to run custom build command for `libsodium-sys-stable v1.20.2`

Caused by:
  process didn't exit successfully: `/Users/guillemcordoba/rostanga-test/target/debug/build/libsodium-sys-stable-877a5d20f24b2169/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=SODIUM_LIB_DIR
  cargo:rerun-if-env-changed=SODIUM_SHARED
  cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
  cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
  OPT_LEVEL = Some("0")
  TARGET = Some("aarch64-apple-darwin")
  HOST = Some("aarch64-apple-darwin")
  cargo:rerun-if-env-changed=CC_aarch64-apple-darwin
  CC_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CC_aarch64_apple_darwin
  CC_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  CARGO_CFG_TARGET_FEATURE = Some("aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh")
  cargo:rerun-if-env-changed=CFLAGS_aarch64-apple-darwin
  CFLAGS_aarch64-apple-darwin = None
  cargo:rerun-if-env-changed=CFLAGS_aarch64_apple_darwin
  CFLAGS_aarch64_apple_darwin = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None

  --- stderr
  thread 'main' panicked at '
  cd "/Users/guillemcordoba/rostanga-test/target/debug/build/libsodium-sys-stable-ce7a4be4b4b31dff/out/source/libsodium-stable" && V="1" "make" "check" "-j8"
  checking build system type... aarch64-apple-darwin22.6.0
  checking host system type... aarch64-apple-darwin
  checking target system type... aarch64-apple-darwin
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for aarch64-apple-darwin-strip... no
  checking for strip... strip
  checking for a race-free mkdir -p... /nix/store/kmvdv9dda4064k9bmmy8540xzaprc8ls-coreutils-9.3/bin/mkdir -p
  checking for gawk... gawk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking whether UID '501' is supported by ustar format... yes
  checking whether GID '20' is supported by ustar format... yes
  checking how to create a ustar tar archive... gnutar
  checking whether make supports nested variables... (cached) yes
  checking whether to enable maintainer-specific portions of Makefiles... no
  checking for aarch64-apple-darwin-gcc... cc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables... 
  checking whether we are cross compiling... yes
  checking for suffix of object files... o
  checking whether the compiler supports GNU C... yes
  checking whether cc accepts -g... yes
  checking for cc option to enable C11 features... none needed
  checking whether cc understands -c and -o together... yes
  checking whether make supports the include directive... yes (GNU style)
  checking dependency style of cc... none
  checking dependency style of cc... none
  checking for stdio.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for strings.h... yes
  checking for sys/stat.h... yes
  checking for sys/types.h... yes
  checking for unistd.h... yes
  checking for wchar.h... yes
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking whether _XOPEN_SOURCE should be defined... no
  checking for a sed that does not truncate output... /usr/bin/sed
  checking how to run the C preprocessor... cc -E
  checking for grep that handles long lines and -e... /usr/bin/grep
  checking for egrep... /usr/bin/grep -E
  checking whether cc is Clang... yes
  checking whether pthreads work with "-pthread" and "-lpthread"... yes
  checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
  checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  checking whether more special flags are required for pthreads... no
  checking for PTHREAD_PRIO_INHERIT... yes
  checking for variable-length arrays... yes
  checking for __wasi__ defined... no
  checking whether C compiler accepts -fvisibility=hidden... yes
  checking whether C compiler accepts -fPIC... yes
  checking whether C compiler accepts -fPIE... yes
  checking whether the linker accepts -pie... yes
  checking whether C compiler accepts -fno-strict-aliasing... yes
  checking whether C compiler accepts -fno-strict-overflow... yes
  checking whether C compiler accepts -fstack-protector... yes
  checking whether the linker accepts -fstack-protector... yes
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall... yes
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wno-deprecated-declarations... yes
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wno-deprecated-declarations -Wno-unknown-pragmas... yes
  checking for clang... yes
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall -Wno-unknown-warning-option... yes
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall -Wno-unknown-warning-option -Wextra... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... yes
  checking whether C compiler accepts  -Wextra -Warray-bounds -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl -Wwrite-strings... yes
  checking whether the linker accepts -Wl,-z,relro... no
  checking whether the linker accepts -Wl,-z,now... no
  checking whether the linker accepts -Wl,-z,noexecstack... no
  checking whether segmentation violations can be caught... unknown
  checking whether SIGABRT can be caught... unknown
  checking for thread local storage (TLS) class... _Thread_local
  thread local storage is supported
  checking whether C compiler accepts -ftls-model=local-dynamic... yes
  checking how to print strings... printf
  checking for a sed that does not truncate output... (cached) /usr/bin/sed
  checking for fgrep... /usr/bin/grep -F
  checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
  checking for BSD- or MS-compatible name lister (nm)... no
  checking for aarch64-apple-darwin-dumpbin... no
  checking for aarch64-apple-darwin-link... no
  checking for dumpbin... no
  checking for link... link -dump
  checking the name lister (nm) interface... BSD nm
  checking whether ln -s works... yes
  checking the maximum length of command line arguments... 786432
  checking how to convert aarch64-apple-darwin22.6.0 file names to aarch64-apple-darwin format... func_convert_file_noop
  checking how to convert aarch64-apple-darwin22.6.0 file names to toolchain format... func_convert_file_noop
  checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
  checking for aarch64-apple-darwin-file... no
  checking for file... file
  checking for aarch64-apple-darwin-objdump... no
  checking for objdump... objdump
  checking how to recognize dependent libraries... pass_all
  checking for aarch64-apple-darwin-dlltool... no
  checking for dlltool... no
  checking how to associate runtime and link libraries... printf %s\n
  checking for aarch64-apple-darwin-ar... no
  checking for ar... ar
  checking for archiver @FILE support... no
  checking for aarch64-apple-darwin-strip... strip
  checking for aarch64-apple-darwin-ranlib... no
  checking for ranlib... ranlib
  checking command to parse nm output from cc object... ok
  checking for sysroot... no
  checking for a working dd... /nix/store/kmvdv9dda4064k9bmmy8540xzaprc8ls-coreutils-9.3/bin/dd
  checking how to truncate binary pipes... /nix/store/kmvdv9dda4064k9bmmy8540xzaprc8ls-coreutils-9.3/bin/dd bs=4096 count=1
  checking for aarch64-apple-darwin-mt... no
  checking for mt... no
  checking if : is a manifest tool... no
  checking for aarch64-apple-darwin-dsymutil... no
  checking for dsymutil... dsymutil
  checking for aarch64-apple-darwin-nmedit... no
  checking for nmedit... nmedit
  checking for aarch64-apple-darwin-lipo... no
  checking for lipo... lipo
  checking for aarch64-apple-darwin-otool... no
  checking for otool... otool
  checking for aarch64-apple-darwin-otool64... no
  checking for otool64... no
  checking for -single_module linker flag... ld: warning: -single_module is obsolete
  no
  checking for -exported_symbols_list linker flag... yes
  checking for -force_load linker flag... yes
  checking for dlfcn.h... yes
  checking for objdir... .libs
  checking if cc supports -fno-rtti -fno-exceptions... yes
  checking for cc option to produce PIC... -fno-common -DPIC
  checking if cc PIC flag -fno-common -DPIC works... yes
  checking if cc static flag -static works... no
  checking if cc supports -c -o file.o... yes
  checking if cc supports -c -o file.o... (cached) yes
  checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
  checking dynamic linker characteristics... darwin dyld
  checking how to hardcode library paths into programs... immediate
  checking whether stripping libraries is possible... yes
  checking if libtool supports shared libraries... yes
  checking whether to build shared libraries... no
  checking whether to build static libraries... yes
  checking for aarch64-apple-darwin-ar... ar
  checking for ARM64 target... yes
  checking for ARM crypto instructions set... yes
  checking whether C compiler accepts -mmmx... yes
  checking for MMX instructions set... no
  checking whether C compiler accepts -msse2... yes
  checking for SSE2 instructions set... no
  checking whether C compiler accepts -msse3... yes
  checking for SSE3 instructions set... no
  checking whether C compiler accepts -mssse3... yes
  checking for SSSE3 instructions set... no
  checking whether C compiler accepts -msse4.1... yes
  checking for SSE4.1 instructions set... no
  checking whether C compiler accepts -mavx... yes
  checking for AVX instructions set... no
  checking whether C compiler accepts -mavx2... yes
  checking for AVX2 instructions set... no
  checking whether C compiler accepts -mavx512f... yes
  checking for AVX512F instructions set... no
  checking whether C compiler accepts -O0 -ffunction-sections -fdata-sections -fPIC -gdwarf-2 -fno-omit-frame-pointer -arch arm64 -Wall -Wextra -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wno-deprecated-declarations -Wno-unknown-pragmas -ftls-model=local-dynamic -mavx512f -mno-avx512f... yes
  checking whether C compiler accepts -maes... yes
  checking whether C compiler accepts -mpclmul... yes
  checking for AESNI instructions set and PCLMULQDQ... no
  checking whether C compiler accepts -mrdrnd... yes
  checking for RDRAND... no
  checking for sys/mman.h... yes
  checking for sys/param.h... yes
  checking for sys/random.h... no
  checking for intrin.h... no
  checking for sys/auxv.h... no
  checking for CommonCrypto/CommonRandom.h... yes
  checking for cet.h... yes
  checking if _xgetbv() is available... no
  checking for inline... inline
  checking whether byte ordering is bigendian... no
  checking whether __STDC_LIMIT_MACROS is required... no
  checking whether we can use inline asm code... yes
  no
  checking whether we can use x86_64 asm code... no
  checking whether we can assemble AVX opcodes... no
  checking for 128-bit arithmetic... yes
  checking for cpuid instruction... no
  checking if the .private_extern asm directive is supported... yes
  checking if the .hidden asm directive is supported... no
  checking if weak symbols are supported... yes
  checking if atomic operations are supported... yes
  checking if C11 memory fences are supported... yes
  checking if gcc memory fences are supported... yes
  checking for size_t... yes
  checking for working alloca.h... yes
  checking for alloca... yes
  checking for arc4random... yes
  checking for arc4random_buf... yes
  checking for mmap... yes
  checking for mlock... yes
  checking for madvise... yes
  checking for mprotect... yes
  checking for raise... yes
  checking for sysconf... yes
  checking for getrandom with a standard API... no
  checking for getentropy with a standard API... no
  checking for getpid... yes
  checking for getauxval... no
  checking for elf_aux_info... no
  checking for posix_memalign... yes
  checking for nanosleep... yes
  checking for clock_gettime... yes
  checking for memset_s... yes
  checking for explicit_bzero... no
  checking for memset_explicit... no
  checking for explicit_memset... no
  checking if gcc/ld supports -Wl,--output-def... not needed, shared libraries are disabled
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating builds/Makefile
  config.status: creating contrib/Makefile
  config.status: creating dist-build/Makefile
  config.status: creating libsodium.pc
  config.status: creating libsodium-uninstalled.pc
  config.status: creating src/Makefile
  config.status: creating src/libsodium/Makefile
  config.status: creating src/libsodium/include/Makefile
  config.status: creating src/libsodium/include/sodium/version.h
  config.status: creating test/default/Makefile
  config.status: creating test/Makefile
  config.status: executing depfiles commands
  config.status: executing libtool commands

  Making check in builds
  make[1]: Nothing to be done for `check'.
  Making check in contrib
  make[1]: Nothing to be done for `check'.
  Making check in dist-build
  make[1]: Nothing to be done for `check'.
  Making check in src
  Making check in libsodium
  Making check in include
  make[3]: Nothing to be done for `check'.
  make[3]: Nothing to be done for `check-am'.
  make[2]: Nothing to be done for `check-am'.
  Making check in test
  Making check in default
  /Applications/Xcode.app/Contents/Developer/usr/bin/make  aead_aegis128l aead_aegis256 aead_aes256gcm aead_aes256gcm2 aead_chacha20poly1305 aead_chacha20poly13052 aead_xchacha20poly1305 auth auth2 auth3 auth5 auth6 auth7 box box2 box7 box8 box_easy box_easy2 box_seal box_seed chacha20 codecs core1 core2 core3 core4 core5 core6 ed25519_convert generichash generichash2 generichash3 hash hash3 kdf keygen kx metamorphic misuse onetimeauth onetimeauth2 onetimeauth7 pwhash_argon2i pwhash_argon2id randombytes scalarmult scalarmult2 scalarmult5 scalarmult6 scalarmult7 scalarmult8 secretbox secretbox2 secretbox7 secretbox8 secretbox_easy secretbox_easy2 secretstream_xchacha20poly1305 shorthash sign sodium_core sodium_utils sodium_version stream stream2 stream3 stream4 verify1 sodium_utils2 sodium_utils3 core_ed25519 core_ristretto255 kdf_hkdf pwhash_scrypt pwhash_scrypt_ll scalarmult_ed25519 scalarmult_ristretto255 siphashx24 xchacha20
  make[3]: `aead_aegis128l' is up to date.
  make[3]: `aead_aegis256' is up to date.
  make[3]: `aead_aes256gcm' is up to date.
  make[3]: `aead_aes256gcm2' is up to date.
  make[3]: `aead_chacha20poly1305' is up to date.
  make[3]: `aead_chacha20poly13052' is up to date.
  make[3]: `aead_xchacha20poly1305' is up to date.
  make[3]: `auth' is up to date.
  make[3]: `auth2' is up to date.
  make[3]: `auth3' is up to date.
  make[3]: `auth5' is up to date.
  make[3]: `auth6' is up to date.
  make[3]: `auth7' is up to date.
  make[3]: `box' is up to date.
  make[3]: `box2' is up to date.
  make[3]: `box7' is up to date.
  make[3]: `box8' is up to date.
  make[3]: `box_easy' is up to date.
  make[3]: `box_easy2' is up to date.
  make[3]: `box_seal' is up to date.
  make[3]: `box_seed' is up to date.
  make[3]: `chacha20' is up to date.
  make[3]: `codecs' is up to date.
  make[3]: `core1' is up to date.
  make[3]: `core2' is up to date.
  make[3]: `core3' is up to date.
  make[3]: `core4' is up to date.
  make[3]: `core5' is up to date.
  make[3]: `core6' is up to date.
  make[3]: `ed25519_convert' is up to date.
  make[3]: `generichash' is up to date.
  make[3]: `generichash2' is up to date.
  make[3]: `generichash3' is up to date.
  make[3]: `hash' is up to date.
  make[3]: `hash3' is up to date.
  make[3]: `kdf' is up to date.
  make[3]: `keygen' is up to date.
  make[3]: `kx' is up to date.
  make[3]: `metamorphic' is up to date.
  make[3]: `misuse' is up to date.
  make[3]: `onetimeauth' is up to date.
  make[3]: `onetimeauth2' is up to date.
  make[3]: `onetimeauth7' is up to date.
  make[3]: `pwhash_argon2i' is up to date.
  make[3]: `pwhash_argon2id' is up to date.
  make[3]: `randombytes' is up to date.
  make[3]: `scalarmult' is up to date.
  make[3]: `scalarmult2' is up to date.
  make[3]: `scalarmult5' is up to date.
  make[3]: `scalarmult6' is up to date.
  make[3]: `scalarmult7' is up to date.
  make[3]: `scalarmult8' is up to date.
  make[3]: `secretbox' is up to date.
  make[3]: `secretbox2' is up to date.
  make[3]: `secretbox7' is up to date.
  make[3]: `secretbox8' is up to date.
  make[3]: `secretbox_easy' is up to date.
  make[3]: `secretbox_easy2' is up to date.
  make[3]: `secretstream_xchacha20poly1305' is up to date.
  make[3]: `shorthash' is up to date.
  make[3]: `sign' is up to date.
  make[3]: `sodium_core' is up to date.
  make[3]: `sodium_utils' is up to date.
  make[3]: `sodium_version' is up to date.
  make[3]: `stream' is up to date.
  make[3]: `stream2' is up to date.
  make[3]: `stream3' is up to date.
  make[3]: `stream4' is up to date.
  make[3]: `verify1' is up to date.
  make[3]: `sodium_utils2' is up to date.
  make[3]: `sodium_utils3' is up to date.
  make[3]: `core_ed25519' is up to date.
  make[3]: `core_ristretto255' is up to date.
  make[3]: `kdf_hkdf' is up to date.
  make[3]: `pwhash_scrypt' is up to date.
  make[3]: `pwhash_scrypt_ll' is up to date.
  make[3]: `scalarmult_ed25519' is up to date.
  make[3]: `scalarmult_ristretto255' is up to date.
  make[3]: `siphashx24' is up to date.
  make[3]: `xchacha20' is up to date.
  /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
  FAIL: aead_aegis128l
  FAIL: aead_aes256gcm
  FAIL: aead_aegis256
  FAIL: aead_chacha20poly13052
  FAIL: aead_aes256gcm2
  FAIL: aead_chacha20poly1305
  FAIL: auth
  FAIL: aead_xchacha20poly1305
  FAIL: auth3
  FAIL: auth2
  FAIL: auth6
  FAIL: auth5
  FAIL: auth7
  FAIL: box2
  FAIL: box
  FAIL: box7
  FAIL: box8
  FAIL: box_easy
  FAIL: box_easy2
  FAIL: box_seal
  FAIL: chacha20
  FAIL: codecs
  FAIL: core1
  FAIL: box_seed
  FAIL: core2
  FAIL: core4
  FAIL: core3
  FAIL: core5
  FAIL: core6
  FAIL: ed25519_convert
  FAIL: generichash2
  FAIL: generichash
  FAIL: generichash3
  FAIL: hash
  FAIL: hash3
  FAIL: kdf
  FAIL: keygen
  FAIL: metamorphic
  FAIL: kx
  FAIL: misuse
  FAIL: onetimeauth
  FAIL: onetimeauth2
  FAIL: pwhash_argon2i
  FAIL: onetimeauth7
  FAIL: pwhash_argon2id
  FAIL: scalarmult2
  FAIL: scalarmult
  FAIL: randombytes
  FAIL: scalarmult5
  FAIL: scalarmult6
  FAIL: scalarmult7
  FAIL: secretbox
  FAIL: scalarmult8
  FAIL: secretbox7
  FAIL: secretbox2
  FAIL: secretbox8
  FAIL: secretbox_easy
  FAIL: secretbox_easy2
  FAIL: sign
  FAIL: secretstream_xchacha20poly1305
  FAIL: shorthash
  FAIL: sodium_core
  FAIL: sodium_utils
  FAIL: sodium_version
  FAIL: stream2
  FAIL: stream
  FAIL: stream3
  FAIL: stream4
  FAIL: verify1
  FAIL: sodium_utils2
  FAIL: sodium_utils3
  FAIL: core_ed25519
  FAIL: core_ristretto255
  FAIL: kdf_hkdf
  FAIL: pwhash_scrypt
  FAIL: pwhash_scrypt_ll
  FAIL: scalarmult_ed25519
  FAIL: scalarmult_ristretto255
  FAIL: siphashx24
  FAIL: xchacha20
  ============================================================================
  Testsuite summary for libsodium 1.0.19
  ============================================================================
  # TOTAL: 80
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  80
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See test/default/test-suite.log
  Please report to https://github.com/jedisct1/libsodium/issues
  ============================================================================

  ../../build-aux/test-driver: line 112: 46067 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46066 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46068 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46070 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46071 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46073 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46077 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46076 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46111 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46113 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46115 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46117 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46121 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46125 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46123 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46124 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46162 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46160 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46159 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46164 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46168 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46171 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46173 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46177 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46203 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46210 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46213 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46214 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46217 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46216 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46221 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46224 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46251 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46258 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46261 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46262 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46265 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46264 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46268 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46272 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46303 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46307 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46309 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46310 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46312 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46316 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46317 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46318 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46345 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46352 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46355 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46358 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46359 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46368 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46367 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46370 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46391 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46397 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46405 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46407 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46406 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46413 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46419 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46422 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46440 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46441 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46453 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46454 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46455 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46461 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46467 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46474 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46488 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46490 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46495 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46500 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46501 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46503 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46504 Abort trap: 6           "$@" >> "$log_file" 2>&1
  ../../build-aux/test-driver: line 112: 46506 Abort trap: 6           "$@" >> "$log_file" 2>&1
  make[4]: *** [test-suite.log] Error 1
  make[3]: *** [check-TESTS] Error 2
  make[2]: *** [check-am] Error 2
  make[1]: *** [check-recursive] Error 1
  make: *** [check-recursive] Error 1

  ', /Users/guillemcordoba/rostanga-test/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libsodium-sys-stable-1.20.2/build.rs:337:9
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
     1: core::panicking::panic_fmt
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
     2: build_script_build::make_libsodium
               at ./build.rs:337:9
     3: build_script_build::build_libsodium
               at ./build.rs:518:19
     4: build_script_build::main
               at ./build.rs:67:9
     5: core::ops::function::FnOnce::call_once
               at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
       Error [tauri_cli_node] Failed to run `cargo build`: command ["cargo", "build", "--package", "rostangatest", "--manifest-path", "/Users/guillemcordoba/rostanga-test/src-tauri/Cargo.toml", "--target", "aarch64-apple-ios-sim", "--features", "tauri/rustls-tls", "--lib", "--no-default-features"] exited with code 101

note: Run script build phase 'Build Rust Code' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'rostangatest_iOS' from project 'rostangatest')
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Build\ Rust\ Code /Users/guillemcordoba/Library/Developer/Xcode/DerivedData/rostangatest-bovehlqdustugiesclixeelluihr/Build/Intermediates.noindex/rostangatest.build/debug-iphonesimulator/rostangatest_iOS.build/Script-0D7C97BCCD76470A8D0AABED.sh (in target 'rostangatest_iOS' from project 'rostangatest')
(1 failure)
       Error command ["xcodebuild"] exited with code 65

And here are the contents of the test-suite.log:

===================================================
   libsodium 1.0.19: test/default/test-suite.log
===================================================

# TOTAL: 80
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  80
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: aead_aegis128l
====================

dyld[46067]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_aegis128l (exit status: 134)

FAIL: aead_aegis256
===================

dyld[46068]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_aegis256 (exit status: 134)

FAIL: aead_aes256gcm
====================

dyld[46066]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_aes256gcm (exit status: 134)

FAIL: aead_aes256gcm2
=====================

dyld[46071]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_aes256gcm2 (exit status: 134)

FAIL: aead_chacha20poly1305
===========================

dyld[46073]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_chacha20poly1305 (exit status: 134)

FAIL: aead_chacha20poly13052
============================

dyld[46070]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_chacha20poly13052 (exit status: 134)

FAIL: aead_xchacha20poly1305
============================

dyld[46076]: DYLD_ROOT_PATH not set for simulator program
FAIL aead_xchacha20poly1305 (exit status: 134)

FAIL: auth
==========

dyld[46077]: DYLD_ROOT_PATH not set for simulator program
FAIL auth (exit status: 134)

FAIL: auth2
===========

dyld[46113]: DYLD_ROOT_PATH not set for simulator program
FAIL auth2 (exit status: 134)

FAIL: auth3
===========

dyld[46111]: DYLD_ROOT_PATH not set for simulator program
FAIL auth3 (exit status: 134)

FAIL: auth5
===========

dyld[46117]: DYLD_ROOT_PATH not set for simulator program
FAIL auth5 (exit status: 134)

FAIL: auth6
===========

dyld[46115]: DYLD_ROOT_PATH not set for simulator program
FAIL auth6 (exit status: 134)

FAIL: auth7
===========

dyld[46121]: DYLD_ROOT_PATH not set for simulator program
FAIL auth7 (exit status: 134)

FAIL: box
=========

dyld[46123]: DYLD_ROOT_PATH not set for simulator program
FAIL box (exit status: 134)

FAIL: box2
==========

dyld[46125]: DYLD_ROOT_PATH not set for simulator program
FAIL box2 (exit status: 134)

FAIL: box7
==========

dyld[46124]: DYLD_ROOT_PATH not set for simulator program
FAIL box7 (exit status: 134)

FAIL: box8
==========

dyld[46160]: DYLD_ROOT_PATH not set for simulator program
FAIL box8 (exit status: 134)

FAIL: box_easy
==============

dyld[46162]: DYLD_ROOT_PATH not set for simulator program
FAIL box_easy (exit status: 134)

FAIL: box_easy2
===============

dyld[46159]: DYLD_ROOT_PATH not set for simulator program
FAIL box_easy2 (exit status: 134)

FAIL: box_seal
==============

dyld[46164]: DYLD_ROOT_PATH not set for simulator program
FAIL box_seal (exit status: 134)

FAIL: box_seed
==============

dyld[46177]: DYLD_ROOT_PATH not set for simulator program
FAIL box_seed (exit status: 134)

FAIL: chacha20
==============

dyld[46168]: DYLD_ROOT_PATH not set for simulator program
FAIL chacha20 (exit status: 134)

FAIL: codecs
============

dyld[46171]: DYLD_ROOT_PATH not set for simulator program
FAIL codecs (exit status: 134)

FAIL: core1
===========

dyld[46173]: DYLD_ROOT_PATH not set for simulator program
FAIL core1 (exit status: 134)

FAIL: core2
===========

dyld[46203]: DYLD_ROOT_PATH not set for simulator program
FAIL core2 (exit status: 134)

FAIL: core3
===========

dyld[46213]: DYLD_ROOT_PATH not set for simulator program
FAIL core3 (exit status: 134)

FAIL: core4
===========

dyld[46210]: DYLD_ROOT_PATH not set for simulator program
FAIL core4 (exit status: 134)

FAIL: core5
===========

dyld[46214]: DYLD_ROOT_PATH not set for simulator program
FAIL core5 (exit status: 134)

FAIL: core6
===========

dyld[46217]: DYLD_ROOT_PATH not set for simulator program
FAIL core6 (exit status: 134)

FAIL: ed25519_convert
=====================

dyld[46216]: DYLD_ROOT_PATH not set for simulator program
FAIL ed25519_convert (exit status: 134)

FAIL: generichash
=================

dyld[46224]: DYLD_ROOT_PATH not set for simulator program
FAIL generichash (exit status: 134)

FAIL: generichash2
==================

dyld[46221]: DYLD_ROOT_PATH not set for simulator program
FAIL generichash2 (exit status: 134)

FAIL: generichash3
==================

dyld[46251]: DYLD_ROOT_PATH not set for simulator program
FAIL generichash3 (exit status: 134)

FAIL: hash
==========

dyld[46258]: DYLD_ROOT_PATH not set for simulator program
FAIL hash (exit status: 134)

FAIL: hash3
===========

dyld[46261]: DYLD_ROOT_PATH not set for simulator program
FAIL hash3 (exit status: 134)

FAIL: kdf
=========

dyld[46262]: DYLD_ROOT_PATH not set for simulator program
FAIL kdf (exit status: 134)

FAIL: keygen
============

dyld[46265]: DYLD_ROOT_PATH not set for simulator program
FAIL keygen (exit status: 134)

FAIL: kx
========

dyld[46268]: DYLD_ROOT_PATH not set for simulator program
FAIL kx (exit status: 134)

FAIL: metamorphic
=================

dyld[46264]: DYLD_ROOT_PATH not set for simulator program
FAIL metamorphic (exit status: 134)

FAIL: misuse
============

dyld[46272]: DYLD_ROOT_PATH not set for simulator program
FAIL misuse (exit status: 134)

FAIL: onetimeauth
=================

dyld[46303]: DYLD_ROOT_PATH not set for simulator program
FAIL onetimeauth (exit status: 134)

FAIL: onetimeauth2
==================

dyld[46307]: DYLD_ROOT_PATH not set for simulator program
FAIL onetimeauth2 (exit status: 134)

FAIL: onetimeauth7
==================

dyld[46310]: DYLD_ROOT_PATH not set for simulator program
FAIL onetimeauth7 (exit status: 134)

FAIL: pwhash_argon2i
====================

dyld[46309]: DYLD_ROOT_PATH not set for simulator program
FAIL pwhash_argon2i (exit status: 134)

FAIL: pwhash_argon2id
=====================

dyld[46312]: DYLD_ROOT_PATH not set for simulator program
FAIL pwhash_argon2id (exit status: 134)

FAIL: randombytes
=================

dyld[46318]: DYLD_ROOT_PATH not set for simulator program
FAIL randombytes (exit status: 134)

FAIL: scalarmult
================

dyld[46317]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult (exit status: 134)

FAIL: scalarmult2
=================

dyld[46316]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult2 (exit status: 134)

FAIL: scalarmult5
=================

dyld[46345]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult5 (exit status: 134)

FAIL: scalarmult6
=================

dyld[46352]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult6 (exit status: 134)

FAIL: scalarmult7
=================

dyld[46355]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult7 (exit status: 134)

FAIL: scalarmult8
=================

dyld[46359]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult8 (exit status: 134)

FAIL: secretbox
===============

dyld[46358]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox (exit status: 134)

FAIL: secretbox2
================

dyld[46367]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox2 (exit status: 134)

FAIL: secretbox7
================

dyld[46368]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox7 (exit status: 134)

FAIL: secretbox8
================

dyld[46370]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox8 (exit status: 134)

FAIL: secretbox_easy
====================

dyld[46391]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox_easy (exit status: 134)

FAIL: secretbox_easy2
=====================

dyld[46397]: DYLD_ROOT_PATH not set for simulator program
FAIL secretbox_easy2 (exit status: 134)

FAIL: secretstream_xchacha20poly1305
====================================

dyld[46407]: DYLD_ROOT_PATH not set for simulator program
FAIL secretstream_xchacha20poly1305 (exit status: 134)

FAIL: shorthash
===============

dyld[46406]: DYLD_ROOT_PATH not set for simulator program
FAIL shorthash (exit status: 134)

FAIL: sign
==========

dyld[46405]: DYLD_ROOT_PATH not set for simulator program
FAIL sign (exit status: 134)

FAIL: sodium_core
=================

dyld[46413]: DYLD_ROOT_PATH not set for simulator program
FAIL sodium_core (exit status: 134)

FAIL: sodium_utils
==================

dyld[46419]: DYLD_ROOT_PATH not set for simulator program
FAIL sodium_utils (exit status: 134)

FAIL: sodium_version
====================

dyld[46422]: DYLD_ROOT_PATH not set for simulator program
FAIL sodium_version (exit status: 134)

FAIL: stream
============

dyld[46441]: DYLD_ROOT_PATH not set for simulator program
FAIL stream (exit status: 134)

FAIL: stream2
=============

dyld[46440]: DYLD_ROOT_PATH not set for simulator program
FAIL stream2 (exit status: 134)

FAIL: stream3
=============

dyld[46453]: DYLD_ROOT_PATH not set for simulator program
FAIL stream3 (exit status: 134)

FAIL: stream4
=============

dyld[46454]: DYLD_ROOT_PATH not set for simulator program
FAIL stream4 (exit status: 134)

FAIL: verify1
=============

dyld[46455]: DYLD_ROOT_PATH not set for simulator program
FAIL verify1 (exit status: 134)

FAIL: sodium_utils2
===================

dyld[46461]: DYLD_ROOT_PATH not set for simulator program
FAIL sodium_utils2 (exit status: 134)

FAIL: sodium_utils3
===================

dyld[46467]: DYLD_ROOT_PATH not set for simulator program
FAIL sodium_utils3 (exit status: 134)

FAIL: core_ed25519
==================

dyld[46474]: DYLD_ROOT_PATH not set for simulator program
FAIL core_ed25519 (exit status: 134)

FAIL: core_ristretto255
=======================

dyld[46488]: DYLD_ROOT_PATH not set for simulator program
FAIL core_ristretto255 (exit status: 134)

FAIL: kdf_hkdf
==============

dyld[46490]: DYLD_ROOT_PATH not set for simulator program
FAIL kdf_hkdf (exit status: 134)

FAIL: pwhash_scrypt
===================

dyld[46495]: DYLD_ROOT_PATH not set for simulator program
FAIL pwhash_scrypt (exit status: 134)

FAIL: pwhash_scrypt_ll
======================

dyld[46500]: DYLD_ROOT_PATH not set for simulator program
FAIL pwhash_scrypt_ll (exit status: 134)

FAIL: scalarmult_ed25519
========================

dyld[46501]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult_ed25519 (exit status: 134)

FAIL: scalarmult_ristretto255
=============================

dyld[46503]: DYLD_ROOT_PATH not set for simulator program
FAIL scalarmult_ristretto255 (exit status: 134)

FAIL: siphashx24
================

dyld[46504]: DYLD_ROOT_PATH not set for simulator program
FAIL siphashx24 (exit status: 134)

FAIL: xchacha20
===============

dyld[46506]: DYLD_ROOT_PATH not set for simulator program
FAIL xchacha20 (exit status: 134)

This might not be an error in this repository, but I'm really confused and lost as to what's happening... Should I be setting the DYLD_ROOT_PATH environment variable to some folder in my computer?

Network timeout on Windows

Installing libsodium-sys-stable on a Windows github runner times out in roughly 9/10 cases with the following error:

thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.20.5\build.rs:439:14:
  called `Result::unwrap()` on an `Err` value: Transport(Transport { kind: ConnectionFailed, message: Some("Connect error"), url: Some(Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("download.libsodium.org")), port: None, path: "/libsodium/releases/LATEST.tar.gz.minisig", query: None, fragment: None }), source: Some(Os { code: 10060, kind: TimedOut, message: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond." }) })
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

I was wondering whether setting a pretty high explicit timeout on on that get request here would be an acceptable option to work around this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.