<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 2:49 PM, Alistair Grant <span dir="ltr"><<a href="mailto:akgrant0710@gmail.com" target="_blank">akgrant0710@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Holger,<br>
<span class=""><br>
On 19 March 2018 at 14:26, Holger Freyther <<a href="mailto:holger@freyther.de">holger@freyther.de</a>> wrote:<br>
><br>
> Hey,<br>
><br>
> I am looking into changing my deployment from pharo-vm.git to OpensmalltalkVM and as my CI is now crashing and has the notorious FreeType2 backtrace (seems the display is set to 0x0 and then ...) I might have a look but that brings me to the point of how can I take a VM, make a bugfix and ship it/use it.<br>
><br>
> With pharo-vm I was able to take the commit of the release, load the mc/ directory, make fixes, generate code[1], compile it and ship it but I struggle to do the same with Opensmalltalk VM.<br>
><br>
> Given a version statement like:<br>
><br>
>   Pharo VM version: 5.0-201803161038  Fri Mar 16 10:46:55 UTC 2018 gcc 4.8 [Production Spur VM]<br>
>   Built from: CoInterpreter VMMaker.oscog-eem.2359 uuid: b3273e3e-dd9d-4819-a928-<wbr>7034e1cf412c Mar 16 2018<br>
>   With: StackToRegisterMappingCogit VMMaker.oscog-eem.2359 uuid: b3273e3e-dd9d-4819-a928-<wbr>7034e1cf412c Mar 16 2018<br>
>   Revision: VM: 201803161038 <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm.git</a> $ Date: Fri Mar 16 11:38:09 2018 +0100 $<br>
>   Plugins: 201803161038 <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm.git</a> $<br>
>   Build host: Linux travis-job-29216682-8f27-4f97-<wbr>a3e7-e3bc246f0137 4.4.0-101-generic #124~14.04.1-Ubuntu SMP Fri Nov 10 19:05:36 UTC 2017 i686 i686 i686 GNU/Linux<br>
>   plugin path: /mnt/build/vm/lib/pharo/5.0-<wbr>201803161038 [default: /mnt/build/vm/lib/pharo/5.0-<wbr>201803161038/]<br>
><br>
> How do I find the git commit this was built from?<br>
<br>
<br>
</span>Copying the appropriate text from the version info above:<br>
<span class=""><br>
$ Date: Fri Mar 16 11:38:09 2018 +0100 $<br>
<br>
<br>
</span>$ git log | grep -B 3 "Fri Mar 16 11:38:09 2018 +0100"<br>
<br>
commit 2a67895d1c4b51cbfba77469c0c696<wbr>b8b16cf104<br>
Author: clementbera <<a href="mailto:bera.clement@gmail.com">bera.clement@gmail.com</a>><br>
<span class="">Date:   Fri Mar 16 11:38:09 2018 +0100<br>
<br>
<br>
</span>See also: scripts/checkoutVMbyDate<br>
<span class=""><br>
<br>
<br>
<br>
><br>
> How do I load an image with the matching sources?<br>
<br>
</span>I'm not sure I understand the question.  But I think the answer you<br>
are looking for is that you need to load the matching version of<br>
VMMaker in to squeak.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
image/<wbr>buildspurtrunkvmmakerimage.sh<br></blockquote><div><br></div><div>Yes, the script <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">image/</span><wbr style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">buildspurtrunkvmmakerimage.sh gets you a working VM+image with VMMaker installed and then in Monticello you can load back </span></div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">CoInterpreter VMMaker.oscog-eem.2359</span> </div><div><br></div><div>which is the version you have a problem with. This is the easiest way.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
will generate the latest image.<br>
<br>
<br>
Cheers,<br>
Alistair<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> I am sorry if I missed this from the documentation.<br>
><br>
> holger<br>
><br>
><br>
><br>
> [1] Yeah with Slang signed can go to unsigned or vice versa and funny things will happen<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Clément Béra<br></span><span style="color:rgb(0,0,238)"><a href="https://clementbera.github.io/" target="_blank">https://clementbera.github.io/</a></span><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a></div></div></div></div></div></div>
</div></div>