Bug 384258 - kmymoney build fails with cmake 3.9
Summary: kmymoney build fails with cmake 3.9
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: buildsystem (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 09:26 UTC by Ralf Habacker
Modified: 2019-08-29 00:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1
ralf.habacker: Version_5-


Attachments
full log (100.11 KB, text/plain)
2017-09-01 09:26 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2017-09-01 09:26:08 UTC
Created attachment 107638 [details]
full log

Building kmymoney from git master branch with cmake 3.9 fails with the following error:

[  116s] CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
[  116s]   "onlinetask_interfaces" of type STATIC_LIBRARY
[  116s]     depends on "onlinetask_unavailabletask" (weak)
[  116s]   "onlinetask_unavailabletask" of type STATIC_LIBRARY
[  116s]     depends on "onlinetask_interfaces" (weak)
[  116s]     depends on "onlinetask_unavailabletask_autogen" (strong)
[  116s]   "onlinetask_unavailabletask_autogen" of type UTILITY
[  116s]     depends on "onlinetask_interfaces" (strong)
[  116s] At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
[  116s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/kmymoney-4.99.40.fb8c80ff/build
[  116s] error: Bad exit status from /var/tmp/rpm-tmp.Xo4GqZ (%build)
[  116s]
Comment 1 NSLW 2017-09-01 12:47:37 UTC
You're not at the latest commit.
Comment 2 Ralf Habacker 2017-09-03 13:02:45 UTC
Git commit 79176db9fa18a7486f4c1194ea3377eb6637a023 by Ralf Habacker.
Committed on 03/09/2017 at 13:01.
Pushed by habacker into branch '4.8'.

Fix compilation with CMake 3.9

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
(cherry picked from commit 747762d138682be9abbe7307680013cd643da8cb)

# Conflicts:
#	kmymoney/mymoney/CMakeLists.txt
#	kmymoney/mymoney/storage/tests/CMakeLists.txt
#	kmymoney/mymoney/tests/CMakeLists.txt

FIXED-IN:4.8.1

M  +2    -1    kmymoney/mymoney/CMakeLists.txt

https://commits.kde.org/kmymoney/79176db9fa18a7486f4c1194ea3377eb6637a023