Hello everyone,

The tutorials provided here are failing to build for me:
https://github.com/seL4/sel4-tutorials

Here are the steps to reproduce the errors:

git clone g...@github.com:seL4/seL4-CAmkES-L4v-dockerfiles.git &&
git clone g...@github.com:seL4/sel4-tutorials.git &&
make -C ./seL4-CAmkES-L4v-dockerfiles user HOST_DIR=$(pwd)\

followed by

cd sel4-tutorials &&
mkdir build &&
cd build &&
../init.py --plat pc99 --tut camkes-vm-linux

Then I am met with the error:
ERROR:root:Parent directory is not tutorials root directory

which I can fix by changing this line to read "init.py":
https://github.com/seL4/sel4-tutorials/blob/d040028999b83c6af2309785f7468107b7cdda08/init.py#L70

Trying again after this edit, I meet the following errors:

loading initial cache file ../projects/sel4-tutorials/settings.cmake
CMake Error: Error processing file:
../projects/sel4-tutorials/settings.cmake
CMake Error: The source directory "/host/sel4-tutorials/build" does not
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
  File "../init.py", line 90, in <module>
    sys.exit(main())
  File "../init.py", line 78, in main
    result = common.init_directories(args.plat, args.tut, args.solution,
  File "/host/sel4-tutorials/common.py", line 101, in init_directories
    return _init_build_directory(config, initialised, build_directory,
tute_directory, output, config_dict=config_dict)
  File "/host/sel4-tutorials/common.py", line 69, in _init_build_directory
    return sh.cmake(args + [tute_directory], _cwd=directory, _out=output,
_err=output)
  File "/usr/local/lib/python3.8/dist-packages/sh.py", line 1520, in
__call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
  File "/usr/local/lib/python3.8/dist-packages/sh.py", line 784, in __init__
    self.wait()
  File "/usr/local/lib/python3.8/dist-packages/sh.py", line 841, in wait
    self.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python3.8/dist-packages/sh.py", line 865, in
handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /usr/bin/cmake -G Ninja -DTUT_BOARD=pc -DTUT_ARCH=x86_64
-DFORCE_IOMMU=ON -DTUTORIAL_DIR=build -C
../projects/sel4-tutorials/settings.cmake /host/sel4-tutorials/build

  STDOUT:


  STDERR:


Either I'm missing something obvious or these instructions have fallen out
of date. In any case I would be grateful for any advice.

Best,
Michael Neises
_______________________________________________
Devel mailing list -- devel@sel4.systems
To unsubscribe send an email to devel-leave@sel4.systems

Reply via email to