<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 3 April 2018 at 00:34, Fabio Niephaus <span dir="ltr"><<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Apr 2, 2018 at 6:23 PM Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@<wbr>gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div><div>Hi Fabio,<br></div>I've switched to curl for now and have a build in progress...<br></div></div></blockquote><div><br></div><div>curl makes sense!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>Anyway, cache or not cache, we are dependent on cygwin updates, and build can start failing anytime (for example because a compiler version changed).<br></div></blockquote><div><br></div><div>That's right. Another idea for hosting our custom Cygwin: another Git repository, for example OpenSmalltalk/build-<wbr>cygwin. This way, we could track changes as well.</div></div></div></blockquote><div><br></div><div>This might fork <a href="https://github.com/cygwin/cygwin">https://github.com/cygwin/cygwin</a>.</div><div>Then later when its time to upgrade cygwin, someone would fork upstream <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"><a href="https://github.com/cygwin/cygwin">https://github.com/cygwin/cygwin</a></span>

to their local machine, </div><div>and after testing just push to 

<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"><a href="https://github.com/OpenSmalltalk/cygwin">https://github.com/OpenSmalltalk/cygwin</a>.</span></div><div><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"><br></span></div><div><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">Or for the parnoid, clone locally direct from <a href="https://cygwin.com/git.html">https://cygwin.com/git.html</a></span></div><div><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">and push to 

<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"><a href="https://github.com/OpenSmalltalk/cygwin-mirror">https://github.com/OpenSmalltalk/cygwin-mirror</a>.</span>

</span></div><div><br></div><div>Build instructions here</div><div>  <a href="https://cygwin.com/faq/faq.html#faq.programming.building-cygwin">https://cygwin.com/faq/faq.html#faq.programming.building-cygwin</a></div><div>are not clear what is required to then install it. Would its setup.exe still need to be run anyway?</div><div><br></div><div>Somewhere would still be needed to host the binaries produced.</div><div>The cygwin build would only need to be done infrequently.</div><div><br></div><div>cheers -ben</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-02 18:13 GMT+02:00 Fabio Niephaus <span dir="ltr"><<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Apr 2, 2018 at 5:55 PM Ben Coman <<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 April 2018 at 20:32, Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@<wbr>gmail.com</a>></span> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr"><div><div>Hi all,<br></div>I wanted to solve the gcc compiler bug for pharo.sista.spur.<br><br></div>But of course, there were another failure due to fragile infrastructure...<br><a href="https://ci.appveyor.com/project/OpenSmalltalk/vm/build/1.0.1207/job/dd3lnytbwb5jjlqa" target="_blank">https://ci.appveyor.com/<wbr>project/OpenSmalltalk/vm/<wbr>build/1.0.1207/job/<wbr>dd3lnytbwb5jjlqa</a><br><br><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L4" title="00:01:27"><span><span>Running Install scripts</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L5" title="00:01:27"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L5" title="00:01:27"><span><span></span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11">Start-FileDownload "<a href="http://cygwin.com/setup-x86.exe" target="_blank">http://cygwin.com/setup-x86.<wbr>exe</a>" -FileName "setup-x86.exe"</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L6" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L6" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"></span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">Start-FileDownloadInternal : Error downloading remote file: One or more errors occurred.</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L7" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L7" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">Inner Exception: Unable to connect to the remote server</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L8" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L8" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">At C:\Program Files\AppVeyor\BuildAgent\<wbr>Modules\build-worker-api\<wbr>build-worker-api.psm1:242 char:2</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L9" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L9" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">+     Start-FileDownloadInternal -Url $Url -FileName $FileName -Timeout ...</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L10" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L10" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L11" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L11" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">    + CategoryInfo          : NotSpecified: (:) [Start-FileDownloadInternal], Exception</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L12" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L12" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12">    + FullyQualifiedErrorId : System.Exception,Appveyor.<wbr>BuildAgent.Api.Utils.<wbr>StartFileDownloadInternalCmdle<wbr>t</span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L13" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L13" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12"> </span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-15 gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-bg-12"></span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"><br></span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11">We depend on volatile URL...<br></span></span></div><div id="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-L14" title="00:01:50"><span><span class="gmail-m_-8435816001623781016m_7469730905003108508m_-6217308605271907258m_3017326448855605405gmail-m_9129933537997278055gmail-fg-11"><br></span></span></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Seems quite susceptible to the ground unknowingly moving under our feet.</div><div>Actually I found it quite difficult (i.e. failed) to determine a hard link to the version being installed.</div><div>To enhance reproduciblity, we should host our own versioned archive of the required packages somewhere fairly permanent.</div></div></div></div></blockquote><div><br></div><div>Instead of hosting our own Cygwin setup, maybe it's better to use the build cache [1]? We are already using that cache for third-party libs [2] and I also thought we'd cache Cygwin as well. @Nicolas: could you give this a go?</div><div><br></div><div>Fabio</div><div><br></div><div>[1] <a href="https://www.appveyor.com/docs/build-cache/" target="_blank">https://www.appveyor.com/<wbr>docs/build-cache/</a></div><div>[2] <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/1614d9520f1ae901cdc4a5ba39d639a6ec5b1d84/.appveyor.yml#L113" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/blob/<wbr>1614d9520f1ae901cdc4a5ba39d639<wbr>a6ec5b1d84/.appveyor.yml#L113</a></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>This seems pertinent...</div><div><div>2.2.What about an automated Cygwin installation?</div></div><div>If you are deploying to multiple systems, the best way is to run through a full installation once, saving the entire downloaded package tree. Then, on target systems, run Cygwin Setup as a "Local Install" pointed at your downloaded package tree. You could do this non-interactively with the command line options -q -L -l x:\cygwin-local\, where your downloaded package tree is in x:\cygwin-local\ (see the next FAQ for an explanation of those options.)<br></div></div>(<a href="https://www.cygwin.com/faq.html" target="_blank">https://www.cygwin.com/faq.<wbr>html</a>)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">And "pmcyg" looks interesting...  "intended to support construction of</div><div class="gmail_extra">a self-contained CDROM or DVD that can be used to install or upgrade Cygwin</div><div class="gmail_extra">on computers that do not have network access to a Cygwin mirror site."</div><div class="gmail_extra">(<a href="https://sourceforge.net/projects/pmcyg/files/pmcyg/pmcyg-2.2/" target="_blank">https://sourceforge.net/<wbr>projects/pmcyg/files/pmcyg/<wbr>pmcyg-2.2/</a>)<br></div><div class="gmail_extra">That could be stored as a versioned archive which is added to the appveyor build cache <br></div><div class="gmail_extra">so its only downloaded once, 

<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">saving per job build time</span> and </div><div class="gmail_extra">ensuring if it succeeds at the first job, all other jobs *should* succeed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Options to host this versioned-cygwin-installer-<wbr>archive (should be somewhere fairly permanent):</div><div class="gmail_extra">* bintray</div><div class="gmail_extra">* github releases</div><div class="gmail_extra">* git large file storage</div><div class="gmail_extra">* <a href="http://files.opensmalltalk.org" target="_blank">files.opensmalltalk.org</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers -ben</div></div>
</blockquote></div></div>
<br></blockquote></div><br></div>
</blockquote></div></div>
<br></blockquote></div><br></div></div>