Build log
nerves_system_rpi4
scenic_driver_glfw 0.10.1 · fail · run scenic_driver_glfw-0.10.1-1791095323856
392 of 392 lines
1Resolving Hex dependencies...2Resolution completed in 0.128s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.7.86 ex_image_info 0.2.77 font_metrics 0.5.28 interactive_cmd 0.1.49 nerves 2.0.0-pre.210 nerves_discovery 0.1.511 nerves_logging 0.2.412 nerves_runtime 0.13.1313 nerves_system_bbb 2.30.214 nerves_system_br 1.34.415 nerves_system_mangopi_mq_pro 0.17.216 nerves_system_qemu_aarch64 0.4.217 nerves_system_rpi0 2.1.218 nerves_system_rpi4 2.1.219 nerves_system_rpi5 2.1.220 nerves_system_trellis 0.5.021 nerves_system_x86_64 1.34.222 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.123 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.126 nerves_toolchain_x86_64_nerves_linux_musl 15.3.127 nerves_uevent 0.1.728 nimble_options 1.1.129 property_table 0.3.430 ring_logger 0.11.731 scenic 0.11.232 scenic_driver_glfw 0.10.133 tablet 0.3.334 toolshed 0.5.035 truetype_metrics 0.6.136 uboot_env 1.0.237* Getting scenic_driver_glfw (Hex package)38* Getting nerves (Hex package)39* Getting ring_logger (Hex package)40* Getting toolshed (Hex package)41* Getting nerves_runtime (Hex package)42* Getting nerves_system_bbb (Hex package)43* Getting nerves_system_mangopi_mq_pro (Hex package)44* Getting nerves_system_qemu_aarch64 (Hex package)45* Getting nerves_system_rpi0 (Hex package)46* Getting nerves_system_rpi4 (Hex package)47* Getting nerves_system_rpi5 (Hex package)48* Getting nerves_system_trellis (Hex package)49* Getting nerves_system_x86_64 (Hex package)50* Getting nerves_system_br (Hex package)51* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)52* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)53* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)54* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)55* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)56* Getting nerves_logging (Hex package)57* Getting nerves_uevent (Hex package)58* Getting uboot_env (Hex package)59* Getting elixir_make (Hex package)60* Getting property_table (Hex package)61* Getting circular_buffer (Hex package)62* Getting interactive_cmd (Hex package)63* Getting nerves_discovery (Hex package)64* Getting tablet (Hex package)65* Getting scenic (Hex package)66* Getting ex_image_info (Hex package)67* Getting font_metrics (Hex package)68* Getting nimble_options (Hex package)69* Getting truetype_metrics (Hex package)70==> nerves_system_br71Generated nerves_system_br app72==> circular_buffer73Compiling 1 file (.ex)74Generated circular_buffer app75==> nimble_options76Compiling 3 files (.ex)77Generated nimble_options app78==> tablet79Compiling 2 files (.ex)80Generated tablet app81==> nerves_discovery82Compiling 5 files (.ex)83Generated nerves_discovery app84==> ring_logger85Compiling 7 files (.ex)86Generated ring_logger app87==> interactive_cmd88Compiling 1 file (.ex)89Generated interactive_cmd app90==> nerves91Compiling 65 files (.ex)92 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)93 │94 6 │ defmodule Mix.Tasks.Nerves.Init do95 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~96 │97 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)9899 warning: redefining module Nerves (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.beam)100 │101 6 │ defmodule Nerves do102 │ ~~~~~~~~~~~~~~~~~~~103 │104 └─ lib/nerves.ex:6: Nerves (module)105106 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)107 │108 5 │ defmodule Nerves.ArtifactResolver do109 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~110 │111 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)112113 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)114 │115 6 │ defmodule Nerves.BuildAction.AppModes do116 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~117 │118 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)119120 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)121 │122 5 │ defmodule Nerves.BuildAction.CheckExecutables do123 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~124 │125 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)126127 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)128 │129 8 │ defmodule Nerves.BuildAction.Erlinit do130 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~131 │132 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)133134 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)135 │136 5 │ defmodule Nerves.BuildAction.Firmware do137 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~138 │139 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)140141 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)142 │143 7 │ defmodule Nerves.BuildAction.IExStartupCheck do144 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~145 │146 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)147148 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)149 │150 5 │ defmodule Nerves.BuildAction.NervesV1System do151 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~152 │153 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)154155 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)156 │157 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do158 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~159 │160 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)161162 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)163 │164 5 │ defmodule Nerves.BuildAction.Rootfs do165 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~166 │167 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)168169 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)170 │171 6 │ defmodule Nerves.BuildAction.SortApps do172 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~173 │174 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)175176 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)177 │178 5 │ defmodule Nerves.BuildAction.StripAll do179 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~180 │181 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)182183 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)184 │185 5 │ defmodule Nerves.BuildAction.Trimmer do186 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~187 │188 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)189190 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)191 │192 5 │ defmodule Nerves.BuildPlan do193 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~194 │195 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)196197 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)198 │199 5 │ defmodule Nerves.BuildPlan.Checks do200 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~201 │202 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)203204 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Container.beam)205 │206 6 │ defmodule Nerves.Container do207 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~208 │209 └─ lib/nerves/container.ex:6: Nerves.Container (module)210211 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)212 │213 5 │ defmodule Nerves.Fingerprint do214 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~215 │216 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)217218 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)219 │220 5 │ defmodule Nerves.MixPackage do221 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~222 │223 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)224225 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Paths.beam)226 │227 5 │ defmodule Nerves.Paths do228 │ ~~~~~~~~~~~~~~~~~~~~~~~~~229 │230 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)231232 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)233 │234 5 │ defmodule Nerves.TargetTuple do235 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~236 │237 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)238239Generated nerves app240==> nerves_toolchain_aarch64_nerves_linux_gnu241Compiling 1 file (.ex)242Generated nerves_toolchain_aarch64_nerves_linux_gnu app243==> nerves_system_rpi4244Generated nerves_system_rpi4 app245==> font_metrics246Compiling 2 files (.ex)247Generated font_metrics app248==> truetype_metrics249Compiling 1 file (.ex)250 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 operator251 │252 334 │ <<_::binary-size(offset), cmap::binary>> = cmap_data253 │ ~254 │255 └─ lib/truetype_metrics.ex:334:26: TruetypeMetrics.do_parse_cmap_glyphs_ids/1256257 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 operator258 │259 446 │ <<_::binary-size(skip), id::unsigned-size(16)-big, _::binary>> = sub_table260 │ ~261 │262 └─ lib/truetype_metrics.ex:446:22: TruetypeMetrics.lookup_cmap_type_4/2263264 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 operator265 │266 678 │ _::binary-size(offset),267 │ ~268 │269 └─ lib/truetype_metrics.ex:678:26: TruetypeMetrics.get_table_data/3270271 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 operator272 │273 679 │ table_data::binary-size(table_size),274 │ ~275 │276 └─ lib/truetype_metrics.ex:679:35: TruetypeMetrics.get_table_data/3277278 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 operator279 │280 700 │ _::binary-size(offset),281 │ ~282 │283 └─ lib/truetype_metrics.ex:700:22: TruetypeMetrics.do_get_table_data/2284285 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 operator286 │287 701 │ table_data::binary-size(table_size),288 │ ~289 │290 └─ lib/truetype_metrics.ex:701:31: TruetypeMetrics.do_get_table_data/2291292Generated truetype_metrics app293==> uboot_env294Compiling 5 files (.ex)295Generated uboot_env app296==> ex_image_info297Compiling 12 files (.ex)298 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 operator299 │300 41 │ <<_::bytes-size(block_len), 0xFF, sof::size(8), next::binary>> ->301 │ ~302 │303 └─ lib/ex_image_info/types/jpeg.ex:41:23: ExImageInfo.Types.JPEG.parse_jpeg_block/2304305 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 operator306 │307 56 │ <<_skip1::bytes-size(idf_off_pos), _skip2::bytes-size(2),308 │ ~309 │310 └─ lib/ex_image_info/types/tiff.ex:56:28: ExImageInfo.Types.TIFF.parse_tiff_block/4311312 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 operator313 │314 57 │ buff_idf::bytes-size(buff_size), _::binary>> ->315 │ ~316 │317 └─ lib/ex_image_info/types/tiff.ex:57:30: ExImageInfo.Types.TIFF.parse_tiff_block/4318319 warning: unused require Bitwise320 │321 6 │ require Bitwise322 │ ~323 │324 └─ lib/ex_image_info/types/webp.ex:6:3325326 warning: unused require Bitwise327 │328 7 │ require Bitwise329 │ ~330 │331 └─ lib/ex_image_info/types/tiff.ex:7:3332333 warning: this clause of defp parse_jpeg_block/2 is never used (or it will always fail/warn when invoked)334 │335 49 │ defp parse_jpeg_block(_, _), do: nil336 │ ~337 │338 └─ lib/ex_image_info/types/jpeg.ex:49:8: ExImageInfo.Types.JPEG.parse_jpeg_block/2339340Generated ex_image_info app341==> scenic_driver_glfw342mkdir -p /work/proj/_build/rpi4/lib/scenic_driver_glfw/priv/prod343/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -O3 -std=c99 `pkg-config --static --cflags glfw3 glew` -fPIC -o /work/proj/_build/rpi4/lib/scenic_driver_glfw/priv/prod/scenic_driver_glfw c_src/main.c c_src/comms.c c_src/nanovg/nanovg.c c_src/utils.c c_src/render_script.c c_src/tx.c --sysroot=/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging `pkg-config --static --libs glfw3 glew` -lGL -lm -lrt344Package glfw3 was not found in the pkg-config search path.345Perhaps you should add the directory containing `glfw3.pc'346to the PKG_CONFIG_PATH environment variable347Package 'glfw3', required by 'virtual:world', not found348Package 'glew', required by 'virtual:world', not found349Package glfw3 was not found in the pkg-config search path.350Perhaps you should add the directory containing `glfw3.pc'351to the PKG_CONFIG_PATH environment variable352Package 'glfw3', required by 'virtual:world', not found353Package 'glew', required by 'virtual:world', not found354c_src/main.c:13:10: fatal error: GL/glew.h: No such file or directory355 13 | #include <GL/glew.h>356 | ^~~~~~~~~~~357compilation terminated.358c_src/comms.c:10:10: fatal error: GLFW/glfw3.h: No such file or directory359 10 | #include <GLFW/glfw3.h>360 | ^~~~~~~~~~~~~~361compilation terminated.362In file included from c_src/nanovg/nanovg.c:28:363c_src/nanovg/stb_image.h: In function 'stbi__parse_png_file':364c_src/nanovg/stb_image.h:4399:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]365 4399 | tc[k] = (stbi_uc) (stbi__get16be(s) & 255) * stbi__depth_scale_table[depth]; // non 8-bit images will be larger366 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~367c_src/nanovg/stb_image.h:4322:25: note: at offset 3 into destination object 'tc' of size 3368 4322 | stbi_uc has_trans=0, tc[3];369 | ^~370c_src/utils.c:9:10: fatal error: GL/glew.h: No such file or directory371 9 | #include <GL/glew.h>372 | ^~~~~~~~~~~373compilation terminated.374c_src/render_script.c:11:10: fatal error: GLFW/glfw3.h: No such file or directory375 11 | #include <GLFW/glfw3.h>376 | ^~~~~~~~~~~~~~377compilation terminated.378In file included from c_src/tx.c:13:379c_src/comms.h:14:10: fatal error: GLFW/glfw3.h: No such file or directory380 14 | #include <GLFW/glfw3.h>381 | ^~~~~~~~~~~~~~382compilation terminated.383make: *** [Makefile:46: /work/proj/_build/rpi4/lib/scenic_driver_glfw/priv/prod/scenic_driver_glfw] Error 1384could not compile dependency :scenic_driver_glfw, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile scenic_driver_glfw --force", update it with "mix deps.update scenic_driver_glfw" or clean it with "mix deps.clean scenic_driver_glfw"385==> nerves_compatibility_test386** (Mix) Could not compile with "make" (exit status: 2).387You need to have gcc and make installed. If you are using388Ubuntu or any other Debian-based system, install the packages389"build-essential". Also install "erlang-dev" package if not390included in your Erlang/OTP version. If you're on Fedora, run391"dnf group install 'Development Tools'".392