Perl / perl5

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

Not OK: perl v5.7.0 +SUIDMAIL +DEVEL6676 on i686-linux-64int 2.2.13 #2388

Closed p5pRT closed 21 years ago

p5pRT commented 24 years ago

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

Searchable as RT3733$

p5pRT commented 24 years ago

From @abigail

Same reasons as reported before.

Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- lib/complex.t 1018 1 0.10% 1010 lib/peek.t 17 1 5.88% 12 5 tests and 78 subtests skipped. Failed 2/249 test scripts\, 99.20% okay. 2/11110 subtests failed\, 99.98% okay.

With no 64bit flags turned on\, or with just -Duse64bitints\, all test succeed. With -Duselongdouble\, or -Dusemorebits\, the tests fail.

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.7.0: Configured by abigail at Thu Aug 17 12:05:17 EDT 2000. Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration: Platform: osname=linux, osvers=2.2.13, archname=i686-linux-64int uname='linux alexandra 2.2.13 #5 tue feb 8 15:37:54 est 2000 i686 unknown ' config_args='-Dprefix=/opt/devperl -d -Doptimize=-g -Dusemorebits -Dusedevel' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=define use64bitall=undef uselongdouble=define usesocks=undef Compiler: cc='cc', optimize='-g', gccversion=2.95.2 19991024 (release), gccosandvers= cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include' ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: SUIDMAIL - fixes for suidperl security DEVEL6676 @INC for perl v5.7.0: /home/abigail/Perl /home/abigail/Sybase /opt/devperl/lib/5.7.0/i686-linux-64int /opt/devperl/lib/5.7.0 /opt/devperl/lib/site_perl/5.7.0/i686-linux-64int /opt/devperl/lib/site_perl/5.7.0 /opt/devperl/lib/site_perl/5.6.0/i686-linux-64int /opt/devperl/lib/site_perl/5.6.0 /opt/devperl/lib/site_perl/5.5.650 /opt/devperl/lib/site_perl/5.5.640 /opt/devperl/lib/site_perl/5.00563 /opt/devperl/lib/site_perl/5.00562 /opt/devperl/lib/site_perl/5.00561 /opt/devperl/lib/site_perl/5.00558 /opt/devperl/lib/site_perl/5.00557 /opt/devperl/lib/site_perl . Environment for perl v5.7.0: HOME=/home/abigail LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib:/opt/tcl/lib:/opt/tk/lib/tk8.0 LOGDIR (unset) PATH=/home/abigail/Bin:/opt/perl/bin:/opt/tcl/bin:/opt/tk/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/opt/povray/bin:/opt/teTeX/bin/i686-pc-linux-gnu:/opt/python/bin PERL5LIB=/home/abigail/Perl:/home/abigail/Sybase PERLDIR=/opt/perl PERL_BADLANG (unset) SHELL=/bin/bash ```
p5pRT commented 24 years ago

From @jhi

On Thu\, Aug 17\, 2000 at 06​:44​:12PM -0000\, abigail@​foad.org wrote​:

This is a build failure report for perl from abigail@​foad.org\, generated with the help of perlbug 1.31 running under perl v5.7.0.

----------------------------------------------------------------- [Please enter your report here]

Same reasons as reported before.

Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- lib/complex.t 1018 1 0.10% 1010 lib/peek.t 17 1 5.88% 12

I think I fixed these now.

The first one was a long double that when printed (with %llg) looked like 2\, but int() of it was 1\, so it must be something like 1.999...999.

The second one was due to the dump routine printing a long double using %f\, not %llf.