scenic_driver_oled

Build log

nerves_system_x86_64

scenic_driver_oled 0.1.0 · fail · run scenic_driver_oled-0.1.0-1791247002235
169 of 169 lines
1Resolving Hex dependencies...2Resolution completed in 0.122s3Unchanged:4  circuits_gpio 1.0.15  circuits_i2c 1.0.16  circuits_spi 1.4.07  circular_buffer 1.1.08  elixir_make 0.7.89  ex_image_info 0.2.710  font_metrics 0.5.211  interactive_cmd 0.1.412  nerves 2.0.0-pre.213  nerves_discovery 0.1.514  nerves_logging 0.2.415  nerves_runtime 0.13.1316  nerves_system_bbb 2.30.217  nerves_system_br 1.34.418  nerves_system_mangopi_mq_pro 0.17.219  nerves_system_qemu_aarch64 0.4.220  nerves_system_rpi0 2.1.221  nerves_system_rpi4 2.1.222  nerves_system_rpi5 2.1.223  nerves_system_trellis 0.5.024  nerves_system_x86_64 1.34.225  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129  nerves_toolchain_x86_64_nerves_linux_musl 15.3.130  nerves_uevent 0.1.731  nimble_options 1.1.132  oled 0.3.633  property_table 0.3.434  ring_logger 0.11.735  rpi_fb_capture 0.3.036  scenic 0.11.237  scenic_driver_nerves_rpi 0.10.138  scenic_driver_oled 0.1.039  tablet 0.3.340  toolshed 0.5.041  truetype_metrics 0.6.142  uboot_env 1.0.243* Getting scenic_driver_oled (Hex package)44* Getting nerves (Hex package)45* Getting ring_logger (Hex package)46* Getting toolshed (Hex package)47* Getting nerves_runtime (Hex package)48* Getting nerves_system_bbb (Hex package)49* Getting nerves_system_mangopi_mq_pro (Hex package)50* Getting nerves_system_qemu_aarch64 (Hex package)51* Getting nerves_system_rpi0 (Hex package)52* Getting nerves_system_rpi4 (Hex package)53* Getting nerves_system_rpi5 (Hex package)54* Getting nerves_system_trellis (Hex package)55* Getting nerves_system_x86_64 (Hex package)56* Getting nerves_system_br (Hex package)57* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)58* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)59* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)60* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)62* Getting nerves_logging (Hex package)63* Getting nerves_uevent (Hex package)64* Getting uboot_env (Hex package)65* Getting elixir_make (Hex package)66* Getting property_table (Hex package)67* Getting circular_buffer (Hex package)68* Getting interactive_cmd (Hex package)69* Getting nerves_discovery (Hex package)70* Getting tablet (Hex package)71* Getting oled (Hex package)72* Getting rpi_fb_capture (Hex package)73* Getting scenic (Hex package)74* Getting scenic_driver_nerves_rpi (Hex package)75* Getting ex_image_info (Hex package)76* Getting font_metrics (Hex package)77* Getting nimble_options (Hex package)78* Getting truetype_metrics (Hex package)79* Getting circuits_gpio (Hex package)80* Getting circuits_i2c (Hex package)81* Getting circuits_spi (Hex package)82==> circuits_gpio83"**** MIX_ENV set to [prod] ****"84"**** CIRCUITS_MIX_ENV set to [] ****"85 CC hal_sysfs.o86 CC hal_sysfs_interrupts.o87 CC hal_rpi.o88 CC nif_utils.o89 CC gpio_nif.o90 LD gpio_nif.so91Compiling 2 files (.ex)92Generated circuits_gpio app93==> circuits_i2c94 CC hal_i2cdev.o95 CC i2c_nif.o96 LD i2c_nif.so97Compiling 2 files (.ex)98Generated circuits_i2c app99==> circuits_spi100 CC hal_spidev.o101 CC spi_nif.o102 LD spi_nif.so103Compiling 2 files (.ex)104Generated circuits_spi app105==> oled106Compiling 10 files (.ex)107    warning: use Bitwise is deprecated. import Bitwise instead108    │109 10 │   use Bitwise, only_operators: true110    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~111    │112    └─ lib/oled/display/impl/ssd_1306.ex:10: OLED.Display.Impl.SSD1306 (module)113114    warning: ^^^ is deprecated. It is typically used as xor but it has the wrong precedence, use Bitwise.bxor/2 instead115    │116 22 │         :xor -> p ^^^ np117    │                   ~118    │119    └─ lib/oled/display/impl/ssd_1306/draw.ex:22:19120121    warning: use Bitwise is deprecated. import Bitwise instead122    │123  4 │   use Bitwise, only_operators: true124    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~125    │126    └─ lib/oled/display/impl/ssd_1306/draw.ex:4: OLED.Display.Impl.SSD1306.Draw (module)127128    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 operator129    │130 12 │     <<prev::bitstring-size(offset), p::1, next::bitstring>> = buffer131    │                            ~132    │133    └─ lib/oled/display/impl/ssd_1306/draw.ex:12:28: OLED.Display.Impl.SSD1306.Draw.put_pixel/4134135     warning: the variable "width" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator136     │137 166 │     for <<page::binary-size(width) <- buffer>>, into: <<>> do138     │                             ~139     │140     └─ lib/oled/display/impl/ssd_1306.ex:166:29: OLED.Display.Impl.SSD1306.translate_buffer/3141142     warning: the variable "source" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator143     │144 169 │         <<_::size(source)-unit(1), b::1, _::size(rest)-unit(1)>> = page145     │                   ~146     │147     └─ lib/oled/display/impl/ssd_1306.ex:169:19: OLED.Display.Impl.SSD1306.translate_buffer/3148149     warning: the variable "rest" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator150     │151 169 │         <<_::size(source)-unit(1), b::1, _::size(rest)-unit(1)>> = page152     │                                                  ~153     │154     └─ lib/oled/display/impl/ssd_1306.ex:169:50: OLED.Display.Impl.SSD1306.translate_buffer/3155156Generated oled app157==> rpi_fb_capture158mkdir -p /work/proj/_build/x86_64/lib/rpi_fb_capture/priv159mkdir -p /work/proj/_build/x86_64/lib/rpi_fb_capture/obj160/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -c -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/rpi_fb_capture/obj/capture_dispmanx.o src/capture_dispmanx.c161src/capture_dispmanx.c:3:10: fatal error: bcm_host.h: No such file or directory162    3 | #include <bcm_host.h>163      |          ^~~~~~~~~~~~164compilation terminated.165make: *** [Makefile:68: /work/proj/_build/x86_64/lib/rpi_fb_capture/obj/capture_dispmanx.o] Error 1166could not compile dependency :rpi_fb_capture, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile rpi_fb_capture --force", update it with "mix deps.update rpi_fb_capture" or clean it with "mix deps.clean rpi_fb_capture"167==> nerves_compatibility_test168** (Mix) Could not compile with "make" (exit status: 2).169