Error building hello world #samples


mdecandia@...
 

Hi all,
I'm trying to build hello_world sample on Ubuntu 19.10 with west buld command. I'm having the following issue:

west build -b qemu_x86 $PWD/samples/hello_world
-- west build: build configuration:
       source directory: /home/michele/devel/zephyr/samples/hello_world
       build directory: /home/michele/devel/zephyr/build
       BOARD: qemu_x86 (origin: command line)
-- west build: generating a build system
Zephyr version: 2.1.0
-- Selected BOARD qemu_x86
-- Found west: /home/michele/.local/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
CMake Error at /home/michele/devel/zephyr/cmake/zephyr_module.cmake:45 (message):
  Traceback (most recent call last):
 
    File "/home/michele/devel/zephyr/scripts/zephyr_module.py", line 167, in <module>
      main()
    File "/home/michele/devel/zephyr/scripts/zephyr_module.py", line 158, in main
      process_module(project, cmake_out_file, kconfig_out_file)
    File "/home/michele/devel/zephyr/scripts/zephyr_module.py", line 68, in process_module
      pykwalify.core.Core(source_data=meta, schema_data=schema)\
    File "/home/michele/.local/lib/python3.7/site-packages/pykwalify/core.py", line 114, in __init__
      raise CoreError(u"No source file/data was loaded")
 
  pykwalify.errors.CoreError: <CoreError: error code 3: No source file/data
  was loaded: Path: '/'>
 
Call Stack (most recent call first):
  /home/michele/devel/zephyr/cmake/app/boilerplate.cmake:458 (include)
  CMakeLists.txt:5 (include)
 
 
-- Configuring incomplete, errors occurred!
ERROR: command exited with status 1: /usr/bin/cmake -B/home/michele/devel/zephyr/build -S/home/michele/devel/zephyr/samples/hello_world -GNinja -DBOARD=qemu_x86


Any idea?

Thanks

Join devel@lists.zephyrproject.org to automatically receive all group messages.