midi_player

Build log

nerves_system_rpi5

midi_player 0.2.0 · fail · run midi_player-0.2.0-1791002249869
236 of 236 lines
1Resolving Hex dependencies...2Resolution completed in 0.18s3Unchanged:4  circular_buffer 1.1.05  combine 0.10.06  elixir_make 0.10.07  expo 1.1.18  gettext 0.26.29  interactive_cmd 0.1.410  midi_player 0.2.011  midi_synth 0.4.212  nerves 2.0.0-pre.213  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_rpi0 2.1.221  nerves_system_rpi4 2.1.222  nerves_system_rpi5 2.1.223  nerves_system_trellis 0.5.024  nerves_system_x86_64 1.34.225  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129  nerves_toolchain_x86_64_nerves_linux_musl 15.3.130  nerves_uevent 0.1.731  property_table 0.3.432  ring_logger 0.11.733  tablet 0.3.334  timex 3.7.1335  toolshed 0.5.036  tzdata 1.2.237  uboot_env 1.0.238* Getting midi_player (Hex package)39* Getting nerves (Hex package)40* Getting ring_logger (Hex package)41* Getting toolshed (Hex package)42* Getting nerves_runtime (Hex package)43* Getting nerves_system_bbb (Hex package)44* Getting nerves_system_mangopi_mq_pro (Hex package)45* Getting nerves_system_qemu_aarch64 (Hex package)46* Getting nerves_system_rpi0 (Hex package)47* Getting nerves_system_rpi4 (Hex package)48* Getting nerves_system_rpi5 (Hex package)49* Getting nerves_system_trellis (Hex package)50* Getting nerves_system_x86_64 (Hex package)51* Getting nerves_system_br (Hex package)52* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)53* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)54* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)55* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)56* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)57* Getting nerves_logging (Hex package)58* Getting nerves_uevent (Hex package)59* Getting uboot_env (Hex package)60* Getting elixir_make (Hex package)61* Getting property_table (Hex package)62* Getting circular_buffer (Hex package)63* Getting interactive_cmd (Hex package)64* Getting nerves_discovery (Hex package)65* Getting tablet (Hex package)66* Getting midi_synth (Hex package)67* Getting timex (Hex package)68* Getting combine (Hex package)69* Getting gettext (Hex package)70* Getting tzdata (Hex package)71* Getting expo (Hex package)72==> nerves_system_br73Generated nerves_system_br app74==> combine75Compiling 6 files (.ex)76    warning: the variable "n" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator77    │78 26 │       <<bits::bitstring-size(n), rest::bitstring>> ->79    │                              ~80    │81    └─ lib/combine/parsers/binary.ex:26:30: Combine.Parsers.Binary.bits_impl/28283    warning: the variable "bits_size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator84    │85 48 │       <<bits::bitstring-size(bits_size), rest::bitstring>> ->86    │                              ~87    │88    └─ lib/combine/parsers/binary.ex:48:30: Combine.Parsers.Binary.bytes_impl/28990    warning: the variable "size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator91    │92 70 │           <<int::big-unsigned-size(size), rest::bitstring>> ->93    │                                    ~94    │95    └─ lib/combine/parsers/binary.ex:70:36: Combine.Parsers.Binary.uint_impl/39697    warning: the variable "size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator98    │99 77 │           <<int::little-unsigned-size(size), rest::bitstring>> ->100    │                                       ~101    │102    └─ lib/combine/parsers/binary.ex:77:39: Combine.Parsers.Binary.uint_impl/3103104     warning: the variable "size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator105     │106 101 │           <<int::big-signed-size(size), rest::bitstring>> ->107     │                                  ~108     │109     └─ lib/combine/parsers/binary.ex:101:34: Combine.Parsers.Binary.int_impl/3110111     warning: the variable "size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator112     │113 108 │           <<int::little-signed-size(size), rest::bitstring>> ->114     │                                     ~115     │116     └─ lib/combine/parsers/binary.ex:108:37: Combine.Parsers.Binary.int_impl/3117118     warning: the variable "size" (context Combine.Parsers.Binary) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator119     │120 128 │       <<num::float-size(size), rest::bitstring>> ->121     │                         ~122     │123     └─ lib/combine/parsers/binary.ex:128:25: Combine.Parsers.Binary.float_impl/2124125     warning: the variable "byte_size" (context Combine.Parsers.Text) is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator126     │127 432 │         <<^expected::binary-size(byte_size), rest::binary>> ->128     │                                  ~129     │130     └─ lib/combine/parsers/text.ex:432:34: Combine.Parsers.Text.string_impl/2131132     warning: the following clause is redundant:133134         defp word_of_impl(%Combine.ParserState{...} = state, _pattern)135136     it has type:137138         dynamic(%Combine.ParserState{status: :ok}), dynamic()139140     previous clauses have already matched on the following types:141142         %Combine.ParserState{status: :error}, term()143         %Combine.ParserState{status: :ok}, term()144145     │146 488 │   defp word_of_impl(%ParserState{status: :ok} = state, _pattern) do147     │        ~148     │149     └─ lib/combine/parsers/text.ex:488:8: Combine.Parsers.Text.word_of_impl/2150151Generated combine app152==> circular_buffer153Compiling 1 file (.ex)154Generated circular_buffer app155==> tzdata156Compiling 18 files (.ex)157Generated tzdata app158==> tablet159Compiling 2 files (.ex)160Generated tablet app161==> elixir_make162Compiling 8 files (.ex)163Generated elixir_make app164==> nerves_logging165 CC kmsg_tailer.o166 LD kmsg_tailer167Compiling 5 files (.ex)168Generated nerves_logging app169==> midi_synth170/usr/bin/make -C c_src all171make[1]: Entering directory '/work/proj/deps_rpi5/midi_synth/c_src'172mkdir -p /work/proj/_build/rpi5/lib/midi_synth/priv173Package fluidsynth was not found in the pkg-config search path.174Perhaps you should add the directory containing `fluidsynth.pc'175to the PKG_CONFIG_PATH environment variable176Package 'fluidsynth', required by 'virtual:world', not found177Package fluidsynth was not found in the pkg-config search path.178Perhaps you should add the directory containing `fluidsynth.pc'179to the PKG_CONFIG_PATH environment variable180Package 'fluidsynth', required by 'virtual:world', not found181mkdir -p /work/proj/_build/rpi5/lib/midi_synth/obj182Package fluidsynth was not found in the pkg-config search path.183Perhaps you should add the directory containing `fluidsynth.pc'184to the PKG_CONFIG_PATH environment variable185Package 'fluidsynth', required by 'virtual:world', not found186Package fluidsynth was not found in the pkg-config search path.187Perhaps you should add the directory containing `fluidsynth.pc'188to the PKG_CONFIG_PATH environment variable189Package 'fluidsynth', required by 'virtual:world', not found190Package fluidsynth was not found in the pkg-config search path.191Perhaps you should add the directory containing `fluidsynth.pc'192to the PKG_CONFIG_PATH environment variable193Package 'fluidsynth', required by 'virtual:world', not found194/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -mabi=lp64 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 -fstack-protector-strong -mcpu=cortex-a76 -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_rpi5-2.1.2/staging -std=c99 -D_GNU_SOURCE  -o /work/proj/_build/rpi5/lib/midi_synth/obj/midi_synth.o midi_synth.c195Package fluidsynth was not found in the pkg-config search path.196Perhaps you should add the directory containing `fluidsynth.pc'197to the PKG_CONFIG_PATH environment variable198Package 'fluidsynth', required by 'virtual:world', not found199Package fluidsynth was not found in the pkg-config search path.200Perhaps you should add the directory containing `fluidsynth.pc'201to the PKG_CONFIG_PATH environment variable202Package 'fluidsynth', required by 'virtual:world', not found203curl -LO https://github.com/fhunleth/midi_synth/releases/download/v0.1.0/FluidR3_GM.sf2204Package fluidsynth was not found in the pkg-config search path.205Perhaps you should add the directory containing `fluidsynth.pc'206to the PKG_CONFIG_PATH environment variable207Package 'fluidsynth', required by 'virtual:world', not found208Package fluidsynth was not found in the pkg-config search path.209Perhaps you should add the directory containing `fluidsynth.pc'210to the PKG_CONFIG_PATH environment variable211Package 'fluidsynth', required by 'virtual:world', not found212midi_synth.c:4:10: fatal error: fluidsynth.h: No such file or directory213    4 | #include <fluidsynth.h>214      |          ^~~~~~~~~~~~~~215compilation terminated.216make[1]: *** [Makefile:48: /work/proj/_build/rpi5/lib/midi_synth/obj/midi_synth.o] Error 1217make[1]: *** Waiting for unfinished jobs....218  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current219                                 Dload  Upload   Total   Spent    Left  Speed220  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0221  5  141M    5 7407k    0     0  7466k      0  0:00:19 --:--:--  0:00:19 7466k 28  141M   28 40.8M    0     0  20.5M      0  0:00:06  0:00:01  0:00:05 33.6M 48  141M   48 68.5M    0     0  22.8M      0  0:00:06  0:00:02  0:00:04 30.6M 66  141M   66 93.6M    0     0  23.4M      0  0:00:06  0:00:03  0:00:03 28.8M 78  141M   78  111M    0     0  22.3M      0  0:00:06  0:00:04  0:00:02 26.0M 99  141M   99  140M    0     0  23.4M      0  0:00:06  0:00:05  0:00:01 26.6M100  141M  100  141M    0     0  23.0M      0  0:00:06  0:00:06 --:--:-- 24.2M222make[1]: Leaving directory '/work/proj/deps_rpi5/midi_synth/c_src'223make: *** [Makefile:5: all] Error 2224could not compile dependency :midi_synth, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile midi_synth --force", update it with "mix deps.update midi_synth" or clean it with "mix deps.clean midi_synth"225==> nerves_compatibility_test226** (Mix) Could not compile with "make" (exit status: 2).227This is usually due to not being able to find the fluidsynth library. Try228installing it and then rerun the build to see if that fixes the error.229230On MacOS, run `brew install fluidsynth pkg-config`.231232On Ubuntu, try `sudo apt install libfluidsynth-dev`233234If this does not fix the issue, the C compiler error message right above235this help text may provide a clue.236