<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 13 February 2016 at 12:35, Nathan Sowatskey <span dir="ltr">&lt;<a href="mailto:nathan@nathan.to" target="_blank">nathan@nathan.to</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thank you for you help. I must admit that I don’t know how to interpret the result, so I have attached env.txt to see if that means anything to you, or others</blockquote></div><br></div><div class="gmail_extra"><div class="gmail_extra">Understanding bitbake -e is very useful so whilst I could just tell you that it&#39;s the meta-cube layer breaking, I&#39;l show you what it all means first. :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">As you&#39;re interested in a particular variable (in this case, SRC_URI), search the file for the assignment.  It easiest to search for the [newline]SRC_URI=, above the assignment is list of operations that resulted in the final value.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"># $SRC_URI [8 operations]<br>#   append /home/builder/git/poky/meta/conf/bitbake.conf:600<br>#     [vardepsexclude] &quot;APACHE_MIRROR ...&quot;<br></blockquote><div><br></div><div>Source mirror variables being added to the variable dependencies exclusion list so that changing source mirrors doesn&#39;t cause everything to re-fetch.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   set /home/builder/git/poky/meta/conf/bitbake.conf:618<br>#     &quot;&quot;<br></blockquote><div><br></div><div>Default SRC_URI or &quot;&quot; in bitbake.conf.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   set /home/builder/git/poky/meta/conf/documentation.conf:387<br>#     [doc] &quot;The list of source files -...&quot;<br></blockquote><div><br></div><div>Documentation added to the [doc] flag.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   set /home/builder/git/oe-core/meta/recipes-core/util-linux/util-linux.inc:26<br>#     &quot;${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz            &quot;<br></blockquote><div><br></div><div>util-linux.inc setting the tarball URI.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   append /home/builder/git/oe-core/meta/recipes-core/util-linux/<a href="http://util-linux_2.26.2.bb:19">util-linux_2.26.2.bb:19</a><br>#     &quot;file://util-linux-ng-replace-siginterrupt.patch  file://util-linux-ng-2.16-mount_lock_path.patch ...&quot;<br></blockquote><div> </div><div>Version-specific patches appended in the recipe itself.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   set /home/builder/git/oe-core/meta/recipes-core/util-linux/<a href="http://util-linux_2.26.2.bb:20">util-linux_2.26.2.bb:20</a><br>#     [md5sum] &quot;9bdf368c395f1b70325d0eb22c7f48fb&quot;<br>#   set /home/builder/git/oe-core/meta/recipes-core/util-linux/<a href="http://util-linux_2.26.2.bb:21">util-linux_2.26.2.bb:21</a><br>#     [sha256sum] &quot;0e29bda142528a48a0a953c39ff63093651a4809042e1790fbd6aa8663fd9666&quot;<br></blockquote><div><br></div><div>The recipe adding the version-specific checksum flags.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#   append /home/builder/git/meta-overc/meta-cube/recipes-core/util-linux/util-linux_2.%.bbappend:8<br>#     &quot;         file://pam.d    ${NSENTER_PATCH} &quot;<br></blockquote><div><br></div><div>The meta-cube layer appending more patches via a non-version-specific bbappend.  That ${NSENTER_PATCH} looks suspicious!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"># pre-expansion value:<br>#   &quot;${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz             file://u<br>til-linux-ng-replace-siginterrupt.patch             file://util-linux-ng-2.16-mount_lock_path.patch<br>  file://uclibc-__progname-conflict.patch             file://configure-sbindir.patch             file://fix-pa<br>rallel-build.patch             file://runuser.pamd             file://runuser-l.pamd             ${OLDHOST}<br>        file://pam.d    ${NSENTER_PATCH} &quot;<br></blockquote><div><br></div><div>This is what the SRC_URI looks like after all those expressions have been evaluated, but before the variable references have been expanded.  Note ${NSENTER_PATCH} at the end.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">SRC_URI=&quot;<a href="http://kernel.org/pub/linux/utils/util-linux/v2.26/util-linux-2.26.2.tar.xz">http://kernel.org/pub/linux/utils/util-linux/v2.26/util-linux-2.26.2.tar.xz</a>             file://util-linux-ng-replace-siginterrupt.patch             file://util-linux-ng-2.16-mount_lock_path.patch             file://uclibc-__progname-conflict.patch             file://configure-sbindir.patch             file://fix-parallel-build.patch             file://runuser.pamd             file://runuser-l.pamd                       file://pam.d    file://nsenter-to-be-more-flexible.patch &quot;</blockquote><div><br></div><div>The expanded variable value.  NSENTER_PATCH has been replaced with nsenter-to-be-more-flexible.patch.</div><div><br></div><div>Conclusion: meta-cube broke.  I don&#39;t think util-linux in Jethro has changed recently, so I&#39;d suggest that meta-cube introduced a broken patch.</div><div><br></div><div>Ross</div></div></div></div>