Build log
nerves_system_mangopi_mq_pro
margarine 0.2.3 · fail · run margarine-0.2.3-1789373436432
300 of 300 lines
1Resolving Hex dependencies...2Resolution completed in 1.022s3Unchanged:4 cc_precompiler 0.1.115 circular_buffer 1.1.06 complex 0.7.07 elixir_make 0.10.08 fine 0.1.69 interactive_cmd 0.1.410 jason 1.4.511 margarine 0.2.312 nerves 1.15.013 nerves_discovery 0.1.514 nerves_logging 0.2.415 nerves_runtime 0.13.1316 nerves_system_bbb 2.30.217 nerves_system_br 1.34.418 nerves_system_mangopi_mq_pro 0.17.219 nerves_system_qemu_aarch64 0.4.220 nerves_system_rpi 2.1.221 nerves_system_rpi0 2.1.222 nerves_system_rpi0_2 2.1.223 nerves_system_rpi2 2.1.224 nerves_system_rpi3 2.1.225 nerves_system_rpi4 2.1.226 nerves_system_rpi5 2.1.227 nerves_system_x86_64 1.34.228 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.129 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.130 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.131 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.132 nerves_toolchain_x86_64_nerves_linux_musl 15.3.133 nerves_uevent 0.1.734 nx 0.13.135 property_table 0.3.436 pythonx 0.4.1037 ring_logger 0.11.738 shoehorn 0.9.339 tablet 0.3.340 telemetry 1.4.241 toolshed 0.5.042 uboot_env 1.0.243 vix 0.41.044* Getting margarine (Hex package)45* Getting nerves (Hex package)46* Getting shoehorn (Hex package)47* Getting ring_logger (Hex package)48* Getting toolshed (Hex package)49* Getting nerves_runtime (Hex package)50* Getting nerves_system_bbb (Hex package)51* Getting nerves_system_mangopi_mq_pro (Hex package)52* Getting nerves_system_qemu_aarch64 (Hex package)53* Getting nerves_system_rpi (Hex package)54* Getting nerves_system_rpi0 (Hex package)55* Getting nerves_system_rpi0_2 (Hex package)56* Getting nerves_system_rpi2 (Hex package)57* Getting nerves_system_rpi3 (Hex package)58* Getting nerves_system_rpi4 (Hex package)59* Getting nerves_system_rpi5 (Hex package)60* Getting nerves_system_x86_64 (Hex package)61* Getting nerves_system_br (Hex package)62* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)63* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)64* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)65* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)66* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)67* Getting nerves_logging (Hex package)68* Getting nerves_uevent (Hex package)69* Getting uboot_env (Hex package)70* Getting elixir_make (Hex package)71* Getting property_table (Hex package)72* Getting circular_buffer (Hex package)73* Getting interactive_cmd (Hex package)74* Getting jason (Hex package)75* Getting nerves_discovery (Hex package)76* Getting tablet (Hex package)77* Getting nx (Hex package)78* Getting pythonx (Hex package)79* Getting telemetry (Hex package)80* Getting vix (Hex package)81* Getting cc_precompiler (Hex package)82* Getting fine (Hex package)83* Getting complex (Hex package)84==> jason85Compiling 10 files (.ex)86Generated jason app87==> tablet88Compiling 2 files (.ex)89Generated tablet app90==> elixir_make91Compiling 8 files (.ex)92Generated elixir_make app93==> nerves_discovery94Compiling 5 files (.ex)95Generated nerves_discovery app96==> interactive_cmd97Compiling 1 file (.ex)98Generated interactive_cmd app99==> nerves100HOST_CC port.o101HOST_LD port102Compiling 55 files (.ex)103Generated nerves app104==> nerves_compatibility_test105106Nerves environment107 MIX_TARGET: mangopi_mq_pro108 MIX_ENV: prod109110Checking for prebuilt Nerves artifacts...111 Found nerves_system_mangopi_mq_pro in cache112 /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2113 Found nerves_toolchain_riscv64_nerves_linux_gnu in cache114 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1115==> jason116Compiling 10 files (.ex)117Compiling lib/decoder.ex (it's taking more than 10s)118Compiling lib/encode.ex (it's taking more than 10s)119Generated jason app120==> tablet121Compiling 2 files (.ex)122Generated tablet app123==> elixir_make124Compiling 8 files (.ex)125Generated elixir_make app126==> nerves_discovery127Compiling 5 files (.ex)128Generated nerves_discovery app129==> interactive_cmd130Compiling 1 file (.ex)131Generated interactive_cmd app132==> nerves133HOST_CC port.o134HOST_LD port135Compiling 55 files (.ex)136Generated nerves app137==> nerves_system_br138Generated nerves_system_br app139==> nerves_toolchain_riscv64_nerves_linux_gnu140Compiling 1 file (.ex)141Generated nerves_toolchain_riscv64_nerves_linux_gnu app142==> nerves_system_mangopi_mq_pro143Generated nerves_system_mangopi_mq_pro app144==> nerves_compatibility_test145146Nerves environment147 MIX_TARGET: mangopi_mq_pro148 MIX_ENV: prod149150==> circular_buffer151Compiling 1 file (.ex)152Generated circular_buffer app153==> fine154Compiling 1 file (.ex)155Generated fine app156==> complex157Compiling 2 files (.ex)158 warning: the following clause is redundant:159160 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)161162 it has type:163164 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)165166 previous clauses have already matched on the following types:167168 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity169 :nan, float() or integer()170 float() or integer(), :nan171 float() or integer(), :infinity172 float() or integer(), :neg_infinity173 float() or integer(), float() or integer()174175 │176 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do177 │ ~178 │179 └─ lib/complex.ex:590:7: Complex.divide/2180181 warning: the following clause is redundant:182183 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0184185 it has type:186187 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity188189 previous clauses have already matched on the following types:190191 :infinity or :nan or :neg_infinity, %Complex{}192 %Complex{}, :infinity or :nan or :neg_infinity193 %Complex{re: :infinity or :nan or :neg_infinity}, term()194 %Complex{im: :infinity or :nan or :neg_infinity}, term()195 term(), %Complex{re: :infinity or :nan or :neg_infinity}196 term(), %Complex{im: :infinity or :nan or :neg_infinity}197 :nan, term()198 term(), :nan199200 │201 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)202 │ ~203 │204 └─ lib/complex.ex:1143:7: Complex.pow/2205206 warning: the following clause is redundant:207208 def atan2(:nan, :nan)209210 it has type:211212 :nan, :nan213214 previous clauses have already matched on the following types:215216 float() or integer(), float() or integer()217 :infinity, :infinity218 :infinity, :neg_infinity219 :infinity, :nan220 :infinity, float() or integer()221 :neg_infinity, :infinity222 :neg_infinity, :neg_infinity223 :neg_infinity, :nan224 :neg_infinity, float() or integer()225 :nan, :infinity or :nan or :neg_infinity or float() or integer()226 :infinity or :nan or :neg_infinity or float() or integer(), :nan227228 │229 1458 │ def atan2(:nan, :nan), do: :nan230 │ ~231 │232 └─ lib/complex.ex:1458:7: Complex.atan2/2233234Generated complex app235==> nerves_logging236 CC kmsg_tailer.o237 LD kmsg_tailer238Compiling 5 files (.ex)239Generated nerves_logging app240==> ring_logger241Compiling 7 files (.ex)242Generated ring_logger app243==> shoehorn244Compiling 8 files (.ex)245Generated shoehorn app246==> nerves_compatibility_test247===> Analyzing applications...248===> Compiling telemetry249==> nx250Compiling 43 files (.ex)251Compiling lib/nx/defn/compiler.ex (it's taking more than 10s)252Compiling lib/nx/batch.ex (it's taking more than 10s)253Compiling lib/nx/defn/grad.ex (it's taking more than 10s)254Compiling lib/nx/defn/tree.ex (it's taking more than 10s)255Compiling lib/nx/binary_backend.ex (it's taking more than 10s)256Compiling lib/nx.ex (it's taking more than 10s)257Generated nx app258==> uboot_env259Compiling 5 files (.ex)260Generated uboot_env app261==> cc_precompiler262Compiling 3 files (.ex)263Generated cc_precompiler app264==> pythonx265Downloading precompiled NIF to /home/nerves/.cache/elixir_make/pythonx-nif-2.16-riscv64-linux-gnu-0.4.10.tar.gz266Compiling 11 files (.ex)267Generated pythonx app268==> vix269Setting up precompiled libvips...27027108:17:44.627 [debug] Fetching https://github.com/akash-akya/sharp-libvips/releases/download/v8.18.3-rc1/sharp-libvips-linux-x64.tar.gz27227308:17:46.667 [debug] Extracting to /work/proj/_build/mangopi_mq_pro/lib/vix/priv/sharp-libvips-linux-x64.tar.gz274 CC pipe.c275 CC utils.c276 CC vips_boxed.c277 CC vips_foreign.c278 CC vips_image.c279 CC vips_interpolate.c280 CC vips_operation.c281 CC vix.c282 CC g_boxed.c283 CC g_object.c284 CC g_param_spec.c285 CC g_type.c286 CC g_value.c287 LD vix.so288/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: /work/proj/_build/mangopi_mq_pro/lib/vix/priv/precompiled_libvips/lib/libvips-cpp.so.8.18.3: error adding symbols: file in wrong format289collect2: error: ld returned 1 exit status290make[1]: *** [Makefile:240: /work/proj/_build/mangopi_mq_pro/lib/vix/priv/vix.so] Error 1291make: *** [Makefile:10: compile] Error 2292could not compile dependency :vix, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile vix --force", update it with "mix deps.update vix" or clean it with "mix deps.clean vix"293==> nerves_compatibility_test294** (Mix) Could not compile with "make" (exit status: 2).295You need to have gcc and make installed. If you are using296Ubuntu or any other Debian-based system, install the packages297"build-essential". Also install "erlang-dev" package if not298included in your Erlang/OTP version. If you're on Fedora, run299"dnf group install 'Development Tools'".300