a-parhom / LightlyShaders

Rounded window corners and outline effect for KWin.
362 stars 24 forks source link

Error during Plasma6 Build #138

Open ChrTall opened 4 months ago

ChrTall commented 4 months ago

I get the following error when I try to create a rpm package for the plasma6 branch:

[    5s] -- Configuring done (1.9s)
[    5s] CMake Error in src/lightlyshaders/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] CMake Error in src/lightlyshaders/kcm/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] CMake Error in src/liblshelper/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] CMake Error in src/lightlyshaders/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] CMake Error in src/lightlyshaders/kcm/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] CMake Error in src/liblshelper/CMakeLists.txt:
[    5s]   Imported target "Qt6::CorePrivate" includes non-existent path
[    5s] 
[    5s]     "/usr/include/qt6/QtCore/6.7.0"
[    5s] 
[    5s]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[    5s] 
[    5s]   * The path was deleted, renamed, or moved to another location.
[    5s] 
[    5s]   * An install or uninstall procedure did not complete successfully.
[    5s] 
[    5s]   * The installation package was faulty and references files it does not
[    5s]   provide.
[    5s] 
[    5s] 
[    5s] 
[    5s] -- Generating done (0.0s)
[    5s] CMake Generate step failed.  Build files cannot be regenerated correctly.
[    5s] error: Bad exit status from /var/tmp/rpm-tmp.Azp44M (%build)
[    5s] 
[    5s] RPM build errors:
[    5s]     Bad exit status from /var/tmp/rpm-tmp.Azp44M (%build)
[    5s] 
[    5s] localhost.localdomain failed "build LightlyShaders.spec" at Thu May  9 13:46:55 UTC 2024.
[    5s] 
ericr35811 commented 4 months ago

i got it to build by creating a symlink to the directory it wants:

sudo ln -s /usr/include/qt6/QtCore/ /usr/include/qt6/QtCore/6.7.0

i don't know why it wants the "6.7.0" subdirectory, all i know is that it builds after making the symlink