<HTML><HEAD><!-- Template generated by Exclaimer Mail Disclaimers on 01:28:49 woensdag, 24 augustus 2016 -->
<STYLE type=text/css>P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY>
<P class=ImprintUniqueID><div>On 24-08-16 09:18, Richard Purdie wrote:<br />> On Wed, 2016-08-24 at 08:35 +0200, Mike Looijmans wrote:<br />>> First time I've heard about this limitation, I don't understand<br />>> what's this about either. I've been telling people to put their arch<br />>> or machine specific code into a seperate package and RDEPEND on it<br />>> from an allarch package that holds the Python code that calls into<br />>> that.<br />>><br />>> We haven't seen any problems with that.<br />>><br />>> So what is the bad thing that would happen if we don't set the<br />>> SIGGEN_EXCLUDE... variables in the layer.conf file?<br />><br />> If you have an allarch recipe X and you depend on a tune or machine<br />> specific package from it, what you'll see is that when you switch<br />> MACHINE (with a different tune), the recipe X will rebuild each time.<br /><br />So it's just inefficient, but does not break things?<br /><br />> This is obviously suboptimal however its not the end of the world. It<br />> is problematic if you're using PR server.<br /><br />Which brings me to the next question: What would go wrong then?<br /><br />(PR server is somewhat mandatory today)<br /><br />> The reason it rebuilds is that its checksum has a dependency on<br />> something which is tune or machine specific, you change MACHINE, the<br />> checksum changes and the allarch recipe's checksum changes.<br />><br />> If we remove the dependency from the task checksum, the problem isn't<br />> there and it doesn't rebuild, however there are some circumstances<br />> where this could be an issue, e.g. if a dependency name was renamed by<br />> debian.bbclass for example.<br />><br />> The mechanism for removing such a dependency is the one I've mentioned<br />> in layer.conf.<br />><br />> You can see if you have a problem with your layers by running:<br />><br />> oe-selftest -r sstatetests.SStateTests.test_sstate_allarch_samesigs<br />><br />> Does that make the issue any clearer?<br /><br />A bit. But I don't understand what I have to fill in where. Example:<br /><br /><br />mike@mikebuntu:~/.../recipes-spike/spike$ cat spikeall.bb<br />LICENSE="CLOSED"<br />inherit allarch<br />RDEPENDS_${PN} = "spikemach"<br />do_install() {<br /> install -d ${D}${bindir}<br /> echo 'cat ${sysconfdir}/hello' > ${S}/${PN}.sh<br /> install -m 755 ${S}/${PN}.sh ${D}${bindir}<br />}<br />mike@mikebuntu:~/.../recipes-spike/spike$ cat spikemach.bb<br />LICENSE="CLOSED"<br />PACKAGE_ARCH="${MACHINE_ARCH}"<br />PV="2"<br />do_install() {<br /> install -d ${D}${sysconfdir}<br /> echo "${MACHINE}" > ${D}${sysconfdir}/hello<br />}<br /><br /><br />I run "bitbake spikeall" and both packages get built.<br /><br />I run "bitbake spikeall" and nothing builds (which is good)<br /><br />Change the PV in spikemach.bb, and run "bitbake spikeall". Both spikemach and <br />spikeall are built (which is the problem we're talking about then, spikeall <br />needn't build again).<br /><br />I add the following line to the layer.conf in that layer:<br /><br />SIGGEN_EXCLUDERECIPES_ABISAFE += "spikeall"<br /><br />No change, spikeall still gets rebuilt along with spikemach.<br /><br />The other way around maybe?<br /><br />SIGGEN_EXCLUDERECIPES_ABISAFE += "spikemach"<br /><br />Now it appears to work. Changing spikemach no longer causes spikeall to rebuild.<br /><br />I have no clue as to why this would be needed, but I'll take your word for it.<br /><br />Why can't we just do SIGGEN_EXCLUDERECIPES_ABISAFE="1" in the spikemach.bb <br />recipe? That's much easier to maintain and understand...<br /><br /></div></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT> </P>
<P class=ImprintUniqueID><FONT face="Calibri Light">Kind regards,</FONT></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT> </P>
<P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:12pt;font-weight:bold;'>Mike Looijmans</font></P>
<P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:12pt;'>System Expert</font></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT> </P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT></P>
<P class=ImprintUniqueID><FONT face="Calibri Light"></FONT></P>
<P class=ImprintUniqueID><img width=375 height=74 style='border: 0px Solid ; 'src="cid:imagec229b8.PNG@43032e80.4885f7eb"><BR /><BR /></P>
<P class=ImprintUniqueID>
<TABLE class=ImprintUniqueIDTable style="HEIGHT: 72px; BORDER-COLLAPSE: collapse; WIDTH: 475px" cellSpacing=0 cols=3 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="WIDTH: 205px">
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"><STRONG>TOPIC
Products</STRONG></FONT></P></TD>
<TD style="WIDTH: 6px">
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT> </P></TD>
<TD style="WIDTH: 256px">
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT> </P></TD></TR>
<TR>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">Materiaalweg
4</FONT></P></TD>
<TD style="WIDTH: 29px">
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT> </P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"></FONT> </P></TD></TR>
<TR>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">5681
RJ Best</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">T:</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">+31 (0) 499 33
69 69</FONT></P></TD></TR>
<TR>
<TD style="HEIGHT: 14px">
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">Postbus
440</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">E:</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><font style='font-family:Calibri Light;font-size:8pt;'>mike.looijmans@topicproducts.com</font></P></TD></TR>
<TR>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">5680 AK
Best</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light">W:</FONT></P></TD>
<TD>
<P class=ImprintUniqueID><FONT size=1 face="Calibri Light"><A href="http://www.topicproducts.com">www.topicproducts.com</A></FONT></P></TD></TR>
<TR>
<TD><FONT size=1 face="Calibri Light">The Netherlands</FONT></TD>
<TD><FONT size=1 face="Calibri Light"></FONT></TD></TD>
<TD><FONT size=1 face="Calibri Light"></FONT></TD>
<TD><FONT size=1 face="Calibri Light"></FONT></TD></TR></TBODY></TABLE></P>
<P class=ImprintUniqueID><A href="https://www.facebook.com/TopicProducts"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:imagefc50fd.JPG@0494df1d.4a81e1bd" width=20 height=19 /> </FONT></A><A href="https://twitter.com/TopicProducts"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:image7d3cad.JPG@412f780e.438bddb8" width=20 height=19 /></FONT></A><A href="https://www.linkedin.com/company/topic-embedded-products"><FONT size=1 face="Calibri Light"><IMG id=IMG1 border=0 src="cid:image3ad530.JPG@a1cfbd66.48886d68" width=20 height=18 /></FONT></A><BR /><FONT color=green size=1 face="Calibri Light">Please consider the environment before printing this
e-mail<BR /></FONT></P><BR /><A href="http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/"><font style='font-family:Arial;font-size:8pt;'>Topic zoekt gedreven (embedded) software specialisten!</font></A><BR /><BR />
<P class=ImprintUniqueID></P>
<P><FONT face="Calibri Light"></FONT></P>
<P><FONT face="Calibri Light"></FONT></P></FONT></EM></BODY></HTML>