[squeak-dev] [ANN] Squeak 5.1 Code Freeze -- Trunk still closed; first release candidate(s) available

tim Rowledge tim at rowledge.org
Fri Aug 19 00:13:17 UTC 2016


> On 18-08-2016, at 12:02 AM, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> 
> Hi, there.
> 
> It's time for another "code freeze". :-) Let's hope that all serious bugs
> got fixed by now and that we have a usable Squeak 5.1 environment to get
> creative with. ;-)
> 
> Find the first release candidate here:
> http://files.squeak.org/5.1rc1/Squeak5.1rc1-16520-32bit/

In the ARM version the shell script has problems that stop it working. Basically the regexp phrase isn’t doing quite what we need. See for example the log of what it did - 
++ uname -r
+ local kernel_release=4.4.9-v7+
+ local 're=[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)\([0-9A-Za-z-]*\)'
++ echo 4.4.9-v7+
++ sed -e 's#[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)\([0-9A-Za-z-]*\)#\1#'
+ local major=4+
++ echo 4.4.9-v7+
++ sed -e 's#[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)\([0-9A-Za-z-]*\)#\2#'
+ local minor=4+
++ echo 4.4.9-v7+
++ sed -e 's#[^0-9]*\([0-9]*\)[.]\([0-9]*\)[.]\([0-9]*\)\([0-9A-Za-z-]*\)#\3#'
+ local patch=9+
+ local min_major=2
+ local min_minor=6
+ local min_patch=12
+ [[ 4+ -lt 2 ]]
Squeak5.1rc1-16520-32bit-201608171728-ARMv6/squeak.sh: line 38: [[: 4+: syntax error: operand expected (error token is "+")
+ [[ 4+ -le 2 ]]
Squeak5.1rc1-16520-32bit-201608171728-ARMv6/squeak.sh: line 39: [[: 4+: syntax error: operand expected (error token is "+")
+ [[ 4+ -le 2 ]]

Note how the various major/minor variables are 4+ and not 4 etc. I guess this is what is causing the comparisons to fail? That ‘re’ needs some massaging.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
For every action, there is an equal and opposite criticism.




More information about the Squeak-dev mailing list