SkiffOS: ${BUILDROOT_DIR}/host/bin/qemu-system is missing

Hello,

First, thanks for the great project!

I have a problem mentioned in the subject. It might be a silly mistake, but please help.

I ran the following steps, as mentioned here. by 2022.11.1 release. Host OS is Ubuntu 18.04.5 LTS.

$ export SKIFF_WORKSPACE=qemu
$ export SKIFF_CONFIG=intel/x64,virt/qemu
$ make configure
$ make compile
$ sudo apt install qemu-utils
$ make cmd/virt/qemu/run

The build itself look correctly completed as following.

(snip)
/home/yokoyama/SkiffOS/workspaces/qemu/host/bin/mkimage -A x86_64 -T ramdisk -C none -d /home/yokoyama/SkiffOS/workspaces/qemu/images/rootfs.cpio.lz4 /home/yokoyama/SkiffOS/workspaces/qemu/images/rootfs.cpio.uboot
Image Name:
Created:      Tue Feb 28 18:01:48 2023
Image Type:   AMD x86_64 Linux RAMDisk Image (uncompressed)
Data Size:    206271942 Bytes = 201437.44 KiB = 196.72 MiB
Load Address: 00000000
Entry Point:  00000000
ln -snf /home/yokoyama/SkiffOS/workspaces/qemu/host/x86_64-buildroot-linux-gnu/sysroot /home/yokoyama/SkiffOS/workspaces/qemu/staging
>>>   Executing post-image script /home/yokoyama/SkiffOS/workspaces/.config_qemu//post_build.sh
make[2]: Leaving directory '/home/yokoyama/SkiffOS/workspaces/qemu'
Compilation complete!
make[1]: Leaving directory '/home/yokoyama/SkiffOS/build'

However, I saw the following error.

/home/yokoyama/SkiffOS/configs/virt/qemu/scripts/execute_qemu.sh: line 70:
    /home/yokoyama/SkiffOS/workspaces/qemu/host/bin/qemu-system: No such file or directory

I don’t see qemu-system in workspaces/qemu/host/bin.

What step is required to build the qemu-system?

Any suggestion would be appreciated.

Regards,

Atsushi

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17

Commits related to this issue

Most upvoted comments

@yokoyama-flogics well, there you have it! It requires a newer gcc.

I’ll update the docs, thanks for looking into this.

@paralin ,

OK. I will try master branch this evening!

Thank you for your suggestion!! And I won’t forget git submodule update in the top directory from now on.

Regards,

Atsushi