-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Abe Timmerman wrote:
> Automated smoke report for 5.10.0 patch 31938
> wodan.test-smoke.org: Intel Pentium III (686-class) (i386/1 cpu)
>     on        netbsd - 3.1
>     using     cc version 3.3.3 (NetBSD nb3 20040520)
>     smoketime 10 hours 54 minutes (average 1 hour 21 minutes)
> 
> Summary: FAIL(F)

[snip]

That doesn't look good :(

        $ LC_ALL=en_US.UTF-8 ./perl -e '1'
        perl: warning: Setting locale failed.
        perl: warning: Please check that your locale settings:
                LC_ALL = "en_US.UTF-8",
                LANG = (unset)
            are supported and installed on your system.
        perl: warning: Falling back to the standard locale ("C").

I reconfigured with:
        -A append:ccflags='-DNO_LOCALE_COLLATE -DNO_LOCALE_NUMERIC'

now:

        $ LC_ALL=en_US.UTF-8 PERLUNICODE="" ./perl harness

Yields the much better:

Failed Test     Stat Wstat Total Fail  List of Failed
- 
-------------------------------------------------------------------------------
../lib/locale.t              117   10  2-9 15 54
uni/overload.t     8  2048   208    8  34 38 40 44 46 50 52 56
71 tests and 889 subtests skipped.
Failed 2/1461 test scripts. 18/184551 subtests failed.
Files=1461, Tests=184551, 1803 wallclock secs (684.07 cusr + 129.90 csys =
813.97 CPU)
Failed 2/1461 test programs. 18/184551 subtests failed.


Looking at lib/locale.t, it looks like tainting is not turned on for the
LC_CTYPE goup of functions.

Looking at t/uni/overload.t, it looks like netbsd also has a broken
'en_GB.ISO8859-1', I can send a patch to add netbsd to the list.


Now is it useful to try and make the locale work on NetBSD, without LC_COLLATE
and LC_NUMERIC?

If so, is there a way to add those NO_LOCALE_xxx macro's only for the
compilation of locale.c (by default on NetBSD)?


- -- Abe.


> [en_US.UTF-8] 
> [en_US.UTF-8] -DDEBUGGING
> [en_US.UTF-8] -Duse64bitint
> [en_US.UTF-8] -DDEBUGGING -Duse64bitint
>     ../ext/B/t/debug.t......................FAILED 3
>     ../ext/B/t/deparse.t....................FAILED 52
>     ../ext/B/t/lint.t.......................FAILED 1-27
>     ../ext/B/t/o.t..........................FAILED 2-5 7-9
>     ../ext/Compress/Zlib/t/05examples.t.....FAILED 3 7 11 15 18 22
>                                                    25
>     ../ext/Devel/DProf/t/DProf.t............FAILED 1-10 12-20
>     ../ext/Devel/PPPort/t/ppphtest.t........FAILED 53 75 155
>                                                    179
>     ../ext/Filter/t/call.t..................FAILED 6 8 10 12 14
>                                                    16 18 20 22 24
>                                                    26 28
>     ../ext/IO_Compress_Zlib/t/010examples.t.FAILED 3 7 11 15 18
>     ../ext/XS/APItest/t/call.t..............FAILED 240
>     ../ext/re/t/regop.t.....................FAILED 3-19 21-24 26-
>                                                    27 30-31 33-44
>                                                    47-53 55-57 59
>     ../lib/ExtUtils/t/prereq_print.t........FAILED 5-6 9
>     ../lib/IPC/Cmd/t/01_IPC-Cmd.t...........FAILED 22 33 44 55 66
>                                                    77 88 99
>     ../lib/IPC/Open3.t......................FAILED 10-13 15
>     ../lib/Tie/Array/std.t..................FAILED 82
>     ../lib/charnames.t......................FAILED 47-73
>     ../lib/feature.t........................FAILED 1-38
>     ../lib/h2xs.t...........................FAILED 4 23 42 61 80 95
>     ../lib/strict.t.........................FAILED 1-110
>     ../lib/subs.t...........................FAILED 1-9
>     ../lib/utf8.t...........................FAILED 16-30
>     ../lib/warnings.t.......................FAILED 1-567
>     ../t/comp/hints.t.......................FAILED 15
>     ../t/io/argv.t..........................FAILED 22
>     ../t/io/layers.t........................FAILED 37
>     ../t/io/open.t..........................FAILED 106-107
>     ../t/lib/no_load.t......................FAILED 1-2
>     ../t/op/anonsub.t.......................FAILED 1-5
>     ../t/op/array.t.........................FAILED 82
>     ../t/op/blocks.t........................FAILED 1-3
>     ../t/op/closure.t.......................FAILED 186
>     ../t/op/eval.t..........................FAILED 92
>     ../t/op/fork.t..........................FAILED 1-21
>     ../t/op/goto.t..........................FAILED 53-54
>     ../t/op/index.t.........................FAILED 59-66
>     ../t/op/method.t........................FAILED 76-78
>     ../t/op/readline.t......................FAILED 4-7 14-15
>     ../t/op/recurse.t.......................FAILED 27
>     ../t/op/ref.t...........................FAILED 72-73
>     ../t/op/runlevel.t......................FAILED 1-24
>     ../t/op/sprintf2.t......................FAILED 13
>     ../t/op/stash.t.........................FAILED 1-2 9
>     ../t/op/tie.t...........................FAILED 1-17 19-29 31-39
>     ../t/op/tr.t............................FAILED 99
>     ../t/op/universal.t.....................FAILED 104
>     ../t/op/utftaint.t......................FAILED 87-88
>     ../t/run/fresh_perl.t...................FAILED 1-94
>     ../t/run/runenv.t.......................FAILED 1-17
>     ../t/run/switchC.t......................FAILED 3-6
>     ../t/run/switchI.t......................FAILED 3-4


Good luck,

Abe
- --
Merijn> We *do* need tests (I am not good in tests: hint hint)

Calling all happy passive readers of perl5-porters - submit a patch, get your
name into the AUTHORS file: fame, immortality and more spam.
                                      -- Nicholas Clark on p5p @ 2004-01-22
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9UAq0u0nt7xxiCIRAtIiAJwMHWbHes8HQvPwgV7K8C9JNmVt/ACeMTGo
+BPPhLwPHAIZGmA/vkyX7Yo=
=pOER
-----END PGP SIGNATURE-----

Reply via email to