Bug 470216 - latte does not build on KDE neon unstable (Qt 6 Preview)
Summary: latte does not build on KDE neon unstable (Qt 6 Preview)
Status: RESOLVED NOT A BUG
Alias: None
Product: lattedock
Classification: Unmaintained
Component: library (other bugs)
Version First Reported In: git (master)
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-05-24 15:09 UTC by leo.mann
Modified: 2023-06-21 15:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leo.mann 2023-05-24 15:09:38 UTC
SUMMARY
On the current (05/24/23) snapshot of KDE neon Unstable latte won't build due to cmake errors

'''
CMake Error at CMakeLists.txt:39 (find_package):
  By not providing "FindLibTaskManager.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "LibTaskManager", but CMake did not find one.

  Could not find a package configuration file provided by "LibTaskManager"
  with any of the following names:

    LibTaskManagerConfig.cmake
    libtaskmanager-config.cmake

  Add the installation prefix of "LibTaskManager" to CMAKE_PREFIX_PATH or set
  "LibTaskManager_DIR" to a directory containing one of the above files.  If
  "LibTaskManager" provides a separate development package or SDK, be sure it
  has been installed.
'''
All packages from the INSTALLATION.md are installed.

OBSERVED RESULT
build error

EXPECTED RESULT
build

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Comment 1 Justin Zobel 2023-06-03 04:00:14 UTC
Install plasma-workspace-devel or whatever that package is called on Neon. If this works please let me know and I will send a Merge Request to the INSTALLATION.md file to include it.
Comment 2 leo.mann 2023-06-03 07:16:49 UTC
this changes the error message:

"
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:37 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt::Core

  Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreConfig.cmake:65 (include)
  /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib/x86_64-linux-gnu/cmake/LibTaskManager/LibTaskManagerConfig.cmake:38 (find_dependency)
  CMakeLists.txt:39 (find_package)
"
Comment 3 Justin Zobel 2023-06-03 07:26:30 UTC
Just taking a look at the git repository it doesn't look like it's actually been ported to Qt/KF6 yet. I think you'll have to wait for someone to step up and port it. Many apps are still in various stages of being ported.
Comment 4 Justin Zobel 2023-06-21 15:11:15 UTC
I'm going to close this bug for now as there's no way to currently build latte dock. Once there is if you face any build issues feel free to open a new bug.