Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.98k stars 559 forks source link

Not OK: perl v5.8.0 on PA-RISC1.1 11.00 (UNINSTALLED) #5641

Closed p5pRT closed 20 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#9868 (status was 'resolved')

Searchable as RT9868$

p5pRT commented 22 years ago

From philip.newton@datenrevision.de

Nearly all tests pass; only 4 tests (in 3 scripts) failed.

One of the tests was the old suspect t/comp/require.t\, due to bad floating-point rounding.

The ExtUtils​::Constant is a bit more difficult to diagnose; fortunately\, the test script includes hard-code test case numbers\, making the failed test 8 easy to pin down... but all it does is test whether $farthing == 0.25. The constant FARTHING is defined as "#define FARTHING 0.25". My first guess was floating-point inaccuracy\, but somehow I doubt this for a power of two such as one-quarter.

Finally\, the Time​::HiRes failure seems to employ weird arithmetic... the test output is

[...] not ok 20 # 1.51319098472595 went by while sleeping 1.5\, ratio 1.33333333333333. ok 21 # 1.5176819562912 went by while sleeping 1.5\, ratio 1.011516. [...]

So the second has a slightly higher number (1.517... > 1.513...) but the ratio is a lot closer to 1.

Ah\, hang on... the first is the output of sleep()\, the second of usleep(). The first output looks as if sleep() had returned 2 instead of 1.5... since 1.333*1.5 = 2. Not sure who's to blame here\, though.

Here is some test output​:

Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ------------------------------------------------------- .../ext/Time/HiRes/HiRes.t 25 1 4.00% 20 .../lib/ExtUtils/t/Constant.t 51 1 1.96% 8 comp/require.t 23 2 8.70% 10-11 48 tests and 418 subtests skipped. Failed 3/708 test scripts\, 99.58% okay. 4/64572 subtests failed\, 99.99% okay.

DAB@​idndb@​pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib t/comp/require.t 1..23 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 # Perl v10.199.999 required--this is only v5.8.0\, stopped at t/comp/require.t line 77.

not ok 10 # Perl v10.0.19 required--this is only v5.8.0\, stopped at t/comp/require.t line 82.

not ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 DAB@​idndb@​pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib ext/Time/HiRes/HiRes.t 1..25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 # s = 96.8270351886749\, n = 100\, s/n = 0.968270351886749 # time...1024924570.98317 ok 15 # sleep...0.504911 ok 16 # Tick! 4 0.30818 # Select returned! 4 0.310707 # 0.896431 # Tick! 3 0.618184 # Select returned! 3 0.620525 # 0.793158333333333 # Tick! 2 0.928132 # Select returned! 2 0.930364 # 0.689878666666667 # Tick! 1 1.238136 # Select returned! 1 1.240398 # 0.586534 # Tick! 0 1.55045 # Select returned! 0 1.552863 # 0.482379 ok 17 # 0 # setitimer​: 0 0 ok 18 # getitimer​: 0 0 # getitimer​: 0 0 ok 19 not ok 20 # 1.51319098472595 went by while sleeping 1.5\, ratio 1.33333333333333. ok 21 # 1.5176819562912 went by while sleeping 1.5\, ratio 1.011516. ok 22 ok 23 ok 24 ok 25

DAB@​idndb@​pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib lib/ExtUtils/t/Constant.t 1..51 # perl=/tk/users/pne/tmp/install/perl-5.8.0-RC2/perl # ext-28595 being created... Can't locate ExtUtils/MakeMaker.pm in @​INC (@​INC contains​: ../../lib /opt/perl5/lib/5.8.0/PA-RISC1.1 /opt/perl5/lib/5.8.0 /opt/perl5 /lib/site_perl/5.8.0/PA-RISC1.1 /opt/perl5/lib/site_perl/5.8.0 /opt/perl5/lib/site_perl .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. not ok 1 # /tk/users/pne/tmp/install/perl-5.8.0-RC2/perl "-I../../lib" Makefile.PL failed​: 512 # ext-28595 being removed...

Hope that helps some.

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.8.0: Configured by pne at Mon Jun 24 09:42:33 MESZ 2002. Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=hpux, osvers=11.00, archname=PA-RISC1.1 uname='hp-ux idndb b.11.00 a 9000715 2004727219 two-user license ' config_args='-Uinstallusrbinperl -Duselargefiles' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize=' ', cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include' ccversion='B.11.11.04', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/bin/ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec perllibs=-lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib' Locally applied patches: @INC for perl v5.8.0: lib /opt/perl5/lib/5.8.0/PA-RISC1.1 /opt/perl5/lib/5.8.0 /opt/perl5/lib/site_perl/5.8.0/PA-RISC1.1 /opt/perl5/lib/site_perl/5.8.0 /opt/perl5/lib/site_perl . Environment for perl v5.8.0: HOME=/tk/users/pne LANG=german LANGUAGE (unset) LC_ALL=de_DE.roman8 LC_COLLATE=de_DE.roman8 LC_CTYPE=de_DE.roman8 LC_MESSAGES=de_DE.roman8 LC_MONETARY=de_DE.roman8 LC_NUMERIC=de_DE.roman8 LC_TIME=de_DE.roman8 LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/tk/users/pne/bin:/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/ usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin :/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/ignite/ bin:/opt/langtools/bin:/opt/imake/bin:.:.:/tk/tk_skripte:/tk/users/pne/skrip te:/bfs/tools:/tk/dab/scripte:/tk/jam5.04g/util:/opt/vim/bin PERL_BADLANG (unset) SHELL=/usr/bin/ksh -- Philip Newton Philip.Newton@datenrevision.de datenrevision GmbH & Co. OHG http://www.datenrevision.de a gedas company TEL +49-40-797 007-37 Cuxhavener Str. 36, D-21149 Hamburg FAX +49-40-797 007-10 ```
p5pRT commented 22 years ago

From philip.newton@datenrevision.de

perl.nok