scenic_driver_local

Build log

nerves_system_x86_64

scenic_driver_local 0.12.0-rc.0 · fail · run scenic_driver_local-0.12.0-rc.0-1794803544911
395 of 395 lines
1Resolving Hex dependencies...2Resolution completed in 0.066s3* Getting scenic_driver_local (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting input_event (Hex package)34* Getting scenic (Hex package)35* Getting ex_image_info (Hex package)36* Getting font_metrics (Hex package)37* Getting nimble_options (Hex package)38* Getting truetype_metrics (Hex package)39==> tablet40Compiling 2 files (.ex)41==> nerves_discovery42Compiling 5 files (.ex)43Generated nerves_discovery app44==> interactive_cmd45Compiling 1 file (.ex)46==> nerves47Compiling 65 files (.ex)48Generated nerves app49==> nerves_system_br50Generated nerves_system_br app51warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"52  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/253  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/154  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/555  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/256  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/457  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/25859==> elixir_make60Compiling 8 files (.ex)61    warning: unused require Logger62    │63  4 │   require Logger64    │   ~65    │66    └─ lib/elixir_make/artefact.ex:4:36768    warning: unused require Logger69    │70  6 │   require Logger71    │   ~72    │73    └─ lib/elixir_make/precompiler.ex:6:37475    warning: unused require Logger76    │77 16 │   require Logger78    │   ~79    │80    └─ lib/mix/tasks/elixir_make.precompile.ex:16:38182Generated elixir_make app83==> nerves_logging84 CC kmsg_tailer.o85 LD kmsg_tailer86Compiling 5 files (.ex)87Generated nerves_logging app88==> nerves_toolchain_x86_64_nerves_linux_musl89Compiling 1 file (.ex)90Generated nerves_toolchain_x86_64_nerves_linux_musl app91==> nerves_system_x86_6492Generated nerves_system_x86_64 app93==> input_event94 CC input_event.o95 LD input_event96Compiling 5 files (.ex)97Generated input_event app98==> scenic99 CC line.o100 CC matrix.o101 CC bitmap.o102 LD line.so103 LD matrix.so104 LD bitmap.so105Compiling 84 files (.ex)106     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 operator107     │108 190 │     <<_::binary-size(skip), g::8, _::binary>> = p109     │                      ~110     │111     └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4112113     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 operator114     │115 198 │     <<_::binary-size(skip), g::8, a::8, _::binary>> = p116     │                      ~117     │118     └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4119120     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 operator121     │122 206 │     <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p123     │                      ~124     │125     └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4126127     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 operator128     │129 214 │     <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p130     │                      ~131     │132     └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4133134     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 operator135     │136 490 │       _::binary-size(skip_size),137     │                      ~138     │139     └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3140141     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 operator142     │143 521 │       pre::binary-size(skip_size),144     │                        ~145     │146     └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4147148      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 operator149      │150 2859 │       str::binary-size(bytes),151      │                        ~152      │153      └─ lib/scenic/script.ex:2859:24: Scenic.Script.extract_string/2154155      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 operator156      │157 2860 │       _buff::binary-size(buff_size),158      │                          ~159      │160      └─ lib/scenic/script.ex:2860:26: Scenic.Script.extract_string/2161162     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)163     │164 290 │   defp do_special_theme_outline(graph, :dark, border) do165     │        ~166     │167     └─ lib/scenic/component/button.ex:290:8: Scenic.Component.Button.do_special_theme_outline/3168169     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)170     │171 294 │   defp do_special_theme_outline(graph, :light, border) do172     │        ~173     │174     └─ lib/scenic/component/button.ex:294:8: Scenic.Component.Button.do_special_theme_outline/3175176     warning: the following clause cannot match because the previous clauses already matched all possible values:177178         err ->179180     it attempts to match on the result of:181182         child(scene, id)183184     which has the already matched type:185186         dynamic({:ok, term()})187188     where "err" was given the type:189190         # type: dynamic({:ok, term()})191         # from: lib/scenic/scene.ex:495:7192         err193194     type warning found at:195     │196 495 │       err -> err197     │           ~198     │199     └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2200201     warning: the following clause cannot match because the previous clauses already matched all possible values:202203         err ->204205     it attempts to match on the result of:206207         child(scene, id)208209     which has the already matched type:210211         dynamic({:ok, term()})212213     where "err" was given the type:214215         # type: dynamic({:ok, term()})216         # from: lib/scenic/scene.ex:523:7217         err218219     type warning found at:220     │221 523 │       err ->222     │           ~223     │224     └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3225226     warning: the following clause cannot match because the previous clauses already matched all possible values:227228         err ->229230     it attempts to match on the result of:231232         child(scene, id)233234     which has the already matched type:235236         dynamic({:ok, term()})237238     where "err" was given the type:239240         # type: dynamic({:ok, term()})241         # from: lib/scenic/scene.ex:559:7242         err243244     type warning found at:245     │246 559 │       err ->247     │           ~248     │249     └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2250251      warning: the following clause will never match:252253          _ ->254255      it is expected to match on type:256257          none()258259      type warning found at:260      │261 1249 │         _ -> state262      │         ~263      │264      └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3265266     warning: the following clause will never match:267268         err ->269270     it is expected to match on type:271272         none()273274     type warning found at:275     │276 392 │       err -> err277     │       ~278     │279     └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4280281Generated scenic app282warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"283  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2284  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1285  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5286  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2287  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4288  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2289290==> scenic_driver_local291Compiling 8 files (.ex)292    warning: unused require Logger293    │294 28 │   require Logger295    │   ~296    │297    └─ lib/cursor.ex:28:3298299    warning: the following clause will never match:300301        n when n === :dev or n === :host ->302303    because it attempts to match on the result of:304305        target()306307    which has type:308309        dynamic(:x86_64)310311    where "n" was given the type:312313        # type: :dev or :host314        # from: lib/mix/tasks/compile.local.ex:23315        n in [:dev, :host]316317    type warning found at:318    │319 23 │         n when n in [:dev, :host] ->320    │         ~321    │322    └─ lib/mix/tasks/compile.local.ex:23:9: Mix.Tasks.Compile.ScenicDriverLocal.run/1323324     warning: comparison between distinct types found:325326         Mix.Tasks.Compile.ScenicDriverLocal.target() != :host327328     given types:329330         dynamic(:x86_64) != :host331332     While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false333334     type warning found at:335     │336 281 │     if Mix.Tasks.Compile.ScenicDriverLocal.target() != :host do337     │                                                     ~338     │339     └─ lib/driver.ex:281:53: Scenic.Driver.Local.init/2340341Generated scenic_driver_local app342SCENIC_LOCAL_TARGET: cairo-fb343mkdir -p /work/proj/_build/x86_64/lib/scenic_driver_local/priv344/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging `pkg-config --static --cflags freetype2 cairo` -std=gnu99 -Ic_src -Ic_src/device -Ic_src/font -Ic_src/image -Ic_src/scenic -Ic_src/tommyds/src -o /work/proj/_build/x86_64/lib/scenic_driver_local/priv/scenic_driver_local c_src/device/cairo/cairo_common.c c_src/device/cairo/cairo_font_ops.c c_src/device/cairo/cairo_image_ops.c c_src/device/cairo/cairo_script_ops.c c_src/device/cairo/cairo_fb.c c_src/font/font.c c_src/image/image.c c_src/tommyds/src/tommyhashlin.c c_src/tommyds/src/tommyhash.c c_src/scenic/comms.c c_src/scenic/scenic_ops.c c_src/scenic/script_ops.c c_src/scenic/script.c c_src/scenic/unix_comms.c c_src/scenic/utils.c c_src/main.c --sysroot=/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging `pkg-config --static --libs freetype2 cairo` -lm345Package freetype2 was not found in the pkg-config search path.346Perhaps you should add the directory containing `freetype2.pc'347to the PKG_CONFIG_PATH environment variable348Package 'freetype2', required by 'virtual:world', not found349Package 'cairo', required by 'virtual:world', not found350Package freetype2 was not found in the pkg-config search path.351Perhaps you should add the directory containing `freetype2.pc'352to the PKG_CONFIG_PATH environment variable353Package 'freetype2', required by 'virtual:world', not found354Package 'cairo', required by 'virtual:world', not found355In file included from c_src/device/cairo/cairo_common.c:1:356c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory357    3 | #include <cairo.h>358      |          ^~~~~~~~~359compilation terminated.360In file included from c_src/device/cairo/cairo_font_ops.c:1:361c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory362    3 | #include <cairo.h>363      |          ^~~~~~~~~364compilation terminated.365c_src/device/cairo/cairo_image_ops.c:2:10: fatal error: cairo.h: No such file or directory366    2 | #include <cairo.h>367      |          ^~~~~~~~~368compilation terminated.369c_src/device/cairo/cairo_script_ops.c:1:10: fatal error: cairo.h: No such file or directory370    1 | #include <cairo.h>371      |          ^~~~~~~~~372compilation terminated.373c_src/device/cairo/cairo_fb.c:1:10: fatal error: cairo.h: No such file or directory374    1 | #include <cairo.h>375      |          ^~~~~~~~~376compilation terminated.377In file included from c_src/tommyds/src/tommyhash.h:35,378                 from c_src/tommyds/src/tommyhashlin.h:143,379                 from c_src/tommyds/src/tommyhashlin.c:28:380c_src/tommyds/src/tommyhashlin.c: In function 'tommy_hashlin_done':381c_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]382  102 | #define tommy_free free383c_src/tommyds/src/tommyhashlin.c:82:17: note: in expansion of macro 'tommy_free'384   82 |                 tommy_free(&segment[((tommy_ptrdiff_t)1) << i]);385      |                 ^~~~~~~~~~386make: *** [Makefile:186: /work/proj/_build/x86_64/lib/scenic_driver_local/priv/scenic_driver_local] Error 1387could 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"388==> nerves_compatibility_test389** (Mix) Could not compile with "make" (exit status: 2).390You need to have gcc and make installed. If you are using391Ubuntu or any other Debian-based system, install the packages392"build-essential". Also install "erlang-dev" package if not393included in your Erlang/OTP version. If you're on Fedora, run394"dnf group install 'Development Tools'".395