[illumos-Developer] Arithmetic syntax error during build

Andrej Podzimek andrej at podzimek.org
Fri Jan 28 04:30:08 PST 2011


>> Hello,
>>
>> I get a lot of errors when building the latest ON. All of them start with an
>> 'arithmetic syntax error' message:
>>
>> $ grep 'arithmetic syntax error' nightly.log
>> common/scripts/crawlsrccomments.sh:  line_pos.x=0, line_pos.y++ : arithmetic
>> syntax error
>> common/scripts/filemutexdemo1.sh:  interval+=interval/10. : arithmetic
>> syntax error
>> common/scripts/gnaw.sh:  rs>  0.001 : arithmetic syntax error
>> common/scripts/mandelbrotset1.sh:  stepwidth=0.1 : arithmetic syntax error
>> common/scripts/numtree1.sh:  i=1.: arithmetic syntax error
>> common/scripts/primenumbers1.sh:  max_pn=sqrt(num)+1. : arithmetic syntax
>> error
>> common/scripts/shircbot.sh:  (SECONDS-last_tick)>  5. : arithmetic syntax
>> error
>> common/scripts/shpiano.sh:  i<  ((sample_rate*duration)/2.): arithmetic
>> syntax error
>> common/scripts/termclock.sh:  angle=0.0: arithmetic syntax error
>> common/scripts/crawlsrccomments.sh:  line_pos.x=0, line_pos.y++ : arithmetic
>> syntax error
>> common/scripts/filemutexdemo1.sh:  interval+=interval/10. : arithmetic
>> syntax error
>> common/scripts/gnaw.sh:  rs>  0.001 : arithmetic syntax error
>> common/scripts/mandelbrotset1.sh:  stepwidth=0.1 : arithmetic syntax error
>> common/scripts/numtree1.sh:  i=1.: arithmetic syntax error
>> common/scripts/primenumbers1.sh:  max_pn=sqrt(num)+1. : arithmetic syntax
>> error
>> common/scripts/shircbot.sh:  (SECONDS-last_tick)>  5. : arithmetic syntax
>> error
>> common/scripts/shpiano.sh:  i<  ((sample_rate*duration)/2.): arithmetic
>> syntax error
>> common/scripts/termclock.sh:  angle=0.0: arithmetic syntax error
>>
>> Have I missed any important ksh updates? My previous build (two weeks ago)
>> worked smoothly.
>
> What does ksh --version print? When did you pull your sources? My
> build is 32h old and does not have these warnings in nightly.log.

I pulled the sources yesterday, so they are probably less than 32 hours old. This is what ksh --version says:

	version         sh (AT&T Research) 93t+ 2010-03-05

Andrej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6111 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.illumos.org/pipermail/developer/attachments/20110128/888205f1/attachment.bin>


More information about the Developer mailing list