Build log
host
scenic_driver_local 0.12.0-rc.0 · fail · run scenic_driver_local-0.12.0-rc.0-1794803544911
447 of 447 lines
1Resolving Hex dependencies...2Resolution completed in 0.067s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> circular_buffer17Compiling 1 file (.ex)18Generated circular_buffer app19==> nimble_options20Compiling 3 files (.ex)21Generated nimble_options app22==> logger_backends23Compiling 7 files (.ex)24Generated logger_backends app25warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"26 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/227 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/128 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/529 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/230 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/431 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/23233==> elixir_make34Compiling 8 files (.ex)35 warning: unused require Logger36 │37 4 │ require Logger38 │ ~39 │40 └─ lib/elixir_make/artefact.ex:4:34142 warning: unused require Logger43 │44 6 │ require Logger45 │ ~46 │47 └─ lib/elixir_make/precompiler.ex:6:34849 warning: unused require Logger50 │51 16 │ require Logger52 │ ~53 │54 └─ lib/mix/tasks/elixir_make.precompile.ex:16:35556Generated elixir_make app57==> nerves_logging58 CC kmsg_tailer.o59 LD kmsg_tailer60Not crosscompiling. To test locally, the port binary needs extra permissions.61Set SUDO=sudo to set permissions. The default is to skip this step.62SUDO_ASKPASS=/usr/bin/ssh-askpass63SUDO=true64Compiling 5 files (.ex)65Generated nerves_logging app66==> ring_logger67Compiling 7 files (.ex)68Generated ring_logger app69==> input_event70 CC input_event.o71 LD input_event72Compiling 5 files (.ex)73Generated input_event app74==> font_metrics75Compiling 2 files (.ex)76Generated font_metrics app77==> truetype_metrics78Compiling 1 file (.ex)79 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 operator80 │81 334 │ <<_::binary-size(offset), cmap::binary>> = cmap_data82 │ ~83 │84 └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/18586 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 operator87 │88 446 │ <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table89 │ ~90 │91 └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/29293 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 operator94 │95 678 │ _::binary-size(offset),96 │ ~97 │98 └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/399100 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 operator101 │102 679 │ table_data::binary-size(table_size),103 │ ~104 │105 └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3106107 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 operator108 │109 700 │ _::binary-size(offset),110 │ ~111 │112 └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2113114 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 operator115 │116 701 │ table_data::binary-size(table_size),117 │ ~118 │119 └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2120121Generated truetype_metrics app122==> uboot_env123Compiling 5 files (.ex)124Generated uboot_env app125==> ex_image_info126Compiling 12 files (.ex)127 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 operator128 │129 41 │ <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->130 │ ~131 │132 └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2133134 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 operator135 │136 56 │ <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),137 │ ~138 │139 └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4140141 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 operator142 │143 57 │ buff_idf::bytes-size(buff_size), _::binary>> ->144 │ ~145 │146 └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4147148 warning: unused require Bitwise149 │150 7 │ require Bitwise151 │ ~152 │153 └─ lib/ex_image_info/types/tiff.ex:7:3154155 warning: unused require Bitwise156 │157 6 │ require Bitwise158 │ ~159 │160 └─ lib/ex_image_info/types/webp.ex:6:3161162 warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)163 │164 49 │ defp parse_jpeg_block(_, _), do: nil165 │ ~166 │167 └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2168169Generated ex_image_info app170==> scenic171 CC line.o172 CC matrix.o173 CC bitmap.o174 LD line.so175 LD matrix.so176 LD bitmap.so177Compiling 84 files (.ex)178 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 operator179 │180 190 │ <<_::binary-size(skip), g::8, _::binary>> = p181 │ ~182 │183 └─ lib/scenic/assets/stream/bitmap.ex:190:22: Scenic.Assets.Stream.Bitmap.do_get/4184185 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 operator186 │187 198 │ <<_::binary-size(skip), g::8, a::8, _::binary>> = p188 │ ~189 │190 └─ lib/scenic/assets/stream/bitmap.ex:198:22: Scenic.Assets.Stream.Bitmap.do_get/4191192 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 operator193 │194 206 │ <<_::binary-size(skip), r::8, g::8, b::8, _::binary>> = p195 │ ~196 │197 └─ lib/scenic/assets/stream/bitmap.ex:206:22: Scenic.Assets.Stream.Bitmap.do_get/4198199 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 operator200 │201 214 │ <<_::binary-size(skip), r::8, g::8, b::8, a::8, _::binary>> = p202 │ ~203 │204 └─ lib/scenic/assets/stream/bitmap.ex:214:22: Scenic.Assets.Stream.Bitmap.do_get/4205206 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 operator207 │208 490 │ _::binary-size(skip_size),209 │ ~210 │211 └─ lib/scenic/math/matrix.ex:490:22: Scenic.Math.Matrix.get/3212213 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 operator214 │215 521 │ pre::binary-size(skip_size),216 │ ~217 │218 └─ lib/scenic/math/matrix.ex:521:24: Scenic.Math.Matrix.put/4219220 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 operator221 │222 2859 │ str::binary-size(bytes),223 │ ~224 │225 └─ lib/scenic/script.ex:2859:24: Scenic.Script.extract_string/2226227 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 operator228 │229 2860 │ _buff::binary-size(buff_size),230 │ ~231 │232 └─ lib/scenic/script.ex:2860:26: Scenic.Script.extract_string/2233234 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)235 │236 290 │ defp do_special_theme_outline(graph, :dark, border) do237 │ ~238 │239 └─ lib/scenic/component/button.ex:290:8: Scenic.Component.Button.do_special_theme_outline/3240241 warning: this clause of defp do_special_theme_outline/3 is never used (or it will always fail/warn when invoked)242 │243 294 │ defp do_special_theme_outline(graph, :light, border) do244 │ ~245 │246 └─ lib/scenic/component/button.ex:294:8: Scenic.Component.Button.do_special_theme_outline/3247248 warning: the following clause cannot match because the previous clauses already matched all possible values:249250 err ->251252 it attempts to match on the result of:253254 child(scene, id)255256 which has the already matched type:257258 dynamic({:ok, term()})259260 where "err" was given the type:261262 # type: dynamic({:ok, term()})263 # from: lib/scenic/scene.ex:495:7264 err265266 type warning found at:267 │268 495 │ err -> err269 │ ~270 │271 └─ lib/scenic/scene.ex:495:11: Scenic.Scene.get_child/2272273 warning: the following clause cannot match because the previous clauses already matched all possible values:274275 err ->276277 it attempts to match on the result of:278279 child(scene, id)280281 which has the already matched type:282283 dynamic({:ok, term()})284285 where "err" was given the type:286287 # type: dynamic({:ok, term()})288 # from: lib/scenic/scene.ex:523:7289 err290291 type warning found at:292 │293 523 │ err ->294 │ ~295 │296 └─ lib/scenic/scene.ex:523:11: Scenic.Scene.put_child/3297298 warning: the following clause cannot match because the previous clauses already matched all possible values:299300 err ->301302 it attempts to match on the result of:303304 child(scene, id)305306 which has the already matched type:307308 dynamic({:ok, term()})309310 where "err" was given the type:311312 # type: dynamic({:ok, term()})313 # from: lib/scenic/scene.ex:559:7314 err315316 type warning found at:317 │318 559 │ err ->319 │ ~320 │321 └─ lib/scenic/scene.ex:559:11: Scenic.Scene.fetch_child/2322323 warning: the following clause will never match:324325 _ ->326327 it is expected to match on type:328329 none()330331 type warning found at:332 │333 1249 │ _ -> state334 │ ~335 │336 └─ lib/scenic/view_port.ex:1249:9: Scenic.ViewPort.internal_put_graph/3337338 warning: the following clause will never match:339340 err ->341342 it is expected to match on type:343344 none()345346 type warning found at:347 │348 392 │ err -> err349 │ ~350 │351 └─ lib/scenic/view_port.ex:392:7: Scenic.ViewPort.put_graph/4352353Generated scenic app354warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"355 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2356 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1357 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5358 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2359 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4360 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2361362==> scenic_driver_local363Compiling 8 files (.ex)364 warning: unused require Logger365 │366 28 │ require Logger367 │ ~368 │369 └─ lib/cursor.ex:28:3370371 warning: the following clause cannot match because the previous clauses already matched all possible values:372373 _ ->374375 it attempts to match on the result of:376377 target()378379 which has the already matched type:380381 dynamic(:host)382383 type warning found at:384 │385 26 │ _ ->386 │ ~387 │388 └─ lib/mix/tasks/compile.local.ex:26:11: Mix.Tasks.Compile.ScenicDriverLocal.run/1389390Generated scenic_driver_local app391SCENIC_LOCAL_TARGET: cairo-gtk392mkdir -p /work/proj/_build/host/lib/scenic_driver_local/priv393cc -O3 -std=gnu99 `pkg-config --static --cflags freetype2 cairo gtk+-3.0` -Ic_src -Ic_src/device -Ic_src/font -Ic_src/image -Ic_src/scenic -Ic_src/tommyds/src -o /work/proj/_build/host/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_gtk.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 `pkg-config --static --libs freetype2 cairo gtk+-3.0` -lm394Package freetype2 was not found in the pkg-config search path.395Perhaps you should add the directory containing `freetype2.pc'396to the PKG_CONFIG_PATH environment variable397Package 'freetype2', required by 'virtual:world', not found398Package 'cairo', required by 'virtual:world', not found399Package 'gtk+-3.0', required by 'virtual:world', not found400Package freetype2 was not found in the pkg-config search path.401Perhaps you should add the directory containing `freetype2.pc'402to the PKG_CONFIG_PATH environment variable403Package 'freetype2', required by 'virtual:world', not found404Package 'cairo', required by 'virtual:world', not found405Package 'gtk+-3.0', required by 'virtual:world', not found406In file included from c_src/device/cairo/cairo_common.c:1:407c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory408 3 | #include <cairo.h>409 | ^~~~~~~~~410compilation terminated.411In file included from c_src/device/cairo/cairo_font_ops.c:1:412c_src/device/cairo/cairo_ctx.h:3:10: fatal error: cairo.h: No such file or directory413 3 | #include <cairo.h>414 | ^~~~~~~~~415compilation terminated.416c_src/device/cairo/cairo_image_ops.c:2:10: fatal error: cairo.h: No such file or directory417 2 | #include <cairo.h>418 | ^~~~~~~~~419compilation terminated.420c_src/device/cairo/cairo_script_ops.c:1:10: fatal error: cairo.h: No such file or directory421 1 | #include <cairo.h>422 | ^~~~~~~~~423compilation terminated.424c_src/device/cairo/cairo_gtk.c:1:10: fatal error: cairo.h: No such file or directory425 1 | #include <cairo.h>426 | ^~~~~~~~~427compilation terminated.428In file included from c_src/tommyds/src/tommyhash.h:35,429 from c_src/tommyds/src/tommyhashlin.h:143,430 from c_src/tommyds/src/tommyhashlin.c:28:431c_src/tommyds/src/tommyhashlin.c: In function âtommy_hashlin_doneâ:432c_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]433 102 | #define tommy_free free434c_src/tommyds/src/tommyhashlin.c:82:17: note: in expansion of macro âtommy_freeâ435 82 | tommy_free(&segment[((tommy_ptrdiff_t)1) << i]);436 | ^~~~~~~~~~437make: *** [Makefile:186: /work/proj/_build/host/lib/scenic_driver_local/priv/scenic_driver_local] Error 1438could 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"439==> nerves_compatibility_test440** (Mix) Could not compile with "make" (exit status: 2).441You need to have gcc and make installed. If you are using442Ubuntu or any other Debian-based system, install the packages443"build-essential". Also install "erlang-dev" package if not444included in your Erlang/OTP version. If you're on Fedora, run445"dnf group install 'Development Tools'".446447World nerves not published: same_closure_as_without