<div dir="ltr"><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif">I have several successful build folders left over from before the upgrade to Fedora 26. They all contain kmymoneysettings.h in {source path)/</font><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif">build/kmymoney/kmymoneysettings.h</span></div><div class="gmail_default"><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif"><br></span></div><div class="gmail_default"><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif">The 2 recent failed build folders have the same file in the same folder and they are an exact match.</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">I download a fresh copy of the source - 4.8 branch - each time I compile. I know that's not the most efficient way but I had problems many years ago so I modified my build script to get a clean copy each time.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">I'm not sure what you mean by in tree or out of tree. My build script creates a new date and time stamped folder, downloads the source into it, creates a new folder in the source folder called build and then I run cmake and make in that folder.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">Here are the relevant lines from my script:</div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif">git clone git://<a href="http://anongit.kde.org/kmymoney">anongit.kde.org/kmymoney</a> --branch 4.8  $BP/$KMMDIR</font><br></div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif">cmake </font><span style="color:rgb(7,55,99);font-family:tahoma,sans-serif">$BP/$KMMDIR</span><font color="#073763" face="tahoma, sans-serif"> -DCMAKE_INSTALL_PREFIX=/usr/</font><br></div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif">make -j 8<br></font></div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif">This all worked fine until I upgrade to Fedora 26 so it seems like it's not s KMM issue but something has changed in Fedora 26. It's a problem on both my desktop and laptop. I have one other system that I have not upgraded that I may be be able to test it on but we just moved and I have not set that system up yet so I'm not sure when I will get to it.</font></div><div class="gmail_default"><font color="#073763" face="tahoma, sans-serif"><br></font></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="tahoma, sans-serif" size="2" color="#073763"><b><br></b></font></div><div dir="ltr"><font face="tahoma, sans-serif" size="2" color="#073763"><b>----<br>Brendan Coupe</b></font><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Aug 8, 2017 at 10:51 AM, Jack <span dir="ltr"><<a href="mailto:ostroffjh@users.sourceforge.net" target="_blank">ostroffjh@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On <a href="tel:2017.08.07%2019" value="+12017080719" target="_blank">2017.08.07 19</a>:31, Brendan Coupe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I already tried the libalkimia trick and it did not work this time.<br>
</blockquote></span>
That would only work if it was an alkimia file which was missing, and it was missing because your alkimia install was broken.<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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).<br>
</blockquote></span>
Mail formatting is good - thanks.<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
==============================<wbr>========<br>
Updating goal targets....<br>
Considering target file<br>
'kmymoney/dialogs/settings/CMa<wbr>keFiles/settings_autogen.dir/<wbr>build'.<br>
 File 'kmymoney/dialogs/settings/CMa<wbr>keFiles/settings_autogen.dir/<wbr>build'<br>
does not exist.<br>
</blockquote></span>
[snip....]<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
      Must remake target '//kmymoneysettings.h'.<br>
</blockquote></span>
I probably snipped too many lines, but the problem is it can't find kmymoneysettings.h.  That file is not in the source, but gets created in $build_dir/kmymoney.  So we need to figure out why it isn't being made.<br>
<br>
First - what sources are you using?  If you are pulling from git head of the 4.8 branch, confirm that "git status" doesn't show anything amiss.<br>
<br>
Second - are you building in tree, or out of tree.  The latter is recommended as safer.<br>
<br>
If that's not enough, we may have to track down where in the build process that file SHOULD be created, and why it's not happening.<span class="HOEnZb"><font color="#888888"><br>
<br>
Jack</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Mon, Aug 7, 2017 at 10:57 AM, Jack <<a href="mailto:ostroffjh@users.sourceforge.net" target="_blank">ostroffjh@users.sourceforge.n<wbr>et</a>> wrote:<br>
> Hello Brendan,<br>
><br>
> On <a href="tel:2017.08.07%2012" value="+12017080712" target="_blank">2017.08.07 12</a>:28, Brendan Coupe wrote:<br>
>><br>
>> I have been compiling KMM from source for many years. I have been using<br>
>> the 4.8 branch recently.<br>
>><br>
>> I upgraded from Fedora 25 to Fedora 26 a couple of weeks ago. Compiling<br>
>> fails pretty early in the process. See the last part of the output below. It<br>
>> compiled from source without any issues prior to the OS upgrade.<br>
>><br>
>> Any idea what is going wrong?<br>
>><br>
>> ==============================<wbr>=========================<br>
>> *Generating MOC source EWIEGA46WW/moc_lendborrowwizar<wbr>dpage.cppGenerating<br>
>> MOC source JKU67JSAFJ/moc_KDChartTernaryP<wbr>ointDiagram.cppGenerating MOC<br>
>> source EWIEGA46WW/moc_loanamountwizar<wbr>dpage.cppGenerating MOC compilation<br>
>> mocs_compilation.cpp[  6%] Built target kmm_kdchart_autogenGenerating MOC<br>
>> source EWIEGA46WW/moc_loanattributesw<wbr>izardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_namewizardpage.<wbr>cppGenerating MOC source<br>
>> EWIEGA46WW/moc_newcalculateloa<wbr>nwizardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_newgeneralinfow<wbr>izardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_newintrowizardp<wbr>age.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_newpaymentswiza<wbr>rdpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_paymenteditwiza<wbr>rdpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_paymentfrequenc<wbr>ywizardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_paymentwizardpa<wbr>ge.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_previouspayment<wbr>swizardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_recordpaymentwi<wbr>zardpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_schedulewizardp<wbr>age.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_summaryeditwiza<wbr>rdpage.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_summarywizardpa<wbr>ge.cppGenerating MOC source<br>
>> EWIEGA46WW/moc_variableinteres<wbr>tdatewizardpage.cppGenerating MOC<br>
>> compilation<br>
>> mocs_compilation.cpp[  6%] Built target newloanwizard_autogenmake: ***<br>
>> [Makefile:163: all] Error 2*<br>
>> **============================<wbr>===========================<br>
><br>
><br>
> First please consider sending plain text and not HTML to the list - you can<br>
> see it messes up wrapping.<br>
><br>
> This seems similar to a problem you had last October.   Have you tried "make<br>
> -d" (or some slightly less verbose variant) to get debugging info?  What -j<br>
> value are you using?  I believe at that time, make (or gcc?) couldn't find<br>
> some header file, which you fixed by removing and reinstalling libalkimia.<br>
><br>
> Jack<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>