<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 2, 2018 at 10:41 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div><br><div class="gmail_quote"><div dir="auto">On Fri, 2 Feb 2018 at 9:32 pm, Clément Bera <<a href="mailto:bera.clement@gmail.com" target="_blank">bera.clement@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 2, 2018 at 8:04 PM, Fabio Niephaus <span><<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><br><div class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065GmSign">-- <br></div><br><div class="gmail_quote"><div>On Fri, Feb 2, 2018 at 7:38 PM Guido Chari <<a href="mailto:charig@gmail.com" target="_blank">charig@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><div>Thanks Tobias for the quick response! That made it but I am stuck with another error (see below)</div><div><br></div><div>@Clement: Yes, I am using <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">opensmalltalk-vm. Now I remove my generated sources and I am trying with the original ones. Anyway, I'd like to change some things. Isn't that the proper way to generate sources?</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"><span><br></span></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"><span>Current error: </span></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"><span><br></span></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"><span>




<span></span>





<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures">"cd builddbg/third-party/openssl-<wbr>1.0.2m \</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>&& ./Configure darwin-i386-cc --prefix='/Users/guidochari/<wbr>Documents/Projects/CogNOS/<wbr>opensmalltalk-vm/.thirdparty-<wbr>cache/macOS/i386' shared | grep -C10 "Error" \</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>&& LDFLAGS='-Wl,-rpath,@<wbr>executable_path:@executable_<wbr>path/Plugins' make | grep -C10 "Error" \</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>&& make install</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures">make[1]: *** [/Users/guidochari/Documents/<wbr>Projects/CogNOS/opensmalltalk-<wbr>vm/.thirdparty-cache/macOS/<wbr>i386/lib/libssl.1.0.0.dylib] Error 1</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures">rm builddbg/vm/<wbr>libFloatMathPlugin.dylib builddbg/vm/<wbr>libObjectiveCPlugin.dylib builddbg/vm/<wbr>libJPEGReadWriter2Plugin.dylib builddbg/vm/libUUIDPlugin.<wbr>dylib builddbg/vm/<wbr>libFileAttributesPlugin.dylib builddbg/vm/libMpeg3Plugin.<wbr>dylib builddbg/vm/libRePlugin.dylib builddbg/vm/<wbr>libClipboardExtendedPlugin.<wbr>dylib builddbg/vm/libSurfacePlugin.<wbr>dylib builddbg/vm/libSerialPlugin.<wbr>dylib builddbg/vm/libCroquetPlugin.<wbr>dylib builddbg/vm/libFT2Plugin.dylib builddbg/vm/<wbr>libB3DAcceleratorPlugin.dylib builddbg/vm/libSqueakSSL.dylib builddbg/vm/libLocalePlugin.<wbr>dylib builddbg/vm/<wbr>libEventsHandlerPlugin.dylib builddbg/vm/<wbr>libJPEGReaderPlugin.dylib builddbg/vm/<wbr>libSDL2DisplayPlugin.dylib</span></p>
<p class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114gmail-s1" style="font-variant-ligatures:no-common-ligatures">make: *** [debug] Error 2</span></p>


"</span></span></div></div></blockquote><div><br></div><div>Hi Guido,</div><div>Currently, building the third-party libs for Pharo fails on macOS [1]. Looks like openssl didn't compile in your case. I'm unfortunately unable to reproduce this locally, but it fails on TravisCI, too.</div><div>Feel free to comment on the issue if you find out why and how to fix it :)</div></div></div></blockquote><div><br></div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div>Hum right if it's only lib SSL, it's the problem I mention, if it's multiple plugins it might be the problem Fabio mentions.</div></div></div></div></blockquote><div dir="auto"><br></div><div dir="auto">I wonder if it would be better to compile all third party libs for all platforms once and then just download them when needed (for example when the corresponding plugins or Metacello package is loaded).</div></div></div></blockquote><div><br></div><div>No.</div><div><br></div><div>Then you end up with all sorts of non-sense. Like 2 libs that are compiled with 2 different gcc versions ending up with low level indeterministic and uncommon bugs that you track down only after debugging the Assembly code looking at the hex during 9 months.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_quote"><div dir="auto">Anyway, we need to make sure these third party libs compile, otherwise we won't be able to ship them with the next release.</div><div dir="auto"><br></div><div dir="auto">Fabio</div><div dir="auto"><br></div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra"><div class="gmail_quote"><div></div></div></div></div><div><div class="gmail_extra"><div class="gmail_quote"><div><br></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><div class="gmail_quote"><div><br></div><div>Best,</div><div>Fabio</div><div><br></div><div>[1] <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/208" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/issues/208</a><br></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><div></div><div>Best,<br></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"><span>Guido.</span></span></div></div><div><div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-02 14:17 GMT-03:00 Tobias Pape <span><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</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>
<br>
> On 02.02.2018, at 18:08, Clément Bera <<a href="mailto:bera.clement@gmail.com" target="_blank">bera.clement@gmail.com</a>> wrote:<br>
><br>
> Are you using opensmalltalk-vm repository ?<br>
><br>
<br>
yes, why?<br>
<div class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114HOEnZb"><div class="m_7240582049689762365m_-2632641297586064260gmail-m_-4973538453888666065m_6191844318450551114h5"><br>
> On Feb 2, 2018 17:36, "Tobias Pape" <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>> wrote:<br>
><br>
> Hi Guido,<br>
><br>
><br>
> > On 02.02.2018, at 17:26, Guido Chari <<a href="mailto:charig@gmail.com" target="_blank">charig@gmail.com</a>> wrote:<br>
> ><br>
> > Hello,<br>
> ><br>
> > I follow the documentation but I was not able to compile the VM.<br>
> ><br>
> > I generated the sources using: 'CogSpur32VMBuilder buildMacOSX32.'<br>
> ><br>
> > Then, I went to the pharo.cog.spur directory and ran 'mvm -A'.<br>
> ><br>
> > The output is the following:<br>
> ><br>
> > clang -x c -MT build/vm/gcc3x-cointerp.o -MMD -MP -MF deps/gcc3x-cointerp.Td -Wno-missing-field-<wbr>initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-sign-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-trigraphs -Wdeprecated-declarations -g -Os -DPharoVM=1 -DIMMUTABILITY=1 -DDEBUGVM=0 -DNDEBUG=1  -DPharoVM=1 -DIMMUTABILITY=1 -DUSE_GLOBAL_STRUCT=0 -DNO_ISNAN=1 -DUSE_INLINE_MEMORY_ACCESSORS -D'TZ="-03"' -D'VM_LABEL(foo)=0' -DSQUEAK_BUILTIN_PLUGIN -DBUILD_FOR_OSX=1 -arch i386 -mmacosx-version-min=10.7 -msse4.2 -fvisibility=default -fwrapv -fmacro-backtrace-limit=0 -fdiagnostics-show-note-<wbr>include-stack -fmessage-length=0 -fpascal-strings -fasm-blocks -fstrict-aliasing -fobjc-weak  -isysroot  -include ../../platforms/iOS/vm/<wbr>SqueakPureObjc_Prefix.pch -I. -I../../spursrc/vm -I../../platforms/iOS/vm/<wbr>Common -I../../platforms/iOS/vm/<wbr>Common/Classes -I../../platforms/iOS/vm/OSX -I../../platforms/unix/vm -I../../platforms/Cross/vm -I../../platforms/Cross/<wbr>plugins/FilePlugin -I../../platforms/Cross/<wbr>plugins/HostWindowPlugin -I../../platforms/Cross/<wbr>plugins/SoundPlugin -I../../platforms/iOS/plugins/<wbr>FilePlugin -I../../platforms/iOS/plugins/<wbr>HostWindowPlugin -I../../platforms/iOS/plugins/<wbr>SoundPlugin -c ../../spursrc/vm/gcc3x-<wbr>cointerp.c -o build/vm/gcc3x-cointerp.o<br>
> > clang: error: cannot specify -o when generating multiple output files<br>
> > clang: warning: no such sysroot directory: '-include' [-Wmissing-sysroot]<br>
> > make: *** [build/vm/gcc3x-cointerp.o] Error 1<br>
> ><br>
> > I'm running Sierra 10.13.2.<br>
> ><br>
> > Any ideas?<br>
><br>
> Yes, please git pull and try again, I just pushed 383040ff57f5b7ad233d9a0d7b7abe<wbr>3ac2326178<br>
><br>
> Best regards<br>
>         -Tobias<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div></blockquote></div></div>
<br></blockquote></div></div></div><div><div class="gmail_extra"><div><br></div>-- <br><div class="m_7240582049689762365m_-2632641297586064260gmail_signature"><div><span style="font-size:12.8px">Clément Béra</span><div style="font-size:12.8px">Pharo consortium engineer</div><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.<wbr>com/</a><br></div><div style="font-size:12.8px"><span style="line-height:16px">Bâtiment B 40, avenue Halley 59650 </span><span style="font-weight:bold;line-height:16px">Villeneuve d'Ascq</span></div></div></div>
</div></div></blockquote></div></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">Clément Béra</span><div style="font-size:12.8px">Pharo consortium engineer</div><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a><br></div><div style="font-size:12.8px"><span style="line-height:16px">Bâtiment B 40, avenue Halley 59650 </span><span style="font-weight:bold;line-height:16px">Villeneuve d'Ascq</span></div></div></div>
</div></div>