Build log
nerves_system_x86_64
zenic 0.1.0 · fail · run zenic-0.1.0-1791164172464
354 of 354 lines
1Resolving Hex dependencies...2Resolution completed in 0.206s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.7.86 ex_image_info 0.2.77 font_metrics 0.5.28 input_event 1.4.29 interactive_cmd 0.1.410 nerves 2.0.0-pre.211 nerves_discovery 0.1.512 nerves_logging 0.2.413 nerves_runtime 0.13.1314 nerves_system_bbb 2.30.215 nerves_system_br 1.34.416 nerves_system_mangopi_mq_pro 0.17.217 nerves_system_qemu_aarch64 0.4.218 nerves_system_rpi0 2.1.219 nerves_system_rpi4 2.1.220 nerves_system_rpi5 2.1.221 nerves_system_trellis 0.5.022 nerves_system_x86_64 1.34.223 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.127 nerves_toolchain_x86_64_nerves_linux_musl 15.3.128 nerves_uevent 0.1.729 nimble_options 1.1.130 property_table 0.3.431 ring_logger 0.11.732 scenic 0.11.233 scenic_driver_local 0.11.034 tablet 0.3.335 toolshed 0.5.036 truetype_metrics 0.6.137 uboot_env 1.0.238 zenic 0.1.039* Getting zenic (Hex package)40* Getting nerves (Hex package)41* Getting ring_logger (Hex package)42* Getting toolshed (Hex package)43* Getting nerves_runtime (Hex package)44* Getting nerves_system_bbb (Hex package)45* Getting nerves_system_mangopi_mq_pro (Hex package)46* Getting nerves_system_qemu_aarch64 (Hex package)47* Getting nerves_system_rpi0 (Hex package)48* Getting nerves_system_rpi4 (Hex package)49* Getting nerves_system_rpi5 (Hex package)50* Getting nerves_system_trellis (Hex package)51* Getting nerves_system_x86_64 (Hex package)52* Getting nerves_system_br (Hex package)53* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)54* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)55* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)56* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)57* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)58* Getting nerves_logging (Hex package)59* Getting nerves_uevent (Hex package)60* Getting uboot_env (Hex package)61* Getting elixir_make (Hex package)62* Getting property_table (Hex package)63* Getting circular_buffer (Hex package)64* Getting interactive_cmd (Hex package)65* Getting nerves_discovery (Hex package)66* Getting tablet (Hex package)67* Getting scenic (Hex package)68* Getting scenic_driver_local (Hex package)69* Getting input_event (Hex package)70* Getting ex_image_info (Hex package)71* Getting font_metrics (Hex package)72* Getting nimble_options (Hex package)73* Getting truetype_metrics (Hex package)74==> input_event75 CC input_event.o76 LD input_event77Compiling 5 files (.ex)78Generated input_event app79warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"80 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/281 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/182 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/583 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/284 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/485 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/28687==> scenic_driver_local88Compiling 8 files (.ex)89 warning: unused require Logger90 │91 28 │ require Logger92 │ ~93 │94 └─ lib/cursor.ex:28:39596 warning: using single-quoted strings to represent charlists is deprecated.97 Use ~c"" if you indeed want a charlist or use "" instead.98 You may run "mix format --migrate" to change all single-quoted99 strings to use the ~c sigil and fix this warning.100 │101 70 │ @port '/scenic_driver_local'102 │ ~103 │104 └─ lib/driver.ex:70:9105106 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead107 │108 145 │ Logger.warn("scenic_driver_local: #{inspect(msg)}")109 │ ~110 │111 └─ lib/from_port.ex:145:12: Scenic.Driver.Local.FromPort.handle_port_message/2112113 warning: use Bitwise is deprecated. import Bitwise instead114 │115 9 │ use Bitwise116 │ ~~~~~~~~~~~117 │118 └─ lib/to_port.ex:9: Scenic.Driver.Local.ToPort (module)119120 warning: the following clause will never match:121122 :dev ->123124 because it attempts to match on the result of:125126 target()127128 which has type:129130 dynamic(:x86_64)131132 type warning found at:133 │134 23 │ :dev ->135 │ ~~~~~~~136 │137 └─ lib/mix/tasks/compile.local.ex:23: Mix.Tasks.Compile.ScenicDriverLocal.run/1138139 warning: the following clause will never match:140141 :host ->142143 because it attempts to match on the result of:144145 target()146147 which has type:148149 dynamic(:x86_64)150151 type warning found at:152 │153 26 │ :host ->154 │ ~~~~~~~~155 │156 └─ lib/mix/tasks/compile.local.ex:26: Mix.Tasks.Compile.ScenicDriverLocal.run/1157158 warning: the following clause will never match:159160 :rpi ->161162 because it attempts to match on the result of:163164 target()165166 which has type:167168 dynamic(:x86_64)169170 type warning found at:171 │172 29 │ :rpi ->173 │ ~~~~~~~174 │175 └─ lib/mix/tasks/compile.local.ex:29: Mix.Tasks.Compile.ScenicDriverLocal.run/1176177 warning: the following clause will never match:178179 :rpi0 ->180181 because it attempts to match on the result of:182183 target()184185 which has type:186187 dynamic(:x86_64)188189 type warning found at:190 │191 32 │ :rpi0 ->192 │ ~~~~~~~~193 │194 └─ lib/mix/tasks/compile.local.ex:32: Mix.Tasks.Compile.ScenicDriverLocal.run/1195196 warning: the following clause will never match:197198 :rpi2 ->199200 because it attempts to match on the result of:201202 target()203204 which has type:205206 dynamic(:x86_64)207208 type warning found at:209 │210 35 │ :rpi2 ->211 │ ~~~~~~~~212 │213 └─ lib/mix/tasks/compile.local.ex:35: Mix.Tasks.Compile.ScenicDriverLocal.run/1214215 warning: the following clause will never match:216217 :rpi3 ->218219 because it attempts to match on the result of:220221 target()222223 which has type:224225 dynamic(:x86_64)226227 type warning found at:228 │229 38 │ :rpi3 ->230 │ ~~~~~~~~231 │232 └─ lib/mix/tasks/compile.local.ex:38: Mix.Tasks.Compile.ScenicDriverLocal.run/1233234 warning: comparison between distinct types found:235236 Mix.Tasks.Compile.ScenicDriverLocal.target() != :host237238 given types:239240 dynamic(:x86_64) != :host241242 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 false243244 type warning found at:245 │246 272 │ if Mix.Tasks.Compile.ScenicDriverLocal.target() != :host do247 │ ~248 │249 └─ lib/driver.ex:272:53: Scenic.Driver.Local.init/2250251 warning: the following clause will never match:252253 :rpi3a ->254255 because it attempts to match on the result of:256257 target()258259 which has type:260261 dynamic(:x86_64)262263 type warning found at:264 │265 41 │ :rpi3a ->266 │ ~~~~~~~~~267 │268 └─ lib/mix/tasks/compile.local.ex:41: Mix.Tasks.Compile.ScenicDriverLocal.run/1269270 warning: the following clause will never match:271272 :bbb ->273274 because it attempts to match on the result of:275276 target()277278 which has type:279280 dynamic(:x86_64)281282 type warning found at:283 │284 44 │ :bbb ->285 │ ~~~~~~~286 │287 └─ lib/mix/tasks/compile.local.ex:44: Mix.Tasks.Compile.ScenicDriverLocal.run/1288289 warning: the following clause will never match:290291 :rpi4 ->292293 because it attempts to match on the result of:294295 target()296297 which has type:298299 dynamic(:x86_64)300301 type warning found at:302 │303 48 │ :rpi4 ->304 │ ~~~~~~~~305 │306 └─ lib/mix/tasks/compile.local.ex:48: Mix.Tasks.Compile.ScenicDriverLocal.run/1307308Generated scenic_driver_local app309SCENIC_LOCAL_TARGET: 310------ no SCENIC_LOCAL_TARGET set ------311If you get here, then you are probably using a custom Nerves system312Please export/set SCENIC_LOCAL_TARGET to one of [glfw, bcm, drm]313If you are running on a desktop machine, pick: glfw314For any varient of rpi <= 3, pick: bcm315For any varient of rpi >= 4, pick: drm316For any varient of bbb, pick: drm317example for a custom rpi3 build system:318export SCENIC_LOCAL_TARGET=bcm319For bbb, you also need to set SCENIC_LOCAL_GL=gles2320For >= rpi4, you also need to set SCENIC_LOCAL_GL=gles3321----------------------------------------322mkdir -p /work/proj/_build/x86_64/lib/scenic_driver_local/priv323/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging -o /work/proj/_build/x86_64/lib/scenic_driver_local/priv/scenic_driver_local c_src/main.c c_src/nanovg/nanovg.c c_src/comms.c c_src/unix_comms.c c_src/utils.c c_src/script.c c_src/image.c c_src/font.c c_src/tommyds/src/tommyhashlin.c c_src/tommyds/src/tommyhash.c --sysroot=/home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging324In file included from c_src/tommyds/src/tommyhash.h:35,325 from c_src/tommyds/src/tommyhashlin.h:143,326 from c_src/tommyds/src/tommyhashlin.c:28:327c_src/tommyds/src/tommyhashlin.c: In function 'tommy_hashlin_done':328c_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]329 102 | #define tommy_free free330c_src/tommyds/src/tommyhashlin.c:82:17: note: in expansion of macro 'tommy_free'331 82 | tommy_free(&segment[((tommy_ptrdiff_t)1) << i]);332 | ^~~~~~~~~~333/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: /tmp/ccFy64iT.o: in function `main':334main.c:(.text.startup+0x117): undefined reference to `device_init'335/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: main.c:(.text.startup+0x14b): undefined reference to `device_poll'336/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: main.c:(.text.startup+0x167): undefined reference to `device_close'337/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: /tmp/ccVSIsrA.o: in function `render':338comms.c:(.text+0xaaf): undefined reference to `device_begin_render'339/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: comms.c:(.text+0xb1f): undefined reference to `device_end_render'340/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: /tmp/ccVSIsrA.o: in function `clear_color':341comms.c:(.text+0xe30): undefined reference to `device_clear_color'342/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/x86_64-nerves-linux-musl/bin/ld: /tmp/cc9SWW7A.o: in function `check_gl_error':343utils.c:(.text+0x19): undefined reference to `device_gl_error'344collect2: error: ld returned 1 exit status345make: *** [Makefile:125: /work/proj/_build/x86_64/lib/scenic_driver_local/priv/scenic_driver_local] Error 1346could 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"347==> nerves_compatibility_test348** (Mix) Could not compile with "make" (exit status: 2).349You need to have gcc and make installed. If you are using350Ubuntu or any other Debian-based system, install the packages351"build-essential". Also install "erlang-dev" package if not352included in your Erlang/OTP version. If you're on Fedora, run353"dnf group install 'Development Tools'".354