Trying to compile from a fresh pull and no modifications to the planck_rev6
~/zmk/app$ west build -b planck_rev6 --pristine
-- west build: making build dir /home/nacly/zmk/app/build pristine
-- west build: generating a build system
-- Using keymap file: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.keymap
Including boilerplate (Zephyr base): /home/nacly/zmk/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/nacly/zmk/app
-- Zephyr version: 3.0.0 (/home/nacly/zmk/zephyr)
-- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.7") found components: Interpreter
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: planck_rev6
-- Cache files will be written to: /home/nacly/.cache/zephyr
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.13.2 (/home/nacly/.local/zephyr-sdk-0.13.2)
-- Found dtc: /home/nacly/.local/zephyr-sdk-0.13.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found toolchain: zephyr 0.13.2 (/home/nacly/.local/zephyr-sdk-0.13.2)
-- Found BOARD.dts: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.dts
-- Found devicetree overlay: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.keymap
-- Generated zephyr.dts: /home/nacly/zmk/app/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/nacly/zmk/app/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/nacly/zmk/app/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/nacly/zmk/app/build/zephyr/dts.cmake
Parsing /home/nacly/zmk/app/Kconfig
Loaded configuration '/home/nacly/zmk/app/boards/arm/planck/planck_rev6_defconfig'
Merged configuration '/home/nacly/zmk/app/prj.conf'
Configuration saved to '/home/nacly/zmk/app/build/zephyr/.config'
Kconfig header saved to '/home/nacly/zmk/app/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/nacly/.local/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nacly/zmk/app/build
-- west build: building application
[1/207] Preparing syscall dependency handling
[2/207] Generating include/generated/version.h
-- Zephyr version: 3.0.0 (/home/nacly/zmk/zephyr), build: 312ceebdede4
[4/207] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
FAILED: zephyr/misc/generated/syscalls.json zephyr/misc/generated/struct_tags.json /home/nacly/zmk/app/build/zephyr/misc/generated/syscalls.json /home/nacly/zmk/app/build/zephyr/misc/generated/struct_tags.json
cd /home/nacly/zmk/app/build/zephyr && /usr/bin/python3.9 /home/nacly/zmk/zephyr/scripts/parse_syscalls.py --include /home/nacly/zmk/zephyr/include --include /home/nacly/zmk/zephyr/drivers --include /home/nacly/zmk/zephyr/subsys/net --include /home/nacly/zmk/app --json-file /home/nacly/zmk/app/build/zephyr/misc/generated/syscalls.json --tag-struct-file /home/nacly/zmk/app/build/zephyr/misc/generated/struct_tags.json
Traceback (most recent call last):
File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 153, in
main()
File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 132, in main
syscalls, tagged = analyze_headers(args.include)
File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 80, in analyze_headers
contents = fp.read()
File "/usr/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /home/nacly/.local/bin/cmake --build /home/nacly/zmk/app/build
Trying to compile from a fresh pull and no modifications to the planck_rev6
~/zmk/app$ west build -b planck_rev6 --pristine -- west build: making build dir /home/nacly/zmk/app/build pristine -- west build: generating a build system -- Using keymap file: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.keymap Including boilerplate (Zephyr base): /home/nacly/zmk/zephyr/cmake/app/boilerplate.cmake -- Application: /home/nacly/zmk/app -- Zephyr version: 3.0.0 (/home/nacly/zmk/zephyr) -- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.7") found components: Interpreter -- Found west (found suitable version "0.13.1", minimum required is "0.7.1") -- Board: planck_rev6 -- Cache files will be written to: /home/nacly/.cache/zephyr -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK -- Found host-tools: zephyr 0.13.2 (/home/nacly/.local/zephyr-sdk-0.13.2) -- Found dtc: /home/nacly/.local/zephyr-sdk-0.13.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") -- Found toolchain: zephyr 0.13.2 (/home/nacly/.local/zephyr-sdk-0.13.2) -- Found BOARD.dts: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.dts -- Found devicetree overlay: /home/nacly/zmk/app/boards/arm/planck/planck_rev6.keymap -- Generated zephyr.dts: /home/nacly/zmk/app/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: /home/nacly/zmk/app/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: /home/nacly/zmk/app/build/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: /home/nacly/zmk/app/build/zephyr/dts.cmake Parsing /home/nacly/zmk/app/Kconfig Loaded configuration '/home/nacly/zmk/app/boards/arm/planck/planck_rev6_defconfig' Merged configuration '/home/nacly/zmk/app/prj.conf' Configuration saved to '/home/nacly/zmk/app/build/zephyr/.config' Kconfig header saved to '/home/nacly/zmk/app/build/zephyr/include/generated/autoconf.h' -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- The ASM compiler identification is GNU -- Found assembler: /home/nacly/.local/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -- Configuring done -- Generating done -- Build files have been written to: /home/nacly/zmk/app/build -- west build: building application [1/207] Preparing syscall dependency handling
[2/207] Generating include/generated/version.h -- Zephyr version: 3.0.0 (/home/nacly/zmk/zephyr), build: 312ceebdede4 [4/207] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json FAILED: zephyr/misc/generated/syscalls.json zephyr/misc/generated/struct_tags.json /home/nacly/zmk/app/build/zephyr/misc/generated/syscalls.json /home/nacly/zmk/app/build/zephyr/misc/generated/struct_tags.json cd /home/nacly/zmk/app/build/zephyr && /usr/bin/python3.9 /home/nacly/zmk/zephyr/scripts/parse_syscalls.py --include /home/nacly/zmk/zephyr/include --include /home/nacly/zmk/zephyr/drivers --include /home/nacly/zmk/zephyr/subsys/net --include /home/nacly/zmk/app --json-file /home/nacly/zmk/app/build/zephyr/misc/generated/syscalls.json --tag-struct-file /home/nacly/zmk/app/build/zephyr/misc/generated/struct_tags.json Traceback (most recent call last): File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 153, in
main()
File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 132, in main
syscalls, tagged = analyze_headers(args.include)
File "/home/nacly/zmk/zephyr/scripts/parse_syscalls.py", line 80, in analyze_headers
contents = fp.read()
File "/usr/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /home/nacly/.local/bin/cmake --build /home/nacly/zmk/app/build