Build log
nerves_system_qemu_aarch64
scenic_driver_local 0.12.0-rc.0 · fail · run scenic_driver_local-0.12.0-rc.0-1794803544911
506 of 506 lines
1Resolving Hex dependencies...2Resolution completed in 0.07s3* 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_aarch64_nerves_linux_gnu103Compiling 1 file (.ex)104Generated nerves_toolchain_aarch64_nerves_linux_gnu app105==> nerves_system_qemu_aarch64106Compiling 1 file (.ex)107Generated nerves_system_qemu_aarch64 app108==> input_event109 CC input_event.o110 LD input_event111Compiling 5 files (.ex)112Generated input_event app113==> font_metrics114Compiling 2 files (.ex)115Generated font_metrics app116==> truetype_metrics117Compiling 1 file (.ex)118 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 operator119 │120 334 │ <<_::binary-size(offset), cmap::binary>> = cmap_data121 │ ~122 │123 └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/1124125 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 operator126 │127 446 │ <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table128 │ ~129 │130 └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/2131132 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 operator133 │134 678 │ _::binary-size(offset),135 │ ~136 │137 └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/3138139 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 operator140 │141 679 │ table_data::binary-size(table_size),142 │ ~143 │144 └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3145146 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 operator147 │148 700 │ _::binary-size(offset),149 │ ~150 │151 └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2152153 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 operator154 │155 701 │ table_data::binary-size(table_size),156 │ ~157 │158 └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2159160Generated truetype_metrics app161==> uboot_env162Compiling 5 files (.ex)163Generated uboot_env app164==> ex_image_info165Compiling 12 files (.ex)166 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 operator167 │168 41 │ <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->169 │ ~170 │171 └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2172173 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 operator174 │175 56 │ <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),176 │ ~177 │178 └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4179180 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 operator181 │182 57 │ buff_idf::bytes-size(buff_size), _::binary>> ->183 │ ~184 │185 └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4186187 warning: unused require Bitwise188 │189 7 │ require Bitwise190 │ ~191 │192 └─ lib/ex_image_info/types/tiff.ex:7:3193194 warning: unused require Bitwise195 │196 6 │ require Bitwise197 │ ~198 │199 └─ lib/ex_image_info/types/webp.ex:6:3200201 warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)202 │203 49 │ defp parse_jpeg_block(_, _), do: nil204 │ ~205 │206 └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2207208Generated ex_image_info app209==> scenic210 CC line.o211 CC matrix.o212 CC bitmap.o213 LD line.so214 LD matrix.so215 LD bitmap.so216Compiling 84 files (.ex)217 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 operator218 │219 190 │ <<_::binary-size(skip), g::8, _::binary>> = p220 │ ~221 │222 └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4223224 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 operator225 │226 198 │ <<_::binary-size(skip), g::8, a::8, _::binary>> = p227 │ ~228 │229 └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4230231 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 operator232 │233 206 │ <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p234 │ ~235 │236 └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4237238 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 operator239 │240 214 │ <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p241 │ ~242 │243 └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4244245 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 operator246 │247 490 │ _::binary-size(skip_size),248 │ ~249 │250 └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3251252 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 operator253 │254 521 │ pre::binary-size(skip_size),255 │ ~256 │257 └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4258259 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 operator260 │261 2859 │ str::binary-size(bytes),262 │ ~263 │264 └─ lib/scenic/script.ex:2859:24: Scenic.Script.extract_string/2265266 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 operator267 │268 2860 │ _buff::binary-size(buff_size),269 │ ~270 │271 └─ lib/scenic/script.ex:2860:26: Scenic.Script.extract_string/2272273 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)274 │275 290 │ defp do_special_theme_outline(graph, :dark, border) do276 │ ~277 │278 └─ lib/scenic/component/button.ex:290:8: Scenic.Component.Button.do_special_theme_outline/3279280 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)281 │282 294 │ defp do_special_theme_outline(graph, :light, border) do283 │ ~284 │285 └─ lib/scenic/component/button.ex:294:8: Scenic.Component.Button.do_special_theme_outline/3286287 warning: the following clause cannot match because the previous clauses already matched all possible values:288289 err ->290291 it attempts to match on the result of:292293 child(scene, id)294295 which has the already matched type:296297 dynamic({:ok, term()})298299 where "err" was given the type:300301 # type: dynamic({:ok, term()})302 # from: lib/scenic/scene.ex:495:7303 err304305 type warning found at:306 │307 495 │ err -> err308 │ ~309 │310 └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2311312 warning: the following clause cannot match because the previous clauses already matched all possible values:313314 err ->315316 it attempts to match on the result of:317318 child(scene, id)319320 which has the already matched type:321322 dynamic({:ok, term()})323324 where "err" was given the type:325326 # type: dynamic({:ok, term()})327 # from: lib/scenic/scene.ex:523:7328 err329330 type warning found at:331 │332 523 │ err ->333 │ ~334 │335 └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3336337 warning: the following clause cannot match because the previous clauses already matched all possible values:338339 err ->340341 it attempts to match on the result of:342343 child(scene, id)344345 which has the already matched type:346347 dynamic({:ok, term()})348349 where "err" was given the type:350351 # type: dynamic({:ok, term()})352 # from: lib/scenic/scene.ex:559:7353 err354355 type warning found at:356 │357 559 │ err ->358 │ ~359 │360 └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2361362 warning: the following clause will never match:363364 _ ->365366 it is expected to match on type:367368 none()369370 type warning found at:371 │372 1249 │ _ -> state373 │ ~374 │375 └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3376377 warning: the following clause will never match:378379 err ->380381 it is expected to match on type:382383 none()384385 type warning found at:386 │387 392 │ err -> err388 │ ~389 │390 └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4391392Generated scenic app393warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"394 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2395 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1396 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5397 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2398 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4399 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2400401==> scenic_driver_local402Compiling 8 files (.ex)403 warning: unused require Logger404 │405 28 │ require Logger406 │ ~407 │408 └─ lib/cursor.ex:28:3409410 warning: the following clause will never match:411412 n when n === :dev or n === :host ->413414 because it attempts to match on the result of:415416 target()417418 which has type:419420 dynamic(:qemu_aarch64)421422 where "n" was given the type:423424 # type: :dev or :host425 # from: lib/mix/tasks/compile.local.ex:23426 n in [:dev, :host]427428 type warning found at:429 │430 23 │ n when n in [:dev, :host] ->431 │ ~432 │433 └─ lib/mix/tasks/compile.local.ex:23:9: Mix.Tasks.Compile.ScenicDriverLocal.run/1434435 warning: comparison between distinct types found:436437 Mix.Tasks.Compile.ScenicDriverLocal.target() != :host438439 given types:440441 dynamic(:qemu_aarch64) != :host442443 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 false444445 type warning found at:446 │447 281 │ if Mix.Tasks.Compile.ScenicDriverLocal.target() != :host do448 │ ~449 │450 └─ lib/driver.ex:281:53: Scenic.Driver.Local.init/2451452Generated scenic_driver_local app453SCENIC_LOCAL_TARGET: cairo-fb454mkdir -p /work/proj/_build/qemu_aarch64/lib/scenic_driver_local/priv455/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_qemu_aarch64-0.5.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/qemu_aarch64/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_qemu_aarch64-0.5.2/staging `pkg-config --static --libs freetype2 cairo` -lm456Package freetype2 was not found in the pkg-config search path.457Perhaps you should add the directory containing `freetype2.pc'458to the PKG_CONFIG_PATH environment variable459Package 'freetype2', required by 'virtual:world', not found460Package 'cairo', required by 'virtual:world', not found461Package freetype2 was not found in the pkg-config search path.462Perhaps you should add the directory containing `freetype2.pc'463to the PKG_CONFIG_PATH environment variable464Package 'freetype2', required by 'virtual:world', not found465Package 'cairo', required by 'virtual:world', not found466In file included from c_src/device/cairo/cairo_common.c:1:467c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory468 3 | #include <cairo.h>469 | ^~~~~~~~~470compilation terminated.471In file included from c_src/device/cairo/cairo_font_ops.c:1:472c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory473 3 | #include <cairo.h>474 | ^~~~~~~~~475compilation terminated.476c_src/device/cairo/cairo_image_ops.c:2:10: fatal error: cairo.h: No such file or directory477 2 | #include <cairo.h>478 | ^~~~~~~~~479compilation terminated.480c_src/device/cairo/cairo_script_ops.c:1:10: fatal error: cairo.h: No such file or directory481 1 | #include <cairo.h>482 | ^~~~~~~~~483compilation terminated.484c_src/device/cairo/cairo_fb.c:1:10: fatal error: cairo.h: No such file or directory485 1 | #include <cairo.h>486 | ^~~~~~~~~487compilation terminated.488In file included from c_src/tommyds/src/tommyhash.h:35,489 from c_src/tommyds/src/tommyhashlin.h:143,490 from c_src/tommyds/src/tommyhashlin.c:28:491c_src/tommyds/src/tommyhashlin.c: In function 'tommy_hashlin_done':492c_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]493 102 | #define tommy_free free494c_src/tommyds/src/tommyhashlin.c:82:17: note: in expansion of macro 'tommy_free'495 82 | tommy_free(&segment[((tommy_ptrdiff_t)1) << i]);496 | ^~~~~~~~~~497make: *** [Makefile:186: /work/proj/_build/qemu_aarch64/lib/scenic_driver_local/priv/scenic_driver_local] Error 1498could 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"499==> nerves_compatibility_test500** (Mix) Could not compile with "make" (exit status: 2).501You need to have gcc and make installed. If you are using502Ubuntu or any other Debian-based system, install the packages503"build-essential". Also install "erlang-dev" package if not504included in your Erlang/OTP version. If you're on Fedora, run505"dnf group install 'Development Tools'".506