Thanks Ben I can provide a patch, but cannot test it currently probably because of https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/135
2017-04-27 18:45 GMT+02:00 Ben Coman btc@openinworld.com:
On Fri, Apr 28, 2017 at 12:40 AM, Ben Coman btc@openinworld.com wrote:
On Thu, Apr 27, 2017 at 6:13 AM, Sophie Kaleba sophie.kaleba@gmail.com wrote:
Hi,
I have tried to build a cog dvlpt image using the following instructions : $ git clone http://www.github.com/OpenSmalltalk/opensmalltalk-vm $ cd opensmalltalk-vm/image $ ./buildspurtrunkvmmakerimage.sh
while running the script, i get 2 errors (see attached file):
- "Context cannot be changed"
- and then "stackp store failure"
which prevent me from actually building the image (the last error goes in an infinite loop)
Has anyone ever experienced this problem?
I am using Ubuntu 15.10, 64 bits.
Thanks Sophie
I tried this myself and noticed it fail when loading "CogCompatability". If you look down the stack to "MCClassDefintion>>createClass", the instance variable "name" holds #Context. Context has only recently been introduced to Squeak. Previously it needed to be loaded by "CogCompatability". Now its an error for "CogCompatability" to try redefining this core system class.
I got it to work by removing "CogCompatability" from the manifest in BuildSqueakSpurTrunkVMMakerImage.st ...
manifest := #( ('http://source.squeak.org/FFI' 1 ('FFI-Pools' 'FFI-Kernel'))
('http://source.squeak.org/VMMaker' 6 ('Balloon-Engine-Pools' 'BytecodeSets.spur' 'VMMaker.oscog' 'CogCompatibility' .....
And then running ./buildspurtrunkvmmakerimage.sh,
cheers -ben
btw you might find this interesting... http://forum.world.st/Exploring-the-simulator-was- Re-REPL-image-for-simulation-td4896870.html
cheers -ben