[illumos-Developer] Arithmetic syntax error during build

Garrett D'Amore garrett at damore.org
Sat Jan 29 12:22:21 PST 2011


Is your locale packaging actually *installed*?  I build all the time in
en_US.UTF-8.

	- Garrett

On Sat, 2011-01-29 at 16:26 +0100, Andrej Podzimek wrote:
> Well, if I knew what you mean by "properly", perhaps I could investigate further. It currently fails with any locale other tha C. If there is any "more proper" way of installing locales than pkg, I'm ready to give it a try...
> 
> Andrej
> 
> > I think it fails with any locale that's not installed properly.
> >
> >>>> 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.
> >>>
> >>> Which locale do you use by default in your login and as system locale ?
> >>
> >> Thank you for your suggestion. This solved the problem. Compilation seems to
> >> work with the 'C' locale. It failed with my default 'cs_CZ.UTF-8' locale I
> >> had set two weeks ago.
> >>
> >> Andrej
> >>
> >>
> >> _______________________________________________
> >> Developer mailing list
> >> Developer at lists.illumos.org
> >> http://lists.illumos.org/m/listinfo/developer
> >>
> >>
> >
> >
> >
> 
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer





More information about the Developer mailing list