<div dir="ltr"><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px">Hi all,</span><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px">Sorry for the late response.</div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px">I believe Tim F. has fixed this already:</div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px"><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/67e6593830c20edd5096c58fae9bcba9dc6b7dbb" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/67e6593830c20edd5096c58fae9bcba9dc6b7dbb</a></div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px">Best,</div><div style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:13px">Fabio</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 24, 2016 at 8:00 PM Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Ben,<br><br></div></div><div dir="auto"><div><br>On Jun 23, 2016, at 9:17 PM, Ben Coman &lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 24, 2016 at 11:26 AM, Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</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"><div dir="ltr">I just did my first vm build from git...<div><br></div><div>  $ git checkout -b firstbuild Cog</div><div>  $ cd image</div><div>  $ ./buildspurtrunkvmmakerimage.sh</div><div>  $ cd build.linux32x86/squeak.cog.spur/build</div><div>  $ ./mvm </div><div>Which completes okay, but reports...</div><div>  Libraries have been installed in:</div><div>   /home/ben/Repos/OpenSmalltalk/vm/products/cogspurlinuxht/lib/squeak/5.0-201606221719-btc/condense-gitignore</div><div><br></div><div>but condense-gitignore is not the current branch, but a previous branch I worked on where I didn&#39;t even do a build (I&#39;m reasonably sure, but maybe I forget).  </div><div><br></div><div>  $ git branch</div><div>[snip]</div><div><div>* firstbuild</div><div>  btc/condense-gitignore<br></div><div><br></div></div><div>I poked around and found the message comes from   ./platforms/unix/config/ltmain.sh</div><div>but I don&#39;t see any git commands there to determine the branch, so it seems the branch must be passed to ltmain from somewhere else??</div><div><br></div><div>cheers -ben</div><div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">I was sure I had run scripts/updateSCCSVersions before, but running it again fixed the problem</div><div class="gmail_extra">  $ cd ~/Repos/OpenSmalltalk/vm </div><div class="gmail_extra">  $ rm -r *</div><div class="gmail_extra">  $ git checkout -b firstbuild Cog</div><div class="gmail_extra">  $ git reset --hard HEAD   # not sure if this is the best command to use here</div><div class="gmail_extra">  $ scripts/updateSCCSVersions</div><div class="gmail_extra">  $ cd build.linux32x86/squeak.cog.spur/build</div><div class="gmail_extra">  $ ./mvm</div><div class="gmail_extra">clean? y </div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">Libraries have been installed in:</div><div class="gmail_extra">   /home/ben/Repos/OpenSmalltalk/vm/products/cogspurlinuxht/lib/squeak/5.0-201606230315-firstbuild</div><div><br></div><div>However...</div></div></div><div class="gmail_extra"><div>  $ git checkout -b secondbuild Cog</div><div>  $ /mvm</div><div class="gmail_extra">clean? y </div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">Libraries have been installed in:</div><div class="gmail_extra">   /home/ben/Repos/OpenSmalltalk/vm/products/cogspurlinuxht/lib/squeak/5.0-201606230315-firstbuild</div><div class="gmail_extra"> </div><div class="gmail_extra">  $ ../../../scripts/updateSCCSVersions </div><div>  $ ./mvm</div><div>clean? y</div><div>Libraries have been installed in:</div><div>   /home/ben/Repos/OpenSmalltalk/vm/products/cogspurlinuxht/lib/squeak/5.0-201606182358-secondbuild</div><div><br></div><div>So it seems updateSCCSVersions needs to be run *every* time I change branch before running ./mvm.</div><div>Should it be added to mvm?</div></div></div></div></div></div></blockquote><div><br></div></div><div dir="auto">mvm is simply a convenience build script and there are lots of them.  <span style="background-color:rgba(255,255,255,0)">updateSCCSVersions is to do with updating the state of the checkout if the repository, so it and its effects belong in the realm of hit.  Can we not add git hooks to run it after every update and merge?  That seems to me both the right time to run it and to be the right universe of discourse.</span><div><br></div><div>Tim, Fabio is this possible?</div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><div><br></div><div>cheers -ben</div></div></div></div></div>
</div></blockquote></div></div></blockquote></div></div>