nostr_lib

Build log

nerves_system_trellis

nostr_lib 0.2.1 · fail · run nostr_lib-0.2.1-1791020887428
93 of 93 lines
1Resolving Hex dependencies...2Resolution completed in 0.114s3Unchanged:4  bechamel 1.1.05  circular_buffer 1.1.06  elixir_make 0.10.07  interactive_cmd 0.1.48  lib_secp256k1 0.8.09  nerves 2.0.0-pre.210  nerves_discovery 0.1.511  nerves_logging 0.2.412  nerves_runtime 0.13.1313  nerves_system_bbb 2.30.214  nerves_system_br 1.34.415  nerves_system_mangopi_mq_pro 0.17.216  nerves_system_qemu_aarch64 0.4.217  nerves_system_rpi0 2.1.218  nerves_system_rpi4 2.1.219  nerves_system_rpi5 2.1.220  nerves_system_trellis 0.5.021  nerves_system_x86_64 1.34.222  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.123  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.124  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.125  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.126  nerves_toolchain_x86_64_nerves_linux_musl 15.3.127  nerves_uevent 0.1.728  nostr_lib 0.2.129  property_table 0.3.430  ring_logger 0.11.731  scrypt 2.1.332  tablet 0.3.333  toolshed 0.5.034  uboot_env 1.0.235* Getting nostr_lib (Hex package)36* Getting nerves (Hex package)37* Getting ring_logger (Hex package)38* Getting toolshed (Hex package)39* Getting nerves_runtime (Hex package)40* Getting nerves_system_bbb (Hex package)41* Getting nerves_system_mangopi_mq_pro (Hex package)42* Getting nerves_system_qemu_aarch64 (Hex package)43* Getting nerves_system_rpi0 (Hex package)44* Getting nerves_system_rpi4 (Hex package)45* Getting nerves_system_rpi5 (Hex package)46* Getting nerves_system_trellis (Hex package)47* Getting nerves_system_x86_64 (Hex package)48* Getting nerves_system_br (Hex package)49* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)50* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)51* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)52* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)53* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)54* Getting nerves_logging (Hex package)55* Getting nerves_uevent (Hex package)56* Getting uboot_env (Hex package)57* Getting elixir_make (Hex package)58* Getting property_table (Hex package)59* Getting circular_buffer (Hex package)60* Getting interactive_cmd (Hex package)61* Getting nerves_discovery (Hex package)62* Getting tablet (Hex package)63* Getting bechamel (Hex package)64* Getting lib_secp256k1 (Hex package)65* Getting scrypt (Hex package)66==> nerves_system_br67Generated nerves_system_br app68==> circular_buffer69Compiling 1 file (.ex)70Generated circular_buffer app71==> nerves_compatibility_test72make: Entering directory '/work/proj/deps_trellis/scrypt/c_src'73/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=neon-vfpv4 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a7 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -fPIC -I /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -I /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -c -o /work/proj/deps_trellis/scrypt/c_src/scrypt_nif.o /work/proj/deps_trellis/scrypt/c_src/scrypt_nif.c74/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=neon-vfpv4 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a7 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -fPIC -I /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -I /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -c -o /work/proj/deps_trellis/scrypt/c_src/insecure_memzero.o /work/proj/deps_trellis/scrypt/c_src/insecure_memzero.c75/work/proj/deps_trellis/scrypt/c_src/scrypt_nif.c: In function 'scrypt':76/work/proj/deps_trellis/scrypt/c_src/scrypt_nif.c:52:37: error: passing argument 3 of 'enif_get_ulong' from incompatible pointer type [-Wincompatible-pointer-types]77   52 |   if (!enif_get_ulong(env, argv[5], &buf_len)) {78      |                                     ^~~~~~~~79      |                                     |80      |                                     size_t * {aka unsigned int *}81In file included from /work/proj/deps_trellis/scrypt/c_src/scrypt_nif.c:1:82/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include/erl_nif_api_funcs.h:46:89: note: expected 'long unsigned int *' but argument is of type 'size_t *' {aka 'unsigned int *'}83   46 | ERL_NIF_API_FUNC_DECL(int,enif_get_ulong,(ErlNifEnv*, ERL_NIF_TERM term, unsigned long* ip));84      |                                                                          ~~~~~~~~~~~~~~~^~85/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include/erl_nif.h:380:94: note: in definition of macro 'ERL_NIF_API_FUNC_DECL'86  380 | #    define ERL_NIF_API_FUNC_DECL(RET_TYPE, NAME, ARGS) ERL_NAPI_EXPORT extern RET_TYPE NAME ARGS87      |                                                                                              ^~~~88make: *** [Makefile:62: /work/proj/deps_trellis/scrypt/c_src/scrypt_nif.o] Error 189make: *** Waiting for unfinished jobs....90make: Leaving directory '/work/proj/deps_trellis/scrypt/c_src'91===> Hook for compile failed!9293** (Mix) Could not compile dependency :scrypt, "/home/nerves/.mix/elixir/1-20-otp-29/rebar3 bare compile --paths /work/proj/_build/trellis/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile scrypt --force", update it with "mix deps.update scrypt" or clean it with "mix deps.clean scrypt"