Compile Error - Fedora 26
Brendan Coupe
brendan at coupeware.com
Mon Aug 7 23:31:50 UTC 2017
I already tried the libalkimia trick and it did not work this time.
I was running with -j 8. I tried -j 1 and it took a lot longer to
fail. I added -d to -j 1 and it also failed. I've copied the last part
of the output below (I switched GMail to plain text mode, I hope it
works).
======================================
Updating goal targets....
Considering target file
'kmymoney/dialogs/settings/CMakeFiles/settings_autogen.dir/build'.
File 'kmymoney/dialogs/settings/CMakeFiles/settings_autogen.dir/build'
does not exist.
Considering target file 'settings_autogen'.
File 'settings_autogen' does not exist.
Considering target file
'kmymoney/dialogs/settings/CMakeFiles/settings_autogen'.
File 'kmymoney/dialogs/settings/CMakeFiles/settings_autogen' does
not exist.
Considering target file
'kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h'.
File 'kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h' does
not exist.
Considering target file
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui'.
Looking for an implicit rule for
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui'.
Trying pattern rule with stem 'ksettingsreportsdecl.ui'.
Trying implicit prerequisite
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui,v'.
Trying pattern rule with stem 'ksettingsreportsdecl.ui'.
Trying implicit prerequisite
'../kmymoney/dialogs/settings/RCS/ksettingsreportsdecl.ui,v'.
Trying pattern rule with stem 'ksettingsreportsdecl.ui'.
Trying implicit prerequisite
'../kmymoney/dialogs/settings/RCS/ksettingsreportsdecl.ui'.
Trying pattern rule with stem 'ksettingsreportsdecl.ui'.
Trying implicit prerequisite
'../kmymoney/dialogs/settings/s.ksettingsreportsdecl.ui'.
Trying pattern rule with stem 'ksettingsreportsdecl.ui'.
Trying implicit prerequisite
'../kmymoney/dialogs/settings/SCCS/s.ksettingsreportsdecl.ui'.
No implicit rule found for
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui'.
Finished prerequisites of target file
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui'.
No need to remake target
'../kmymoney/dialogs/settings/ksettingsreportsdecl.ui'.
Finished prerequisites of target file
'kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h'.
Must remake target 'kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h'.
Putting child 0x5650981b3250
(kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h) PID 25150 on the
chain.
Live child 0x5650981b3250
(kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h) PID 25150
[ 40%] Generating ui_ksettingsreportsdecl.h
Reaping winning child 0x5650981b3250 PID 25150
Live child 0x5650981b3250
(kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h) PID 25151
Reaping winning child 0x5650981b3250 PID 25151
Removing child 0x5650981b3250 PID 25151 from chain.
Successfully remade target file
'kmymoney/dialogs/settings/ui_ksettingsreportsdecl.h'.
Considering target file '//kmymoneysettings.h'.
File '//kmymoneysettings.h' does not exist.
Looking for an implicit rule for '//kmymoneysettings.h'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//kmymoneysettings.h,v'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//RCS/kmymoneysettings.h,v'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//RCS/kmymoneysettings.h'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//s.kmymoneysettings.h'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//SCCS/s.kmymoneysettings.h'.
No implicit rule found for '//kmymoneysettings.h'.
Finished prerequisites of target file '//kmymoneysettings.h'.
Must remake target '//kmymoneysettings.h'.
make[2]: *** No rule to make target '//kmymoneysettings.h', needed by
'kmymoney/dialogs/settings/CMakeFiles/settings_autogen'. Stop.
make[1]: *** [CMakeFiles/Makefile2:6746:
kmymoney/dialogs/settings/CMakeFiles/settings_autogen.dir/all] Error 2
Reaping losing child 0x55f623a17eb0 PID 25149
Removing child 0x55f623a17eb0 PID 25149 from chain.
Reaping losing child 0x562b4a7e71d0 PID 20578
make: *** [Makefile:163: all] Error 2
Removing child 0x562b4a7e71d0 PID 20578 from chain.
=============================================================
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//kmymoneysettings.h,v'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//RCS/kmymoneysettings.h,v'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//RCS/kmymoneysettings.h'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//s.kmymoneysettings.h'.
Trying pattern rule with stem 'kmymoneysettings.h'.
Trying implicit prerequisite '//SCCS/s.kmymoneysettings.h'.
No implicit rule found for '//kmymoneysettings.h'.
Finished prerequisites of target file '//kmymoneysettings.h'.
Must remake target '//kmymoneysettings.h'.
Reaping losing child 0x55f623a17eb0 PID 25149
Removing child 0x55f623a17eb0 PID 25149 from chain.
Reaping losing child 0x562b4a7e71d0 PID 20578
Removing child 0x562b4a7e71d0 PID 20578 from chain.
----
Brendan Coupe
On Mon, Aug 7, 2017 at 10:57 AM, Jack <ostroffjh at users.sourceforge.net> wrote:
> Hello Brendan,
>
> On 2017.08.07 12:28, Brendan Coupe wrote:
>>
>> I have been compiling KMM from source for many years. I have been using
>> the 4.8 branch recently.
>>
>> I upgraded from Fedora 25 to Fedora 26 a couple of weeks ago. Compiling
>> fails pretty early in the process. See the last part of the output below. It
>> compiled from source without any issues prior to the OS upgrade.
>>
>> Any idea what is going wrong?
>>
>> =======================================================
>> *Generating MOC source EWIEGA46WW/moc_lendborrowwizardpage.cppGenerating
>> MOC source JKU67JSAFJ/moc_KDChartTernaryPointDiagram.cppGenerating MOC
>> source EWIEGA46WW/moc_loanamountwizardpage.cppGenerating MOC compilation
>> mocs_compilation.cpp[ 6%] Built target kmm_kdchart_autogenGenerating MOC
>> source EWIEGA46WW/moc_loanattributeswizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_namewizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_newcalculateloanwizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_newgeneralinfowizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_newintrowizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_newpaymentswizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_paymenteditwizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_paymentfrequencywizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_paymentwizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_previouspaymentswizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_recordpaymentwizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_schedulewizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_summaryeditwizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_summarywizardpage.cppGenerating MOC source
>> EWIEGA46WW/moc_variableinterestdatewizardpage.cppGenerating MOC
>> compilation
>> mocs_compilation.cpp[ 6%] Built target newloanwizard_autogenmake: ***
>> [Makefile:163: all] Error 2*
>> **=======================================================
>
>
> First please consider sending plain text and not HTML to the list - you can
> see it messes up wrapping.
>
> This seems similar to a problem you had last October. Have you tried "make
> -d" (or some slightly less verbose variant) to get debugging info? What -j
> value are you using? I believe at that time, make (or gcc?) couldn't find
> some header file, which you fixed by removing and reinstalling libalkimia.
>
> Jack
More information about the KMyMoney-devel
mailing list