scenic_driver_local

Build log

nerves_system_bbb

scenic_driver_local 0.12.0-rc.0 · fail · run scenic_driver_local-0.12.0-rc.0-1794803544911
494 of 494 lines
1Resolving Hex dependencies...2Resolution completed in 0.05s3* 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==> input_event106 CC input_event.o107 LD input_event108Compiling 5 files (.ex)109Generated input_event app110==> font_metrics111Compiling 2 files (.ex)112Generated font_metrics app113==> truetype_metrics114Compiling 1 file (.ex)115     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 operator116     │117 334 │         <<_::binary-size(offset), cmap::binary>> = cmap_data118     │                          ~119     │120     └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/1121122     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 operator123     │124 446 │     <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table125     │                      ~126     │127     └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/2128129     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 operator130     │131 678 │           _::binary-size(offset),132     │                          ~133     │134     └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/3135136     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 operator137     │138 679 │           table_data::binary-size(table_size),139     │                                   ~140     │141     └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3142143     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 operator144     │145 700 │       _::binary-size(offset),146     │                      ~147     │148     └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2149150     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 operator151     │152 701 │       table_data::binary-size(table_size),153     │                               ~154     │155     └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2156157Generated truetype_metrics app158==> uboot_env159Compiling 5 files (.ex)160Generated uboot_env app161==> ex_image_info162Compiling 12 files (.ex)163    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 operator164    │165 41 │       <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->166    │                       ~167    │168    └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2169170    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 operator171    │172 56 │       <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),173    │                            ~174    │175    └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4176177    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 operator178    │179 57 │         buff_idf::bytes-size(buff_size), _::binary>> ->180    │                              ~181    │182    └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4183184    warning: unused require Bitwise185    │186  6 │   require Bitwise187    │   ~188    │189    └─ lib/ex_image_info/types/webp.ex:6:3190191    warning: unused require Bitwise192    │193  7 │   require Bitwise194    │   ~195    │196    └─ lib/ex_image_info/types/tiff.ex:7:3197198    warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)199    │200 49 │   defp parse_jpeg_block(_, _), do: nil201    │        ~202    │203    └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2204205Generated ex_image_info app206==> scenic207 CC line.o208 CC matrix.o209 CC bitmap.o210 LD line.so211 LD matrix.so212 LD bitmap.so213Compiling 84 files (.ex)214     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 operator215     │216 190 │     <<_::binary-size(skip), g::8, _::binary>> = p217     │                      ~218     │219     └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4220221     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 operator222     │223 198 │     <<_::binary-size(skip), g::8, a::8, _::binary>> = p224     │                      ~225     │226     └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4227228     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 operator229     │230 206 │     <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p231     │                      ~232     │233     └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4234235     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 operator236     │237 214 │     <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p238     │                      ~239     │240     └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4241242     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 operator243     │244 490 │       _::binary-size(skip_size),245     │                      ~246     │247     └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3248249     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 operator250     │251 521 │       pre::binary-size(skip_size),252     │                        ~253     │254     └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4255256      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 operator257      │258 2859 │       str::binary-size(bytes),259      │                        ~260      │261      └─ lib/scenic/script.ex:2859:24: Scenic.Script.extract_string/2262263      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 operator264      │265 2860 │       _buff::binary-size(buff_size),266      │                          ~267      │268      └─ lib/scenic/script.ex:2860:26: Scenic.Script.extract_string/2269270     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)271     │272 290 │   defp do_special_theme_outline(graph, :dark, border) do273     │        ~274     │275     └─ lib/scenic/component/button.ex:290:8: Scenic.Component.Button.do_special_theme_outline/3276277     warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)278     │279 294 │   defp do_special_theme_outline(graph, :light, border) do280     │        ~281     │282     └─ lib/scenic/component/button.ex:294:8: Scenic.Component.Button.do_special_theme_outline/3283284     warning: the following clause cannot match because the previous clauses already matched all possible values:285286         err ->287288     it attempts to match on the result of:289290         child(scene, id)291292     which has the already matched type:293294         dynamic({:ok, term()})295296     where "err" was given the type:297298         # type: dynamic({:ok, term()})299         # from: lib/scenic/scene.ex:495:7300         err301302     type warning found at:303     │304 495 │       err -> err305     │           ~306     │307     └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2308309     warning: the following clause cannot match because the previous clauses already matched all possible values:310311         err ->312313     it attempts to match on the result of:314315         child(scene, id)316317     which has the already matched type:318319         dynamic({:ok, term()})320321     where "err" was given the type:322323         # type: dynamic({:ok, term()})324         # from: lib/scenic/scene.ex:523:7325         err326327     type warning found at:328     │329 523 │       err ->330     │           ~331     │332     └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3333334     warning: the following clause cannot match because the previous clauses already matched all possible values:335336         err ->337338     it attempts to match on the result of:339340         child(scene, id)341342     which has the already matched type:343344         dynamic({:ok, term()})345346     where "err" was given the type:347348         # type: dynamic({:ok, term()})349         # from: lib/scenic/scene.ex:559:7350         err351352     type warning found at:353     │354 559 │       err ->355     │           ~356     │357     └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2358359      warning: the following clause will never match:360361          _ ->362363      it is expected to match on type:364365          none()366367      type warning found at:368      │369 1249 │         _ -> state370      │         ~371      │372      └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3373374     warning: the following clause will never match:375376         err ->377378     it is expected to match on type:379380         none()381382     type warning found at:383     │384 392 │       err -> err385     │       ~386     │387     └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4388389Generated scenic app390warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"391  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2392  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1393  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5394  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2395  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4396  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2397398==> scenic_driver_local399Compiling 8 files (.ex)400    warning: unused require Logger401    │402 28 │   require Logger403    │   ~404    │405    └─ lib/cursor.ex:28:3406407    warning: the following clause will never match:408409        n when n === :dev or n === :host ->410411    because it attempts to match on the result of:412413        target()414415    which has type:416417        dynamic(:bbb)418419    where "n" was given the type:420421        # type: :dev or :host422        # from: lib/mix/tasks/compile.local.ex:23423        n in [:dev, :host]424425    type warning found at:426    │427 23 │         n when n in [:dev, :host] ->428    │         ~429    │430    └─ lib/mix/tasks/compile.local.ex:23:9: Mix.Tasks.Compile.ScenicDriverLocal.run/1431432     warning: comparison between distinct types found:433434         Mix.Tasks.Compile.ScenicDriverLocal.target() != :host435436     given types:437438         dynamic(:bbb) != :host439440     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 false441442     type warning found at:443     │444 281 │     if Mix.Tasks.Compile.ScenicDriverLocal.target() != :host do445     │                                                     ~446     │447     └─ lib/driver.ex:281:53: Scenic.Driver.Local.init/2448449Generated scenic_driver_local app450SCENIC_LOCAL_TARGET: cairo-fb451mkdir -p /work/proj/_build/bbb/lib/scenic_driver_local/priv452/work/nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=vfpv3 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a8 -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_bbb-2.31.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/bbb/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_bbb-2.31.2/staging `pkg-config --static --libs freetype2 cairo` -lm453Package freetype2 was not found in the pkg-config search path.454Perhaps you should add the directory containing `freetype2.pc'455to the PKG_CONFIG_PATH environment variable456Package 'freetype2', required by 'virtual:world', not found457Package 'cairo', required by 'virtual:world', not found458Package freetype2 was not found in the pkg-config search path.459Perhaps you should add the directory containing `freetype2.pc'460to the PKG_CONFIG_PATH environment variable461Package 'freetype2', required by 'virtual:world', not found462Package 'cairo', required by 'virtual:world', not found463In file included from c_src/device/cairo/cairo_common.c:1:464c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory465    3 | #include <cairo.h>466      |          ^~~~~~~~~467compilation terminated.468In file included from c_src/device/cairo/cairo_font_ops.c:1:469c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory470    3 | #include <cairo.h>471      |          ^~~~~~~~~472compilation terminated.473c_src/device/cairo/cairo_image_ops.c:2:10: fatal error: cairo.h: No such file or directory474    2 | #include <cairo.h>475      |          ^~~~~~~~~476compilation terminated.477c_src/device/cairo/cairo_script_ops.c:1:10: fatal error: cairo.h: No such file or directory478    1 | #include <cairo.h>479      |          ^~~~~~~~~480compilation terminated.481c_src/device/cairo/cairo_fb.c:1:10: fatal error: cairo.h: No such file or directory482    1 | #include <cairo.h>483      |          ^~~~~~~~~484compilation terminated.485make: *** [Makefile:186: /work/proj/_build/bbb/lib/scenic_driver_local/priv/scenic_driver_local] Error 1486could 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"487==> nerves_compatibility_test488** (Mix) Could not compile with "make" (exit status: 2).489You need to have gcc and make installed. If you are using490Ubuntu or any other Debian-based system, install the packages491"build-essential". Also install "erlang-dev" package if not492included in your Erlang/OTP version. If you're on Fedora, run493"dnf group install 'Development Tools'".494