On 28/06/15 21:20, Assaf Gordon wrote: > Hello Pádraig, > > On 06/28/2015 01:04 AM, Pádraig Brady wrote: >> We plan to release coreutils-8.24 in about a week, so any testing >> you can do on various different systems between now and then >> would be most welcome. >> >> You can download the coreutils snapshot in xz format (5.4 MB) from: >> http://pixelbeat.org/cu/coreutils-ss.tar.xz > > Few failures on OpenSolaris, attached logs from 5.10 and 5.11, i386 and sparc. > > On 5.11 (both i386 and sparc) many failures seem related shell usage (e.g. > "local: not found", hinting and bash-ism and "expr: synyax error"). > > On the sparc machine, the interactive shell is bash but "/bin/sh" is ksh: > > > ls -l /bin/sh > lrwxrwxrwx 1 root root 13 Jan 22 14:36 /bin/sh -> > sparcv7/ksh93 > > Also, > > Sadly numfmt fails on all of them, with something like this: > $ ./src/numfmt --to=si 4000 > 0K > > Using debug gives: > $ ./src/numfmt ---debug --to=si 2000 > setting Auto-Padding to 0 characters > simple_strtod_human: > input string: ‘2000’ > locale decimal-point: ‘.’ > MAX_UNSCALED_DIGITS: 18 > parsed numeric value: 2000.000000 > input precision = 0 > suffix power=1000^0 = 1.000000 > returning value: 2000.000000 (2000) > double_to_human: > scaled value to 2.000000 * 1000 ^ 1 > after rounding, value=2.000000 * 1000 ^ 1 > returning value: ‘NaNK’ > formatting output: > value: 2000.000000 > humanized: ‘NaNK’ > NaNK > > Which hints the problem is in numfmt.c:797, perhaps the system's "snprintf" > can't handle the format "%.*Lf" correctly with "long double" ?
Ugh right, I noted that issue and possible solutions at: http://lists.gnu.org/archive/html/coreutils/2014-11/msg00052.html cheers, Pádraig.
