[umbrello] [Bug 424794] Cannot build on Ubuntu 18.04 (#include <ThreadWeaver/Sequence> is not found)

Robert Hairgrove bugzilla_noreply at kde.org
Thu Jul 30 14:21:06 BST 2020


https://bugs.kde.org/show_bug.cgi?id=424794

--- Comment #4 from Robert Hairgrove <code at roberthairgrove.com> ---
(In reply to Ralf Habacker from comment #3)
> (In reply to Ralf Habacker from comment #2)
> > (In reply to Robert Hairgrove from comment #1)
> > > Seems like CMake is creating an extra ThreadWeaver subdirectory under
> > > /usr/include/KF5/ThreadWeaver?
> > 
> > which is provided by the threadewever development package  
> > $ rpm -q -f /usr/include/KF5/ThreadWeaver/
> > threadweaver-devel-5.55.0-lp151.1.1.x86_64
> > 
> > This package also provides the associated cmake config files to support
> > find_package(). 
> > 
> > grep -rn INCLUDE 
> > /usr/lib64/cmake/KF5ThreadWeaver/KF5ThreadWeaverTargets.cmake
> > 66:  INTERFACE_INCLUDE_DIRECTORIES
> > "${_IMPORT_PREFIX}/include/KF5/ThreadWeaver;${_IMPORT_PREFIX}/include/KF5"
> > 
> > At least on opensuse leap 15.1 it includes the initial mentioned directoy
> > and should be added to the compile line by default.
> > 
> > running 
> > 
> > make VERBOSE=1
> > 
> > gives some more hints which directories are included.
> 
> $~/src/umbrello-master-kf5-build/lib/kdevplatform> make tests/testcore.o
> VERBOSE=1
>
> ...8<...snip...
> 
> This command line has 
> 
> -isystem
> /usr/include/KF5/ThreadWeaver
> 
> included.
> 
> As the library KDevTests, which testcore.o is added, only links to
> KDev::Shell, the issue seems to be located in the cmake support for that
> library.
> It would be for interest, which kdevplatform is used to compile umbrello
> 
> With 
> 
> $: rpm -q  kdevplatform-devel
> kdevplatform-devel-5.3.2-lp151.1.3.x86_64
> 
> it works.

Here is the CMake command I used:

cmake -DCMAKE_INSTALL_PREFIX=$HOME/umbrello -DBUILD_KF5=1
-DCMAKE_BUILD_TYPE=Debug ../

Let me know if I should add any additional information (I included the CMake
log file in my initial report).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list