Date
1 - 1 of 1
west build: Generating Initial Build System For Samples Hangs
Nuertey Odzeyem
Hello,
As a newbie to Zephyr OS, I went through the steps outlined at
https://docs.zephyrproject.org/latest/develop/getting_started/index.html to install the needed tools and attempted a sample build. Both Hello World and Blinky samples hang when generating the initial build system. Any ideas as to what might be causing
this, or how I can debug my installations/environment further? Note that I also tried building those particular samples for my MCU target--nucleo_f767zi--but it hangs as well.
My System:
```shell-session
Linux nuertey-PC-LL850RSB 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
My System:
```shell-session
Linux nuertey-PC-LL850RSB 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Description: Ubuntu 16.04.3 LTS
```
Zephyr Environment Variables:
```shell-session
echo $ZEPHYR_SDK_INSTALL_DIR
/media/nuertey/c24545b9-e61b-481b-8264-db16fd9b4ffc/home/rena/zephyr-sdk-0.15.0
echo $ZEPHYR_TOOLCHAIN_VARIANT
zephyr```
West Command and Output:
```shell-session
(py37-venv) nuertey@nuertey-PC-LL850RSB:~/zephyrproject/zephyr$ west -v build -p auto -b qemu_x86 samples/hello_world
```shell-session
(py37-venv) nuertey@nuertey-PC-LL850RSB:~/zephyrproject/zephyr$ west -v build -p auto -b qemu_x86 samples/hello_world
ZEPHYR_BASE=/home/nuertey/zephyrproject/zephyr (origin: env)
-- west build: generating a build system
cmake version 3.20.1 is OK; minimum version is 3.13.1
Running CMake: /usr/local/bin/cmake -DWEST_PYTHON=/home/nuertey/py37-venv/bin/python3.8 -B/home/nuertey/zephyrproject/zephyr/build -GNinja -DBOARD=qemu_x86 -S/home/nuertey/zephyrproject/zephyr/samples/hello_world
Loading Zephyr default modules (Zephyr base).
-- Application: /home/nuertey/zephyrproject/zephyr/samples/hello_world
-- Found Python3: /home/nuertey/py37-venv/bin/python3.8 (found suitable exact version "3.8.0") found components: Interpreter
-- Cache files will be written to: /home/nuertey/.cache/zephyr
-- Zephyr version: 3.2.0-rc1 (/home/nuertey/zephyrproject/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: qemu_x86
-- Found host-tools: zephyr 0.15.0 (/media/nuertey/c24545b9-e61b-481b-8264-db16fd9b4ffc/home/rena/zephyr-sdk-0.15.0)
-- Found toolchain: zephyr 0.15.0 (/media/nuertey/c24545b9-e61b-481b-8264-db16fd9b4ffc/home/rena/zephyr-sdk-0.15.0)
-- Found Dtc: /media/nuertey/c24545b9-e61b-481b-8264-db16fd9b4ffc/home/rena/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/nuertey/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86.dts
-- Generated zephyr.dts: /home/nuertey/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/nuertey/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/nuertey/zephyrproject/zephyr/build/zephyr/dts.cmake
Parsing /home/nuertey/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/nuertey/zephyrproject/zephyr/build/zephyr/.config'
No change to configuration in '/home/nuertey/zephyrproject/zephyr/build/zephyr/.config'
No change to Kconfig header in '/home/nuertey/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'<Seemingly hung here as nothing happens regardless of how long I wait>
```
Thanks in advance.
Nuertey