Hi Esteban & Ben,

On 26 March 2017 at 10:49, Esteban Lorenzano <esteba...@gmail.com> wrote:
>
>> On 26 Mar 2017, at 09:10, Alistair Grant <akgrant0...@gmail.com> wrote:
>> I haven't used travis, but it looks like it is defining a number of
>> environment variables, e.g. ARCH, FLAVOR, SRC_ARCH, HEARTBEAT.  If I
>> want the 32 bit linux threaded heartbeat, do I need to set these
>> manually?
>
> no, once compiled is done (and your compilation worked).
> those variables are for travis consumption, to allow use to pick the right 
> artifact to build, but you already did it by hand :)

Thanks for pointing this out, I wouldn't have realised that the
compilation succeeded. :-)



On 26 March 2017 at 15:20, Ben Coman <b...@openinworld.com> wrote:
> On Sun, Mar 26, 2017 at 3:10 PM, Alistair Grant <akgrant0...@gmail.com> wrote:
>> On 26 March 2017 at 04:09, Pierce Ng <pie...@samadhiweb.com> wrote:
>>> On Sat, Mar 25, 2017 at 07:29:29PM +0100, Alistair Grant wrote:
>>>> make[3]: *** No rule to make target
>>>> '/usr/lib/i386-linux-gnu/libssl.so', needed by 'libgit2.so.0.23.0'.
>>>
>>> Sorry, also
>>>
>>>   % sudo apt-get install libssl-dev:i386
>>
>> Thanks, Pierce.
>>
>> That gets past the previous errors, I'm now getting:
>>
>> ...
>> Installing links
>
> Is there text cut from the right side of these lines.  The next three
> lines are repeated, but maybe there was something more to distinguish
> them? Also line 5 "squeak/5.0-" seems cut off.

There was text cut off from the right side of the lines.  I
cut-and-pasted this from the terminal, but still not sure how the text
was cut, my apologies for the inconvenience.

See below for "5.0-".

>From my most recent build:

Installing links
DONE
make[1]: Leaving directory
'/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/third-party'
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent
make rule.
make[1]: Entering directory
'/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/third-party'
cp -f 
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/.thirdparty-cache/linux/i386/lib/libgit2.so.0.23.0
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/lib/squeak/5.0-
Installing links
DONE
make[1]: Leaving directory
'/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/third-party'
/data/pharo-snap/parts/pharo/build/pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build



The "squeak/5.0-" directory is no longer present after the build
completes, however the path to the final vm is:

"parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/lib/pharo/5.0-"

I agree that "5.0-" is a strange directory name, however looking at
the version info produced by my vm vs. the version info produced by
get.pharo.org/60+vmT, I suspect that there's something missing in my
build environment.  60+vmT produces:

  5.0-201702221539  Wed Feb 22 15:46:29 UTC 2017 gcc 4.6.3 [Production
Spur ITHB VM]

201702221539 looks like a timestamp.  Not sure why it is missing in my vm.

(I assume that squeak/5.0- is renamed to pharo/5.0- in editpharoinstall.sh)



>> cp -f 
>> /data/pharo-snap/akg-try/pharo-vm/opensmalltalk-vm/.thirdparty-cache/linux/i386/lib/libgit2.so.0.23.0
>> /data/pharo-snap/akg-try/pharo-vm/opensmalltalk-vm/***products***/phcogspurlinuxht/lib/squeak/5.0-
>
> Check whats under the ***products*** folder I marked above.

$ ls -R pharo-vm/opensmalltalk-vm/products
parts/pharo/build/pharo-vm/opensmalltalk-vm/products:
phcogspurlinuxht

parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht:
bin  lib  pharo

parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/bin:
pharo

parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/lib:
pharo

parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/lib/pharo:
5.0-

parts/pharo/build/pharo-vm/opensmalltalk-vm/products/phcogspurlinuxht/lib/pharo/5.0-:
AioPlugin             JPEGReadWriter2Plugin  libSDL2-2.0.so.0.4.1
libssl.so.1.0.0   vm-display-null
B3DAcceleratorPlugin  libcrypto.so.1.0.0     libSDL2.so
pharo             vm-display-X11
EventsHandlerPlugin   libgit2.so             libssh2.so
RePlugin          vm-sound-ALSA
FT2Plugin             libgit2.so.0.23.0      libssh2.so.1
SqueakSSL         vm-sound-null
InternetConfigPlugin  libgit2.so.23          libssh2.so.1.0.1
SurfacePlugin     vm-sound-OSS
JPEGReaderPlugin      libSDL2-2.0.so.0       libssl.so
vm-display-fbdev




>
>> Installing links
>> DONE
>> /data/pharo-snap/akg-try/pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
>> can't find PharoV50.sources
>
> PharoV50.sources [1] needs to sit next to the VM or Image files to be found.
> "can't find" it, is a standard message from a running VM.
>
> Could you report if this works for you...
> https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/79

If I try to view the change ("View changes" button) on github I get:
"We went looking everywhere, but couldn’t find those commits."

However I'd be surprised if it had any affect as PharoV50.sources
didn't exist anywhere in the build tree.

However it did give me enough of a clue that I've now modified my
build script to add the sources file in, so there aren't any obvious
errors during the build process (well, obvious to me, I haven't gone
through all 7700 lines of the build log).


Trying to use the VM produces:

THERE_BE_DRAGONS_HERE
Your VM is too old for this image. Please download the latest VM.
26 March 2017 10:54:36.099174 pm

VM: unix - i686 - linux-gnu - CoInterpreter VMMaker.oscog-eem.2175
uuid: eb79e804-a80b-4ad3-bd19-9c60a24a14f1 Mar 26 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2174 uuid:
eefef0d3-2df8-4fe7-9f71-2aca68641ba6 Mar 26 2017
VM:   Date:  Plugins:

Image: Pharo6.0 [Latest update: #60447]

StartupUIManager>>inform:
Receiver: a StartupUIManager
Arguments and temporary variables:
arg1: 'Your VM is too old for this image. Please download the latest VM.'
tmp1: nil
Receiver's instance variables:
doNotQuitOnRestart: false
uiManager: nil


DiskStore class(Object)>>inform:
Receiver: DiskStore
Arguments and temporary variables:
arg1: 'Your VM is too old for this image. Please download the latest VM.'
Receiver's instance variables:
superclass: FileSystemStore
methodDict: a MethodDictionary(#=->DiskStore>>#=
#basenameFromEntry:->DiskStore...etc...
format: 65537
layout: a FixedLayout
instanceVariables: nil
organization: a ClassOrganization
subclasses: {UnixStore. WindowsStore}
name: #DiskStore
classPool: a Dictionary(#CurrentFS->a FileSystem #Primitives->a
FilePluginPrims...etc...
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: #'FileSystem-Disk'
traitComposition: {}
localSelectors: nil
...


The same thing happens with a V5.0 image.

FYI:

$ pharo.ui --version
5.0-  Sun Mar 26 20:48:38 UTC 2017 gcc 5.4.0 [Production Spur VM]
CoInterpreter VMMaker.oscog-eem.2175 uuid:
eb79e804-a80b-4ad3-bd19-9c60a24a14f1 Mar 26 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2174 uuid:
eefef0d3-2df8-4fe7-9f71-2aca68641ba6 Mar 26 2017
VM:   Date:
Plugins:
Linux 10b18a356b12 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3
17:11:16 UTC 2017 i686 i686 i686 GNU/Linux
plugin path: /snap/pharo/x1/usr/bin/pharo-vm/ [default:
/snap/pharo/x1/usr/bin/pharo-vm/]


Given I've only just built the VM, I'm a bit surprised that it is too old. :-)

I'm basically using Esteban's instructions, i.e.:

$ git clone https://github.com/pharo-project/pharo-vm.git
$ cd pharo-vm/opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
$ ./mvm

Once I get this working properly, hopefully I can contribute some
documentation back that makes it easier for the next person.

More hints please... :-)

Thanks very much for all you assistance,
Alistair

Reply via email to