Bug 297008

Summary: kmymoney-4.6.2 fails at parallel make - fatal error: kmymoneysettings.h: No such file or directory
Product: [Applications] kmymoney Reporter: Andreas K. Huettel <dilfridge>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: onet.cristian
Priority: NOR    
Version: 4.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andreas K. Huettel 2012-03-29 05:06:02 UTC
This is a clone of https://bugs.gentoo.org/show_bug.cgi?id=407611

With agressive MAKEOPTS settings, build fails at 
In file included from /var/portage/tmpfs/portage/app-office/kmymoney-4.6.2/work/kmymoney-4.6.2/kmymoney/widgets/transactionform.cpp:48:0:
/var/portage/tmpfs/portage/app-office/kmymoney-4.6.2/work/kmymoney-4.6.2/kmymoney/kmymoneyglobalsettings.h:33:30: fatal error: kmymoneysettings.h: No such file or directory
compilation terminated.

For the full log, please see the URL above...
Comment 1 Cristian Oneț 2012-04-10 17:36:21 UTC
Git commit 25ee292b205e6085ba624b8ac8a45fe11a99e5cc by Cristian Oneț.
Committed on 10/04/2012 at 19:25.
Pushed by conet into branch 'master'.

The kmymoney_base target must depend on the kmm_config config target to avoid build failures when aggresive parallel make is used.

M  +2    -0    kmymoney/widgets/CMakeLists.txt

http://commits.kde.org/kmymoney/25ee292b205e6085ba624b8ac8a45fe11a99e5cc
Comment 2 Cristian Oneț 2012-04-10 17:38:24 UTC
Since I was not able to reproduce this bug (make -j 20 ran fine) please reopen it if the fix does not work as expected.
Comment 3 Cristian Oneț 2012-05-08 16:14:15 UTC
Git commit 694989f8c6bda9b4e3350a36a4d9c98f07f71250 by Cristian Oneț.
Committed on 10/04/2012 at 19:25.
Pushed by conet into branch '4.6'.

The kmymoney_base target must depend on the kmm_config config target to avoid build failures when aggresive parallel make is used.
(cherry picked from commit 25ee292b205e6085ba624b8ac8a45fe11a99e5cc)

M  +2    -0    kmymoney/widgets/CMakeLists.txt

http://commits.kde.org/kmymoney/694989f8c6bda9b4e3350a36a4d9c98f07f71250