New Build Error on Reinstall of Distro

Thomas Baumgart thb at net-bembel.de
Sun Aug 2 10:01:54 BST 2020


On Sonntag, 2. August 2020 01:05:21 CEST Joel Madero wrote:

> Just reinstalled my distro and I'm getting a build error on Ubuntu 18.04
> based distro.
> 
> [  0%] Automatic MOC for target kmm_icons
> [  0%] Built target kmm_icons_autogen
> [  0%] Built target kmm_icons
> [  0%] Automatic MOC for target kmm_payeeidentifier
> [  0%] Built target kmm_payeeidentifier_autogen
> [  0%] Built target kmm_payeeidentifier
> [  0%] Automatic MOC for target kmm_plugin
> [  0%] Built target kmm_plugin_autogen
> [  1%] Built target kmm_plugin
> [  1%] Automatic MOC for target onlinetask_interfaces
> [  1%] Built target onlinetask_interfaces_autogen
> [  2%] Built target onlinetask_interfaces
> [  2%] Automatic MOC for target kmm_mymoney
> [  2%] Built target kmm_mymoney_autogen
> [  2%] Building CXX object
> kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/storage/templatesmodel.cpp.o
> /data/kmymoney/kmymoney/mymoney/storage/templatesmodel.cpp:43:10: fatal
> error: kmymoneysettings.h: No such file or directory
>  #include "kmymoneysettings.h"
>           ^~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/build.make:1334: recipe for
> target
> 'kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/storage/templatesmodel.cpp.o'
> failed
> make[2]: ***
> [kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/storage/templatesmodel.cpp.o]
> Error 1
> CMakeFiles/Makefile2:556: recipe for target
> 'kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/all' failed
> make[1]: *** [kmymoney/mymoney/CMakeFiles/kmm_mymoney.dir/all] Error 2
> Makefile:140: recipe for target 'all' failed
> make: *** [all] Error 2

Fixed in master. This only showed when 'make -j1' was used. I usually run with
'make -j13' and it did not fail because the include file was generated in the
background by one of the other threads.

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
A: Because it destroys the flow of the conversation
Q: Why is top-posting bad?
A: Top-posting
Q: What is the most annoying thing in e-mail?
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20200802/e756c7ba/attachment.sig>


More information about the KMyMoney-devel mailing list