develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000322.008] Not OK: perl v5.6.0 +v5.6.0-RC3 on MSWin32-x86 4.0

From:
Dave Hartnoll
Date:
March 22, 2000 06:44
Subject:
[ID 20000322.008] Not OK: perl v5.6.0 +v5.6.0-RC3 on MSWin32-x86 4.0
Message ID:
000e01bf940e$14f55a60$a60aa8c0@davespc

This is a build failure report for perl from dave_hartnoll@3b2.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.


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

Not clear from site summary below, this is a Win2000 system, if that's
relevant.

Two test failures:
  io/fs.t      test 16
  lib/open3.t  test 22

These two tests consistently fail with all build types (multi,
multi-thread), and have done so since at least 5.005.650.

I've managed to discover the following:

io/fs.t, test 16
----------------
This fails because utime is applied to a read-only file. This is due to
$newmode set at line 61, thus:

  $newmode = $^O eq 'MSWin32' ? 0444 : 0777;

I don't know why this is special for MSWin32. If I change 0444 to 0222 then
all tests pass OK.

While trying to find this problem, I came across line 24 which tries to
empty any temporary directory left over from previous failed attempts:

  if ($^O eq 'MSWin32') { `del tmp 2>nul`; `mkdir tmp`; }

On my system, if the tmp directory exists then this causes the system to
silently hang at del's "Are you sure" prompt, waiting for (y/n). The /y flag
cures this:

  if ($^O eq 'MSWin32') { `del /y tmp 2>nul`; `mkdir tmp`; }

lib/open3.t, test 22
--------------------
No output is generated at all for test 22 (the last one).
The else case of if($@) is taken (no error), but the print WRITE "ok 22"
does not result in any STDOUT output.


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by DAVE at Wed Mar 22 12:38:45 2000.

Summary of my perl5 (revision 5 version 6 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags
-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT   -DPERL_MSVCRT_READFIX'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags
'-nologo -nodefaultlib -release  -libpath:"c:\perl\lib\MSWin32-x86\CORE"  -m
achine:x86'
    libpth=G:\PROGRA~1\MICROS~2\VC98\lib
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib
uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:"c:\perl\lib\MSWin32
-x86\CORE"  -machine:x86'

Locally applied patches:
    v5.6.0-RC3

---
@INC for perl v5.6.0:
    C:/perl/lib/MSWin32-x86
    C:/perl/lib
    C:/perl/site/lib/MSWin32-x86
    C:/perl/site/lib
    .

---
Environment for perl v5.6.0:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=G:\WINNT\system32;G:\WINNT;G:\WINNT\system32\WBEM;C:\MSDOS7;D:\WATCOM\B
INNT;C:\BAT;C:\perl\bin;C:\perl\bin\mswin32-x86;C:\TOOLS;C:\UTIL;G:\4NT;C:\U
NIX;D:\WATCOM\BINW;G:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;G:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;G:\Program Files\Microsoft Visual
Studio\Common\Tools;G:\Program Files\Microsoft Visual
Studio\VC98\bin;Y:.;Z:.;
    PERL_BADLANG (unset)
    SHELL (unset)





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About