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

[ID 20000926.003] [PATCH]Not OK: perl v5.7.0 on dos-djgpp djgpp

Thread Next
From:
Peter J. Farley III
Date:
September 26, 2000 21:27
Subject:
[ID 20000926.003] [PATCH]Not OK: perl v5.7.0 on dos-djgpp djgpp
Message ID:
4.3.1.0.20000927001648.00ad3e40@pop5.banet.net
This is a build failure report for perl from pjfarley@banet.net,
generated with the help of perlbug 1.32 running under perl v5.7.0.


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

"make test" fails on two tests:

io/open.t
lib/ftmp-mktemp.t

The problem with lib/ftmp-mktemp.t is already under investigation
by Laszlo Molnar, so I will not comment further on it here.

The problem with io/open.t only shows up using the "TEST" script.
it does not fail using the "harness" script.  The following is a
unified patch to t/io/open.t to make it succeed with both scripts.
The problem seems to be the "#foo" in the open command.  I suspect
it is being substituted, because ".\perl TEST -v io/open.t" generates
empty lines for test 65 and test 67, instead of the expected "#foo"
lines (which the "TEST" script ignores as comments).

This is what it looks like to me that the io/open.t tests 65/66 are
supposed to produce:

---------start output from test----------
#foo
#foo
ok 65
#foo
#foo
ok 66
---------end output from test----------

Instead, the version of io/open.t in 5.7.0 produces this when run with
script TEST:

---------start output from test----------


ok 65


ok 66
---------end output from test----------

HTH

Peter Farley

<-----------open.dif------------>
--- t/io/open.t0	Mon Mar 13 21:25:38 2000
+++ t/io/open.t	Mon Sep 25 23:50:04 2000
@@ -268,13 +268,13 @@
  {
      local *F;
      for (1..2) {
-        open(F, "echo #foo|") or print "not ";
+	open(F, "echo \\#foo|") or print "not ";
  	print <F>;
  	close F;
      }
      ok;
      for (1..2) {
-	open(F, "-|", "echo #foo") or print "not ";
+	open(F, "-|", "echo \\#foo") or print "not ";
  	print <F>;
  	close F;
      }
<-----------open.dif------------>


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=install
     severity=none
---
Site configuration information for perl v5.7.0:

Configured by dosuser at Tue Sep 26 23:18:18  2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) 
configuration:
   Platform:
     osname=dos, osvers=djgpp, archname=dos-djgpp
     uname='ms-dos default 7 10 pc '
     config_args='-D usedevel='true' -des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
   Compiler:
     cc='gcc', ccflags ='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing', 
optimize='-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2', 
cppflags='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing'
     ccversion='', gccversion='2.95.2 19991024 (release)', 
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4
     alignbytes=4, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='ld', ldflags ='-s'
     libpth=m:/lib
     libs=-lgdbm -lm -lc
     libc=m:/lib/libc.a, so=none, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
     cccdlflags='', lddlflags=''

Locally applied patches:


---
@INC for perl v5.7.0:
     lib
     m:/lib/perl5
     m:/lib/perl5/site
     m:/lib/perl5/site
     m:/lib/perl5/site
     .

---
Environment for perl v5.7.0:
     HOME (unset)
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=M:\BIN;C:\PROGRA~1\PERSON~1;D:\BAT;D:\UT;D:\PT;C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\PROGRA~1\SYMANTEC\PCANYW~1\
     PERL_BADLANG (unset)
     SHELL=m:/bin/sh.exe
---------------------------------------------------------
Peter J. Farley III (pjfarley@dorsai.org OR
                      pjfarley@banet.net)



Thread Next


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