scenic_driver_local

Build log

nerves_system_trellis

scenic_driver_local 0.12.0-rc.0 · fail · run scenic_driver_local-0.12.0-rc.0-1794803544911
496 of 496 lines
1Resolving Hex dependencies...2Resolution completed in 0.047s3* 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)41Generated tablet app42==> nerves_discovery43Compiling 5 files (.ex)44Generated nerves_discovery app45==> interactive_cmd46Compiling 1 file (.ex)47Generated interactive_cmd app48==> nerves49Compiling 65 files (.ex)50Generated nerves app51==> nerves_system_br52Generated nerves_system_br app53==> circular_buffer54Compiling 1 file (.ex)55Generated circular_buffer app56==> nimble_options57Compiling 3 files (.ex)58Generated nimble_options app59==> logger_backends60Compiling 7 files (.ex)61Generated logger_backends app62warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"63  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/264  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/165  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/566  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/267  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/468  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/26970==> elixir_make71Compiling 8 files (.ex)72    warning: unused require Logger73    │74  4 │   require Logger75    │   ~76    │77    └─ lib/elixir_make/artefact.ex:4:37879    warning: unused require Logger80    │81  6 │   require Logger82    │   ~83    │84    └─ lib/elixir_make/precompiler.ex:6:38586    warning: unused require Logger87    │88 16 │   require Logger89    │   ~90    │91    └─ lib/mix/tasks/elixir_make.precompile.ex:16:39293Generated elixir_make app94==> nerves_logging95 CC kmsg_tailer.o96 LD kmsg_tailer97Compiling 5 files (.ex)98Generated nerves_logging app99==> ring_logger100Compiling 7 files (.ex)101Generated ring_logger app102==> nerves_toolchain_armv7_nerves_linux_gnueabihf103Compiling 1 file (.ex)104Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app105==> nerves_system_trellis106Generated nerves_system_trellis app107==> input_event108 CC input_event.o109 LD input_event110Compiling 5 files (.ex)111Generated input_event app112==> font_metrics113Compiling 2 files (.ex)114Generated font_metrics app115==> truetype_metrics116Compiling 1 file (.ex)117     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator118     │119 334 │         <<_::binary-size(offset), cmap::binary>> = cmap_data120     │                          ~121     │122     └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/1123124     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 operator125     │126 446 │     <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table127     │                      ~128     │129     └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/2130131     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator132     │133 678 │           _::binary-size(offset),134     │                          ~135     │136     └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/3137138     warning: the variable "table_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator139     │140 679 │           table_data::binary-size(table_size),141     │                                   ~142     │143     └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3144145     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator146     │147 700 │       _::binary-size(offset),148     │                      ~149     │150     └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2151152     warning: the variable "table_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator153     │154 701 │       table_data::binary-size(table_size),155     │                               ~156     │157     └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2158159Generated truetype_metrics app160==> uboot_env161Compiling 5 files (.ex)162Generated uboot_env app163==> ex_image_info164Compiling 12 files (.ex)165    warning: the variable "block_len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator166    │167 41 │       <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->168    │                       ~169    │170    └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2171172    warning: the variable "idf_off_pos" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator173    │174 56 │       <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),175    │                            ~176    │177    └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4178179    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 operator180    │181 57 │         buff_idf::bytes-size(buff_size), _::binary>> ->182    │                              ~183    │184    └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4185186    warning: unused require Bitwise187    │188  7 │   require Bitwise189    │   ~190    │191    └─ lib/ex_image_info/types/tiff.ex:7:3192193    warning: unused require Bitwise194    │195  6 │   require Bitwise196    │   ~197    │198    └─ lib/ex_image_info/types/webp.ex:6:3199200    warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)201    │202 49 │   defp parse_jpeg_block(_, _), do: nil203    │        ~204    │205    └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2206207Generated ex_image_info app208==> scenic209 CC line.o210 CC matrix.o211 CC bitmap.o212 LD line.so213 LD matrix.so214 LD bitmap.so215Compiling 84 files (.ex)216     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 operator217     │218 190 │     <<_::binary-size(skip), g::8, _::binary>> = p219     │                      ~220     │221     └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4222223     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 operator224     │225 198 │     <<_::binary-size(skip), g::8, a::8, _::binary>> = p226     │                      ~227     │228     └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4229230     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 operator231     │232 206 │     <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p233     │                      ~234     │235     └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4236237     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 operator238     │239 214 │     <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p240     │                      ~241     │242     └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4243244     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 operator245     │246 490 │       _::binary-size(skip_size),247     │                      ~248     │249     └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3250251     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 operator252     │253 521 │       pre::binary-size(skip_size),254     │                        ~255     │256     └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4257258      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 operator259      │260 2859 │       str::binary-size(bytes),261      │                        ~262      │263      └─ lib/scenic/script.ex:2859:24: Scenic.Script.extract_string/2264265      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 operator266      │267 2860 │       _buff::binary-size(buff_size),268      │                          ~269      │270      └─ lib/scenic/script.ex:2860:26: Scenic.Script.extract_string/2271272     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)273     │274 290 │   defp do_special_theme_outline(graph, :dark, border) do275     │        ~276     │277     └─ lib/scenic/component/button.ex:290:8: Scenic.Component.Button.do_special_theme_outline/3278279     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)280     │281 294 │   defp do_special_theme_outline(graph, :light, border) do282     │        ~283     │284     └─ lib/scenic/component/button.ex:294:8: Scenic.Component.Button.do_special_theme_outline/3285286     warning: the following clause cannot match because the previous clauses already matched all possible values:287288         err ->289290     it attempts to match on the result of:291292         child(scene, id)293294     which has the already matched type:295296         dynamic({:ok, term()})297298     where "err" was given the type:299300         # type: dynamic({:ok, term()})301         # from: lib/scenic/scene.ex:495:7302         err303304     type warning found at:305     │306 495 │       err -> err307     │           ~308     │309     └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2310311     warning: the following clause cannot match because the previous clauses already matched all possible values:312313         err ->314315     it attempts to match on the result of:316317         child(scene, id)318319     which has the already matched type:320321         dynamic({:ok, term()})322323     where "err" was given the type:324325         # type: dynamic({:ok, term()})326         # from: lib/scenic/scene.ex:523:7327         err328329     type warning found at:330     │331 523 │       err ->332     │           ~333     │334     └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3335336     warning: the following clause cannot match because the previous clauses already matched all possible values:337338         err ->339340     it attempts to match on the result of:341342         child(scene, id)343344     which has the already matched type:345346         dynamic({:ok, term()})347348     where "err" was given the type:349350         # type: dynamic({:ok, term()})351         # from: lib/scenic/scene.ex:559:7352         err353354     type warning found at:355     │356 559 │       err ->357     │           ~358     │359     └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2360361      warning: the following clause will never match:362363          _ ->364365      it is expected to match on type:366367          none()368369      type warning found at:370      │371 1249 │         _ -> state372      │         ~373      │374      └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3375376     warning: the following clause will never match:377378         err ->379380     it is expected to match on type:381382         none()383384     type warning found at:385     │386 392 │       err -> err387     │       ~388     │389     └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4390391Generated scenic app392warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"393  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2394  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1395  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5396  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2397  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4398  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2399400==> scenic_driver_local401Compiling 8 files (.ex)402    warning: unused require Logger403    │404 28 │   require Logger405    │   ~406    │407    └─ lib/cursor.ex:28:3408409    warning: the following clause will never match:410411        n when n === :dev or n === :host ->412413    because it attempts to match on the result of:414415        target()416417    which has type:418419        dynamic(:trellis)420421    where "n" was given the type:422423        # type: :dev or :host424        # from: lib/mix/tasks/compile.local.ex:23425        n in [:dev, :host]426427    type warning found at:428    │429 23 │         n when n in [:dev, :host] ->430    │         ~431    │432    └─ lib/mix/tasks/compile.local.ex:23:9: Mix.Tasks.Compile.ScenicDriverLocal.run/1433434     warning: comparison between distinct types found:435436         Mix.Tasks.Compile.ScenicDriverLocal.target() != :host437438     given types:439440         dynamic(:trellis) != :host441442     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 false443444     type warning found at:445     │446 281 │     if Mix.Tasks.Compile.ScenicDriverLocal.target() != :host do447     │                                                     ~448     │449     └─ lib/driver.ex:281:53: Scenic.Driver.Local.init/2450451Generated scenic_driver_local app452SCENIC_LOCAL_TARGET: cairo-fb453mkdir -p /work/proj/_build/trellis/lib/scenic_driver_local/priv454/work/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 /work/nerves/artifacts/nerves_system_trellis-0.6.3/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/trellis/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_trellis-0.6.3/staging `pkg-config --static --libs freetype2 cairo` -lm455Package freetype2 was not found in the pkg-config search path.456Perhaps you should add the directory containing `freetype2.pc'457to the PKG_CONFIG_PATH environment variable458Package 'freetype2', required by 'virtual:world', not found459Package 'cairo', required by 'virtual:world', not found460Package freetype2 was not found in the pkg-config search path.461Perhaps you should add the directory containing `freetype2.pc'462to the PKG_CONFIG_PATH environment variable463Package 'freetype2', required by 'virtual:world', not found464Package 'cairo', required by 'virtual:world', not found465In file included from c_src/device/cairo/cairo_common.c:1:466c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory467    3 | #include <cairo.h>468      |          ^~~~~~~~~469compilation terminated.470In file included from c_src/device/cairo/cairo_font_ops.c:1:471c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory472    3 | #include <cairo.h>473      |          ^~~~~~~~~474compilation terminated.475c_src/device/cairo/cairo_image_ops.c:2:10: fatal error: cairo.h: No such file or directory476    2 | #include <cairo.h>477      |          ^~~~~~~~~478compilation terminated.479c_src/device/cairo/cairo_script_ops.c:1:10: fatal error: cairo.h: No such file or directory480    1 | #include <cairo.h>481      |          ^~~~~~~~~482compilation terminated.483c_src/device/cairo/cairo_fb.c:1:10: fatal error: cairo.h: No such file or directory484    1 | #include <cairo.h>485      |          ^~~~~~~~~486compilation terminated.487make: *** [Makefile:186: /work/proj/_build/trellis/lib/scenic_driver_local/priv/scenic_driver_local] Error 1488could 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"489==> nerves_compatibility_test490** (Mix) Could not compile with "make" (exit status: 2).491You need to have gcc and make installed. If you are using492Ubuntu or any other Debian-based system, install the packages493"build-essential". Also install "erlang-dev" package if not494included in your Erlang/OTP version. If you're on Fedora, run495"dnf group install 'Development Tools'".496