I believe I have a compile on Ubuntu !
Memory region Used Size Region Size %age Used
FLASH: 12876 B 441856 B 2.91%
SRAM: 3904 B 128 KB 2.98%
IDT_LIST: 56 B 2 KB 2.73%
[158/158] Generating zephyr/merged_domains.hex
Had to follow these instructions on the Nordic site for the Python dependencies, which are ever so slightly different to the instructions on your site. [https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#installing-the-required-tools]
pip3 install –user -r zephyr/scripts/requirements.txt
pip3 install –user -r nrf/scripts/requirements.txt
pip3 install –user -r bootloader/mcuboot/scripts/requirements.txt
I am using CMake 3.18.5 on Ubuntu, but I am not sure that was the issue.