Perl / perl5

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

not ok: 6529 on NT #2324

Closed p5pRT closed 21 years ago

p5pRT commented 24 years ago

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

Searchable as RT3648$

p5pRT commented 24 years ago

From pvhp@best.com

The test ran fine even on a FAT32 file system​:

All tests successful\, 23 tests and 138 subtests skipped. Files=246\, Tests=11706\, 255 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

However\, there appears to be a target missing from the win32/Makefile used by nmake. Namely​:

C​:\6529\perl\win32>nmake okfile

Microsoft (R) Program Maintenance Utility Version 1.62.7022 Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

NMAKE : fatal error U1073​: don't know how to make 'okfile' Stop.

C​:\6529\perl\win32>nmake ok

Microsoft (R) Program Maintenance Utility Version 1.62.7022 Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

NMAKE : fatal error U1073​: don't know how to make 'ok' Stop.

There seems to be a problem with the README.$osname -> perl$osname.pod in the "utils" target in the win32/Makefile since the copying gets done as part of `nmake test` as well as `nmake okfile` etc. Perhaps there ought to be an EXTRA_PODS macro and a set of rules to take individual files over such as the following example​:

perlamiga.pod : README.amiga   cd ..\pod   copy ..\README.amiga .\perlamiga.pod   cd ..\win32

By the way the release date has not been updated in the perlbug in 6529 since I obtained​:

  ..\perl.exe -I..\lib ..\utils\perlbug -ok -s "(UNINSTALLED)" "perlbug -ok" and "perlbug -nok" do not report on Perl versions which are more than 60 days old. This Perl version was constructed on Thu Mar 23 12​:45​:14 2000. If you really want to report this\, use "perlbug -okay" or "perlbug -nokay".

So I edited perlbug to generate this report :-)

I'd appreciate hearing from some certified win32 porters if this patch is OK (or even desirable​: this might generate a lot of perl bug traffic mightn't it?). Note especially that this does not address the dmake makefile.mk file at all but only the nmake Makefile (sorry dmake users :-(

*** win32/Makefile.orig Sun Aug 6 21​:15​:24 2000 --- win32/Makefile Sun Aug 6 21​:14​:42 2000 *************** *** 1091\,1093 **** --- 1091\,1111 ----   -@​erase ..\x2p\*.exe ..\x2p\*.bat   -@​erase *.ilk   -@​erase *.pdb + + # Handy way to run perlbug -ok without having to install and run the + # installed perlbug. We don't re-run the tests here - we trust the user. + # Please *don't* use this unless all tests pass. + # If you want to report test failures\, use "make nok" instead. + ok​: utils + $(PERLEXE) -I..\lib ..\utils\perlbug -ok -s "(UNINSTALLED)" + + okfile​: utils + $(PERLEXE) -I..\lib ..\utils\perlbug -ok -s "(UNINSTALLED)" -F perl.ok + + nok​: utils + $(PERLEXE) -I..\lib ..\utils\perlbug -nok -s "(UNINSTALLED)" + + nokfile​: utils + $(PERLEXE) -I..\lib ..\utils\perlbug -nok -s "(UNINSTALLED)" -F perl.nok + +

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.6.0: Configured by pvhp at Sun Aug 6 20:49:01 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='-Od -MD -DNDEBUG', gccversion=, gccosandvers=undef cppflags='-DWIN32' ccflags ='-Od -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\5.6.0\lib\MSWin32-x86\CORE" -machine:x86' libpth="C:\Program Files\DevStudio\VC\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=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.0\lib\MSWin32-x86\CORE" -machine:x86' Locally applied patches: @INC for perl v5.6.0: ..\lib C:/6529/perl/lib . Environment for perl v5.6.0: HOME=C:/ LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\Program Files\DevStudio\SharedIDE\BIN;C:\Program Files\DevStudio\VC\BIN;C:\Program Files\DevStudio\VC\BIN\WINNT;c:\perl\bin;C:\WINNT\system32;C:\WINNT;C:\bin;c:\program files\devstudio\sharedide\bin\ide;c:\program files\devstudio\vc\bin PERL_BADLANG (unset) SHELL=c:/usr/local/sh.exe ```