CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message):
  KDE_INSTALL_LIBDIR got its value from CMAKE_INSTALL_LIBDIR.  In most cases
  this is unintended, check if you included GNUInstallDirs before
  KDEInstallDirs.  Some third party modules include GNUInstallDirs too so eg.
  find_package(Qt6 ...) is equivalent to include(GNUInstallDirs).  If you set
  CMAKE_INSTALL_LIBDIR deliberately before including KDEInstallDirs its
  recommended to use KDE_INSTALL_LIBDIR instead to suppress this message.
Call Stack (most recent call first):
  /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:261 (_define_relative)
  /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:203 (include)
  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:17 (include)
  CMakeLists.txt:29 (include)


CMake Warning at /usr/share/ECM/modules/ECMCheckOutboundLicense.cmake:88 (message):
  Reuse tool not found, skipping test generation
Call Stack (most recent call first):
  CMakeLists.txt:42 (include)


CMake Error at /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets.cmake:115 (message):
  The imported target "Qt6::QMYSQLDriverPlugin" references the file

     "/usr/lib/qt6/plugins/sqldrivers/libqsqlmysql.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfig.cmake:56 (include)
  /usr/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:515 (include)
  /usr/lib/cmake/Qt6Sql/Qt6SqlPlugins.cmake:13 (__qt_internal_include_plugin_packages)
  /usr/lib/cmake/Qt6Sql/Qt6SqlConfig.cmake:206 (include)
  /usr/lib/cmake/Qt6/Qt6Config.cmake:263 (find_package)
  CMakeLists.txt:126 (find_package)


Traceback (most recent call last):
  File "/var/pisi/ktextaddons/actions.py", line 29, in setup
    -DQT_MAJOR_VERSION=6")
  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 -B build6 -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_DESIGNERPLUGIN=ON -DBUILD_WITH_QT5:BOOL=OFF -DBUILD_QCH=ON -DQT_MAJOR_VERSION=6 ." failed, return value was 1.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.