Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail after dependency zmk-dev-arm update to 3.5 #9

Open
FilippeMafra opened this issue Mar 19, 2024 · 4 comments
Open

Build fail after dependency zmk-dev-arm update to 3.5 #9

FilippeMafra opened this issue Mar 19, 2024 · 4 comments

Comments

@FilippeMafra
Copy link

FilippeMafra commented Mar 19, 2024

This was the change on :

chore(ci): Bump to 3.5 Docker images: zmkfirmware/zmk@94aa7d8

I have a fork from this repo that also depends on https://github.com/zmkfirmware/zmk and started to fail on build:


Failing build example

The summary of the error:

'label' is marked as deprecated in 'properties:' in /__w/hillside-zmk-config/hillside-zmk-config/zephyr/dts/bindings/display/solomon,ssd1306fb-i2c.yaml for node /soc/i2c@40003000/ssd1306@3c.
devicetree error: 'pinctrl-0' is marked as required in 'properties:' in /__w/hillside-zmk-config/hillside-zmk-config/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml, but does not appear in <Node /soc/spi@40004000 in '/__w/hillside-zmk-config/hillside-zmk-config/zephyr/misc/empty_file.c'>
CMake Error at /__w/hillside-zmk-config/hillside-zmk-config/zephyr/cmake/modules/dts.cmake:279 (message):
  gen_defines.py failed with return code: 1
-- In: /tmp/tmp.k5MDIcFl7Q/zephyr, command: /usr/bin/python3;/__w/hillside-zmk-config/hillside-zmk-config/zephyr/scripts/dts/gen_defines.py;--dts;/tmp/tmp.k5MDIcFl7Q/zephyr/zephyr.dts.pre;--dtc-flags;'';--bindings-dirs;/__w/hillside-zmk-config/hillside-zmk-config/zmk/app/module/dts/bindings;/__w/hillside-zmk-config/hillside-zmk-config/zmk/app/dts/bindings;/__w/hillside-zmk-config/hillside-zmk-config/zephyr/dts/bindings;--header-out;/tmp/tmp.k5MDIcFl7Q/zephyr/include/generated/devicetree_generated.h.new;--dts-out;/tmp/tmp.k5MDIcFl7Q/zephyr/zephyr.dts.new;--edt-pickle-out;/tmp/tmp.k5MDIcFl7Q/zephyr/edt.pickle;--vendor-prefixes;/__w/hillside-zmk-config/hillside-zmk-config/zmk/app/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;/__w/hillside-zmk-config/hillside-zmk-config/zephyr/dts/bindings/vendor-prefixes.txt
Call Stack (most recent call first):
  /__w/hillside-zmk-config/hillside-zmk-config/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
  /__w/hillside-zmk-config/hillside-zmk-config/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /__w/hillside-zmk-config/hillside-zmk-config/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:8 (find_package)
@FilippeMafra FilippeMafra changed the title Fail build after dependency zmk-dev-arm update to 3.5 Build fail after dependency zmk-dev-arm update to 3.5 Mar 20, 2024
@ramnathk
Copy link

ramnathk commented Apr 3, 2024

I forked this project today and tried to build the 52 key keymap and ran into the same issue. @mmccoyd can you please help?

@FilippeMafra
Copy link
Author

I'm checking the PR that made the change:

We could take some inspiration from there.

@alparo
Copy link

alparo commented Apr 29, 2024

It can be fixed by #10

@FilippeMafra
Copy link
Author

Thank you @alparo.
This PR fixes it: #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants