zenic

Build log

host

zenic 0.1.0 · fail · run zenic-0.1.0-1792618453463
623 of 623 lines
1Resolving Hex dependencies...2Resolution completed in 0.108s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.7.86  ex_image_info 0.2.77  font_metrics 0.5.28  input_event 1.4.29  interactive_cmd 0.1.410  logger_backends 1.0.111  nerves 2.0.0-pre.312  nerves_discovery 0.1.613  nerves_logging 0.2.414  nerves_runtime 0.13.1315  nerves_system_bbb 2.31.016  nerves_system_br 1.35.217  nerves_system_mangopi_mq_pro 0.18.018  nerves_system_qemu_aarch64 0.5.019  nerves_system_rpi0 2.2.020  nerves_system_rpi4 2.2.021  nerves_system_rpi5 2.2.022  nerves_system_trellis 0.6.023  nerves_system_x86_64 1.35.024  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.125  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.126  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.127  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.128  nerves_toolchain_x86_64_nerves_linux_musl 15.3.129  nerves_uevent 0.1.830  nimble_options 1.1.131  property_table 0.3.432  ring_logger 0.11.733  scenic 0.11.234  scenic_driver_local 0.11.035  tablet 0.3.336  toolshed 0.5.037  truetype_metrics 0.6.138  uboot_env 1.0.339  zenic 0.1.040All dependencies have been fetched41warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"42  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/243  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/144  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/545  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/246  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/447  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/24849==> elixir_make50Compiling 6 files (.ex)51    warning: unused require Logger52    │53  6 │   require Logger54    │   ~55    │56    └─ lib/elixir_make/precompiler.ex:6:35758    warning: unused require Logger59    │60  4 │   require Logger61    │   ~62    │63    └─ lib/elixir_make/artefact.ex:4:36465    warning: unused require Logger66    │67 16 │   require Logger68    │   ~69    │70    └─ lib/mix/tasks/elixir_make.precompile.ex:16:37172Generated elixir_make app73==> nerves_logging74 CC kmsg_tailer.o75 LD kmsg_tailer76Not crosscompiling. To test locally, the port binary needs extra permissions.77Set SUDO=sudo to set permissions. The default is to skip this step.78SUDO_ASKPASS=/usr/bin/ssh-askpass79SUDO=true80Compiling 5 files (.ex)81Generated nerves_logging app82==> input_event83 CC input_event.o84 LD input_event85Compiling 5 files (.ex)86Generated input_event app87==> scenic88mkdir -p /work/proj/_build/host/lib/scenic/ebin/../priv89mkdir -p /work/proj/_build/host/lib/scenic/ebin/../obj90cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/line.o c_src/line.c91cc /work/proj/_build/host/lib/scenic/ebin/../obj/line.o -L/usr/local/lib/erlang/usr/lib -shared  -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/line.so92cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/matrix.o c_src/matrix.c93cc /work/proj/_build/host/lib/scenic/ebin/../obj/matrix.o -L/usr/local/lib/erlang/usr/lib -shared  -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/matrix.so94cc -c -I/usr/local/lib/erlang/usr/include -fPIC -o /work/proj/_build/host/lib/scenic/ebin/../obj/bitmap.o c_src/bitmap.c95cc /work/proj/_build/host/lib/scenic/ebin/../obj/bitmap.o -L/usr/local/lib/erlang/usr/lib -shared  -dynamiclib -o /work/proj/_build/host/lib/scenic/ebin/../priv/bitmap.so96Compiling 84 files (.ex)97    warning: using single-quoted strings to represent charlists is deprecated.98    Use ~c"" if you indeed want a charlist or use "" instead.99    You may run "mix format --migrate" to change all single-quoted100    strings to use the ~c sigil and fix this warning.101    │102 81 │       |> :filename.join('bitmap')103    │                         ~104    │105    └─ lib/scenic/assets/stream/bitmap.ex:81:25106107     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator108     │109 190 │     <<_::binary-size(skip), g::8, _::binary>> = p110     │                      ~111     │112     └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4113114     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator115     │116 198 │     <<_::binary-size(skip), g::8, a::8, _::binary>> = p117     │                      ~118     │119     └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4120121     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator122     │123 206 │     <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p124     │                      ~125     │126     └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4127128     warning: the variable "skip" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator129     │130 214 │     <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p131     │                      ~132     │133     └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4134135     warning: using single-quoted strings to represent charlists is deprecated.136     Use ~c"" if you indeed want a charlist or use "" instead.137     You may run "mix format --migrate" to change all single-quoted138     strings to use the ~c sigil and fix this warning.139     │140 105 │     space_width = FontMetrics.width(' ', @default_font_size, fm)141     │                                     ~142     │143     └─ lib/scenic/component/input/checkbox.ex:105:37144145     warning: using single-quoted strings to represent charlists is deprecated.146     Use ~c"" if you indeed want a charlist or use "" instead.147     You may run "mix format --migrate" to change all single-quoted148     strings to use the ~c sigil and fix this warning.149     │150 177 │     space_width = FontMetrics.width(' ', @default_font_size, fm)151     │                                     ~152     │153     └─ lib/scenic/component/input/checkbox.ex:177:37154155    warning: using single-quoted strings to represent charlists is deprecated.156    Use ~c"" if you indeed want a charlist or use "" instead.157    You may run "mix format --migrate" to change all single-quoted158    strings to use the ~c sigil and fix this warning.159    │160 80 │     space_width = FontMetrics.width(' ', @default_font_size, fm)161    │                                     ~162    │163    └─ lib/scenic/component/input/radio_button.ex:80:37164165     warning: using single-quoted strings to represent charlists is deprecated.166     Use ~c"" if you indeed want a charlist or use "" instead.167     You may run "mix format --migrate" to change all single-quoted168     strings to use the ~c sigil and fix this warning.169     │170 143 │     space_width = FontMetrics.width(' ', @default_font_size, fm)171     │                                     ~172     │173     └─ lib/scenic/component/input/radio_button.ex:143:37174175     warning: using single-quoted strings to represent charlists is deprecated.176     Use ~c"" if you indeed want a charlist or use "" instead.177     You may run "mix format --migrate" to change all single-quoted178     strings to use the ~c sigil and fix this warning.179     │180 227 │     space_width = FontMetrics.width(' ', @default_font_size, fm)181     │                                     ~182     │183     └─ lib/scenic/component/input/radio_group.ex:227:37184185     warning: using single-quoted strings to represent charlists is deprecated.186     Use ~c"" if you indeed want a charlist or use "" instead.187     You may run "mix format --migrate" to change all single-quoted188     strings to use the ~c sigil and fix this warning.189     │190 113 │   @password_char '*'191     │                  ~192     │193     └─ lib/scenic/component/input/text_field.ex:113:18194195warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0196└─ lib/scenic/graph/bounds.ex: Scenic.Graph.Bounds.pts_arc_to/6197198warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0199└─ lib/scenic/graph/bounds.ex: Scenic.Graph.Bounds.pts_arc_to/6200201    warning: using single-quoted strings to represent charlists is deprecated.202    Use ~c"" if you indeed want a charlist or use "" instead.203    You may run "mix format --migrate" to change all single-quoted204    strings to use the ~c sigil and fix this warning.205    │206 31 │       |> :filename.join('line')207    │                         ~208    │209    └─ lib/scenic/math/line.ex:31:25210211    warning: using single-quoted strings to represent charlists is deprecated.212    Use ~c"" if you indeed want a charlist or use "" instead.213    You may run "mix format --migrate" to change all single-quoted214    strings to use the ~c sigil and fix this warning.215    │216 37 │       |> :filename.join('matrix')217    │                         ~218    │219    └─ lib/scenic/math/matrix.ex:37:25220221     warning: the variable "skip_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator222     │223 490 │       _::binary-size(skip_size),224     │                      ~225     │226     └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3227228     warning: the variable "skip_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator229     │230 521 │       pre::binary-size(skip_size),231     │                        ~232     │233     └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4234235warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0236└─ lib/scenic/math/matrix.ex: Scenic.Math.Matrix.invert/1237238warning: pattern matching on 0.0 is equivalent to matching only on +0.0. Instead you must match on +0.0 or -0.0239└─ lib/scenic/math/vector_2.ex: Scenic.Math.Vector2.normalize/1240241      warning: the variable "bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator242      │243 2730 │       str::binary-size(bytes),244      │                        ~245      │246      └─ lib/scenic/script.ex:2730:24: Scenic.Script.extract_string/2247248      warning: the variable "buff_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator249      │250 2731 │       _buff::binary-size(buff_size),251      │                          ~252      │253      └─ lib/scenic/script.ex:2731:26: Scenic.Script.extract_string/2254255     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)256     │257 281 │   defp do_special_theme_outline(graph, :dark, border) do258     │        ~259     │260     └─ lib/scenic/component/button.ex:281:8: Scenic.Component.Button.do_special_theme_outline/3261262     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)263     │264 285 │   defp do_special_theme_outline(graph, :light, border) do265     │        ~266     │267     └─ lib/scenic/component/button.ex:285:8: Scenic.Component.Button.do_special_theme_outline/3268269     warning: the following clause cannot match because the previous clauses already matched all possible values:270271         err ->272273     it attempts to match on the result of:274275         child(scene, id)276277     which has the already matched type:278279         dynamic({:ok, term()})280281     where "err" was given the type:282283         # type: dynamic({:ok, term()})284         # from: lib/scenic/scene.ex:495:7285         err286287     type warning found at:288     │289 495 │       err -> err290     │           ~291     │292     └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2293294     warning: the following clause cannot match because the previous clauses already matched all possible values:295296         err ->297298     it attempts to match on the result of:299300         child(scene, id)301302     which has the already matched type:303304         dynamic({:ok, term()})305306     where "err" was given the type:307308         # type: dynamic({:ok, term()})309         # from: lib/scenic/scene.ex:523:7310         err311312     type warning found at:313     │314 523 │       err ->315     │           ~316     │317     └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3318319     warning: the following clause cannot match because the previous clauses already matched all possible values:320321         err ->322323     it attempts to match on the result of:324325         child(scene, id)326327     which has the already matched type:328329         dynamic({:ok, term()})330331     where "err" was given the type:332333         # type: dynamic({:ok, term()})334         # from: lib/scenic/scene.ex:559:7335         err336337     type warning found at:338     │339 559 │       err ->340     │           ~341     │342     └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2343344      warning: the following clause will never match:345346          _ ->347348      it is expected to match on type:349350          none()351352      type warning found at:353      │354 1249 │         _ -> state355      │         ~356      │357      └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3358359     warning: the following clause will never match:360361         err ->362363     it is expected to match on type:364365         none()366367     type warning found at:368     │369 392 │       err -> err370     │       ~371     │372     └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4373374Generated scenic app375warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"376  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2377  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1378  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5379  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2380  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4381  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2382383==> scenic_driver_local384Compiling 8 files (.ex)385    warning: unused require Logger386    │387 28 │   require Logger388    │   ~389    │390    └─ lib/cursor.ex:28:3391392    warning: using single-quoted strings to represent charlists is deprecated.393    Use ~c"" if you indeed want a charlist or use "" instead.394    You may run "mix format --migrate" to change all single-quoted395    strings to use the ~c sigil and fix this warning.396    │397 70 │   @port '/scenic_driver_local'398    │         ~399    │400    └─ lib/driver.ex:70:9401402     warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead403     │404 145 │     Logger.warn("scenic_driver_local: #{inspect(msg)}")405     │            ~406     │407     └─ lib/from_port.ex:145:12: Scenic.Driver.Local.FromPort.handle_port_message/2408409    warning: use Bitwise is deprecated. import Bitwise instead410    │411  9 │   use Bitwise412    │   ~~~~~~~~~~~413    │414    └─ lib/to_port.ex:9: Scenic.Driver.Local.ToPort (module)415416    warning: the following clause will never match:417418        :dev ->419420    because it attempts to match on the result of:421422        target()423424    which has type:425426        dynamic(:host)427428    type warning found at:429    │430 23 │         :dev ->431    │         ~~~~~~~432    │433    └─ lib/mix/tasks/compile.local.ex:23: Mix.Tasks.Compile.ScenicDriverLocal.run/1434435    warning: the following clause will never match:436437        :rpi ->438439    because it attempts to match on the result of:440441        target()442443    which has type:444445        dynamic(:host)446447    type warning found at:448    │449 29 │         :rpi ->450    │         ~~~~~~~451    │452    └─ lib/mix/tasks/compile.local.ex:29: Mix.Tasks.Compile.ScenicDriverLocal.run/1453454    warning: the following clause will never match:455456        :rpi0 ->457458    because it attempts to match on the result of:459460        target()461462    which has type:463464        dynamic(:host)465466    type warning found at:467    │468 32 │         :rpi0 ->469    │         ~~~~~~~~470    │471    └─ lib/mix/tasks/compile.local.ex:32: Mix.Tasks.Compile.ScenicDriverLocal.run/1472473    warning: the following clause will never match:474475        :rpi2 ->476477    because it attempts to match on the result of:478479        target()480481    which has type:482483        dynamic(:host)484485    type warning found at:486    │487 35 │         :rpi2 ->488    │         ~~~~~~~~489    │490    └─ lib/mix/tasks/compile.local.ex:35: Mix.Tasks.Compile.ScenicDriverLocal.run/1491492    warning: the following clause will never match:493494        :rpi3 ->495496    because it attempts to match on the result of:497498        target()499500    which has type:501502        dynamic(:host)503504    type warning found at:505    │506 38 │         :rpi3 ->507    │         ~~~~~~~~508    │509    └─ lib/mix/tasks/compile.local.ex:38: Mix.Tasks.Compile.ScenicDriverLocal.run/1510511    warning: the following clause will never match:512513        :rpi3a ->514515    because it attempts to match on the result of:516517        target()518519    which has type:520521        dynamic(:host)522523    type warning found at:524    │525 41 │         :rpi3a ->526    │         ~~~~~~~~~527    │528    └─ lib/mix/tasks/compile.local.ex:41: Mix.Tasks.Compile.ScenicDriverLocal.run/1529530    warning: the following clause will never match:531532        :bbb ->533534    because it attempts to match on the result of:535536        target()537538    which has type:539540        dynamic(:host)541542    type warning found at:543    │544 44 │         :bbb ->545    │         ~~~~~~~546    │547    └─ lib/mix/tasks/compile.local.ex:44: Mix.Tasks.Compile.ScenicDriverLocal.run/1548549    warning: the following clause will never match:550551        :rpi4 ->552553    because it attempts to match on the result of:554555        target()556557    which has type:558559        dynamic(:host)560561    type warning found at:562    │563 48 │         :rpi4 ->564    │         ~~~~~~~~565    │566    └─ lib/mix/tasks/compile.local.ex:48: Mix.Tasks.Compile.ScenicDriverLocal.run/1567568    warning: the following clause cannot match because the previous clauses already matched all possible values:569570        _ ->571572    it attempts to match on the result of:573574        target()575576    which has the already matched type:577578        dynamic(:host)579580    type warning found at:581    │582 52 │         _ ->583    │           ~584    │585    └─ lib/mix/tasks/compile.local.ex:52:11: Mix.Tasks.Compile.ScenicDriverLocal.run/1586587Generated scenic_driver_local app588SCENIC_LOCAL_TARGET: glfw589mkdir -p /work/proj/_build/host/lib/scenic_driver_local/priv590cc -O3 -std=c99 `pkg-config --static --cflags glfw3 glew` -fPIC -o /work/proj/_build/host/lib/scenic_driver_local/priv/scenic_driver_local c_src/device/glfw.c c_src/main.c c_src/nanovg/nanovg.c c_src/comms.c c_src/unix_comms.c c_src/utils.c c_src/script.c c_src/image.c c_src/font.c c_src/tommyds/src/tommyhashlin.c c_src/tommyds/src/tommyhash.c `pkg-config --static --libs glfw3 glew` -lGL -lm -lrt591Package glfw3 was not found in the pkg-config search path.592Perhaps you should add the directory containing `glfw3.pc'593to the PKG_CONFIG_PATH environment variable594Package 'glfw3', required by 'virtual:world', not found595Package 'glew', required by 'virtual:world', not found596Package glfw3 was not found in the pkg-config search path.597Perhaps you should add the directory containing `glfw3.pc'598to the PKG_CONFIG_PATH environment variable599Package 'glfw3', required by 'virtual:world', not found600Package 'glew', required by 'virtual:world', not found601c_src/device/glfw.c:17:10: fatal error: GL/glew.h: No such file or directory602   17 | #include <GL/glew.h>603      |          ^~~~~~~~~~~604compilation terminated.605In file included from c_src/tommyds/src/tommyhash.h:35,606                 from c_src/tommyds/src/tommyhashlin.h:143,607                 from c_src/tommyds/src/tommyhashlin.c:28:608c_src/tommyds/src/tommyhashlin.c: In function ‘tommy_hashlin_done’:609c_src/tommyds/src/tommytypes.h:102:20: warning: ‘free’ called on pointer ‘*(tommy_hashlin_node ***)((char *)hashlin+ ivtmp*8)’ with nonzero offset [512, 17179869184] [-Wfree-nonheap-object]610  102 | #define tommy_free free611c_src/tommyds/src/tommyhashlin.c:82:17: note: in expansion of macro ‘tommy_free’612   82 |                 tommy_free(&segment[((tommy_ptrdiff_t)1) << i]);613      |                 ^~~~~~~~~~614make: *** [Makefile:125: /work/proj/_build/host/lib/scenic_driver_local/priv/scenic_driver_local] Error 1615could not compile dependency :scenic_driver_local, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile scenic_driver_local --force", update it with "mix deps.update scenic_driver_local" or clean it with "mix deps.clean scenic_driver_local"616==> nerves_compatibility_test617** (Mix) Could not compile with "make" (exit status: 2).618You need to have gcc and make installed. If you are using619Ubuntu or any other Debian-based system, install the packages620"build-essential". Also install "erlang-dev" package if not621included in your Erlang/OTP version. If you're on Fedora, run622"dnf group install 'Development Tools'".623