mmccoyd / zmk-config

ZMK firmware for Hillside ergonomic keyboards
MIT License
12 stars 119 forks source link

Build fails on clean fork #14

Closed partner0 closed 4 weeks ago

partner0 commented 4 weeks ago

I forked, commented out 48 and 52 from the build file -> build failed. I then reverted to the initial state of the fork -> build failed. Am I missing the obvious? 😅

Run west build -s zmk/app -d "/tmp/tmp.MWVWsRqGuE" -b "nice_nano_v2"  -- -DZMK_CONFIG=/__w/zmk-config-hillside/zmk-config-hillside/config -DSHIELD="hillside46_left" 
  west build -s zmk/app -d "/tmp/tmp.MWVWsRqGuE" -b "nice_nano_v[2](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:2)"  -- -DZMK_CONFIG=/__w/zmk-config-hillside/zmk-config-hillside/config -DSHIELD="hillside46_left" 
  shell: sh -x {0}
  env:
    build_dir: /tmp/tmp.MWVWsRqGuE
    base_dir: /__w/zmk-config-hillside/zmk-config-hillside
    zephyr_version: [3](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:3).5.0
    extra_west_args: 
    extra_cmake_args: -DSHIELD="hillside[4](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:4)6_left"
    display_name: hillside46_left - nice_nano_v2
    artifact_name: hillside46_left-nice_nano_v2-zmk
+ west build -s zmk/app -d /tmp/tmp.MWVWsRqGuE -b nice_nano_v2 -- -DZMK_CONFIG=/__w/zmk-config-hillside/zmk-config-hillside/config -DSHIELD=hillside46_left
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /__w/zmk-config-hillside/zmk-config-hillside/zmk/app
-- CMake version: 3.30.0
-- Found Python3: /usr/bin/python3 (found suitable version "3.12.3", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /__w/zmk-config-hillside/zmk-config-hillside/zephyr/.cache
-- Zephyr version: 3.[5](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:5).0 (/__w/zmk-config-hillside/zmk-config-hillside/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Adding ZMK config directory as board root: /__w/zmk-config-hillside/zmk-config-hillside/config
-- Adding /__w/zmk-config-hillside/zmk-config-hillside/config/boards/shields/hillside4[6](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:6)
-- ZMK Config directory: /__w/zmk-config-hillside/zmk-config-hillside/config
-- ZMK Config Kconfig: /__w/zmk-config-hillside/zmk-config-hillside/config/hillside46.conf
-- Using keymap file: /__w/zmk-config-hillside/zmk-config-hillside/config/hillside46.keymap
-- Using keymap file: /__w/zmk-config-hillside/zmk-config-hillside/config/hillside46.keymap
-- Board: nice_nano_v2
-- Shield(s): hillside46_left
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found toolchain: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)
-- Found Dtc: /opt/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /__w/zmk-config-hillside/zmk-config-hillside/zmk/app/boards/arm/nice_nano/nice_nano_v2.dts
-- Found devicetree overlay: /__w/zmk-config-hillside/zmk-config-hillside/config/boards/shields/hillside46/hillside46_left.overlay
-- Found devicetree overlay: /__w/zmk-config-hillside/zmk-config-hillside/config/boards/shields/hillside46/boards/nice_nano_v2.overlay
-- Found devicetree overlay: /__w/zmk-config-hillside/zmk-config-hillside/config/hillside46.keymap
devicetree error: 'mosi-pin' appears in /soc/spi@40004000 in /tmp/tmp.MWVWsRqGuE/zephyr/zephyr.dts.pre, but is not declared in 'properties:' in /__w/zmk-config-hillside/zmk-config-hillside/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml
CMake Error at /__w/zmk-config-hillside/zmk-config-hillside/zephyr/cmake/modules/dts.cmake:2[7](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:7)9 (message):
  gen_defines.py failed with return code: 1
-- In: /tmp/tmp.MWVWsRqGuE/zephyr, command: /usr/bin/python3;/__w/zmk-config-hillside/zmk-config-hillside/zephyr/scripts/dts/gen_defines.py;--dts;/tmp/tmp.MWVWsRqGuE/zephyr/zephyr.dts.pre;--dtc-flags;'-Wno-unique_unit_address_if_enabled';--bindings-dirs;/__w/zmk-config-hillside/zmk-config-hillside/zmk/app/module/dts/bindings;/__w/zmk-config-hillside/zmk-config-hillside/zmk/app/dts/bindings;/__w/zmk-config-hillside/zmk-config-hillside/zephyr/dts/bindings;--header-out;/tmp/tmp.MWVWsRqGuE/zephyr/include/generated/devicetree_generated.h.new;--dts-out;/tmp/tmp.MWVWsRqGuE/zephyr/zephyr.dts.new;--edt-pickle-out;/tmp/tmp.MWVWsRqGuE/zephyr/edt.pickle;--vendor-prefixes;/__w/zmk-config-hillside/zmk-config-hillside/zmk/app/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;/__w/zmk-config-hillside/zmk-config-hillside/zephyr/dts/bindings/vendor-prefixes.txt
Call Stack (most recent call first):
  /__w/zmk-config-hillside/zmk-config-hillside/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  /__w/zmk-config-hillside/zmk-config-hillside/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /__w/zmk-config-hillside/zmk-config-hillside/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:[8](https://github.com/partner0/zmk-config-hillside/actions/runs/10427001174/job/28880959181#step:11:8) (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/tmp/tmp.MWVWsRqGuE -GNinja -DBOARD=nice_nano_v2 -DZMK_CONFIG=/__w/zmk-config-hillside/zmk-config-hillside/config -DSHIELD=hillside46_left -S/__w/zmk-config-hillside/zmk-config-hillside/zmk/app
Error: Process completed with exit code 1.
partner0 commented 4 weeks ago

I will try this and report...

partner0 commented 4 weeks ago

It's a win. I should've looked at closed issues before posting 🤦‍♂️