CMake Error at src/qt/CMakeLists.txt:524 (target_link_libraries):
  Target "ui" links to:

    X11::Xi

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS
    SLIRP_EXTERNAL


CMake Generate step failed.  Build files cannot be regenerated correctly.
Traceback (most recent call last):
  File "/var/pisi/86box/actions.py", line 23, in setup
    cmaketools.configure("-S . -B %s %s" % (build_dir, flags))
  File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 65, in configure
    if system(args):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B _build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=cmake/flags-gcc-x86_64.cmake -DRELEASE=on -DUSE_QT6=on -DSLIRP_EXTERNAL=on -DRTMIDI=off -DDISCORD=off ." failed, return value was 1.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.