NetBSD Problem Report #10045

Received: (qmail 14917 invoked from network); 4 May 2000 18:42:16 -0000
Message-Id: <20000504184214.17647.qmail@canolog.ninthwonder.com>
Date: 4 May 2000 18:42:14 -0000
From: briggs@canolog.ninthwonder.com
Reply-To: briggs@canolog.ninthwonder.com
To: gnats-bugs@gnats.netbsd.org
Subject: Update perl5-current to 5.6.0
X-Send-Pr-Version: 3.95

>Number:         10045
>Category:       pkg
>Synopsis:       Update perl5-current to 5.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May 04 18:43:00 +0000 2000
>Closed-Date:    Wed Aug 02 18:01:06 +0000 2000
>Last-Modified:  Wed Aug 02 18:01:06 +0000 2000
>Originator:     Allen Briggs
>Release:        1.4.2 (doesn't matter)
>Organization:
	Ninth Wonder, LLC
>Environment:
System: NetBSD canolog 1.4.2 NetBSD 1.4.2 (CANOLOG) #0: Sat Feb 26 23:30:29 EST 2000 briggs@backup:/usr/src/sys/arch/i386/compile/CANOLOG i386


>Description:
	The current version of perl5 is 5.6.0--this is even considered
to be the "stable" version, according to the symlinks on the CPAN sites.
The perl5-current package is currently 5.00303.  These patches patch the
pkgsrc up to use 5.6.0.
	The 'make test' does fail pragma/warnings.t test #257, but it's
not clear if this ever would have worked properly and "it's just a
warning.".
	Also, "ftp.cdrom.com" is no longer the source archive that it
used to be.  That's moved to "ftp.freesoftware.com".  I went ahead and
updated this package, but there are probably dozens more that reference
the old site.  This observation probably deserves it's own PR...
>How-To-Repeat:
	Look at the perl5-current package and a CPAN site.
>Fix:
	Uudecode/ungzip these patches and apply to a current pkgsrc.

begin 664 perl5-current-to-5.6.0.gz
M'XL(`-O"$3D"`\4\:7?:2+:?\:^H$";8`8'VA1YWQYVXTWX3+\=V.IDS/4.T
ME+`2D'B2<.R7Y+^_>ZM*0I*!8#MGFARCK>ZMNR^E(D=Q0&]&Y-C]1,-H2G?V
M'__9.7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"%`&#7'!R?:V>FK"X)/OWSK
MX_O3LR3(RMV.WB*:YO@K"]&>XYX=`?O^XNS\]/+TX/PU"J$KQ0ET$'F2W\YI
MUNVS]X?88Z1TEEQ3,G5SFOXB0/\X/+\X.CT9_W9^>DQ*80SF,X#;^7_S(\K[
$I$@``(?8
`
end
>Release-Note:
>Audit-Trail:

From: Erik Bertelsen <erik@mediator.uni-c.dk>
To: briggs@canolog.ninthwonder.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/10045: Update perl5-current to 5.6.0
Date: Thu, 4 May 2000 21:52:14 +0200

 On Thu, May 04, 2000 at 06:42:14PM -0000, briggs@canolog.ninthwonder.com wrote:
 > pkgsrc up to use 5.6.0.
 > 	The 'make test' does fail pragma/warnings.t test #257, but it's
 > not clear if this ever would have worked properly and "it's just a
 > warning.".

 Actually this specific test has failed for most (all?) post 5.005_03 perl prereleases up
 to and including 5.6.

 Apparently this test now passes on both FreeBSD and OpenBSD, which leads me to suspect
 a problem in libc, but I'm not sure.

 The actual warning comes from the following test code:

 # pp_hot.c [pp_print]  
 use warnings 'io' ;
 print STDIN "anc";
 print <STDOUT>;
 print <STDERR>;
 open(FOO, ">&STDOUT") and print <FOO>;          
 print getc(STDERR);
 print getc(FOO);


 The problem is that on NetBSD perl does not detect the attempts to read from the file
 handle FOO that has been opened on top of another write-only file handle.


 - Erik


From: Allen Briggs <briggs@ninthwonder.com>
To: Erik Bertelsen <erik@mediator.uni-c.dk>, gnats-bugs@gnats.netbsd.org
Cc:  
Subject: Re: pkg/10045: Update perl5-current to 5.6.0
Date: Thu, 4 May 2000 21:32:05 -0400

 > Actually this specific test has failed for most (all?) post 5.005_03
 > perl prereleases up to and including 5.6.

 Was this test present and functional in earlier releases?  I assumed
 that it was a new test.

 I know next to nothing about the innards of perl, but I'm looking at
 this.  I'm willing to run with this test failure, but I'd really rather
 run an "official" version from pkgsrc.  I'm playing around with minivend
 and it wants at least 5.005, but it looks like the author's using 5.6.0,
 and it's probably safer to stick with that...  ;-)

 > Apparently this test now passes on both FreeBSD and OpenBSD, which leads
 > me to suspect a problem in libc, but I'm not sure.

 As far as I can tell, it passes outside the test harness on NetBSD, too,
 which seems rather odd...

 $ LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-current/work.i386/perl-5.6.0 ./perl -I../lib tt.pl
 Filehandle main::STDIN opened only for input at tt.pl line 2.
 Filehandle main::STDOUT opened only for output at tt.pl line 3.
 Filehandle main::STDERR opened only for output at tt.pl line 4.
 Filehandle main::FOO opened only for output at tt.pl line 5.
 Filehandle main::STDERR opened only for output at tt.pl line 6.
 Filehandle main::FOO opened only for output at tt.pl line 7.

 Ah...  Here's more info...  If the output is piped, we don't see the
 warnings about FOO, but if the output is not piped, we do:

 $ LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-current/work.i386/perl-5.6.0 ./perl -I../lib tmp0002 2>&1 
 Filehandle main::STDIN opened only for input at tmp0002 line 3.
 Filehandle main::STDOUT opened only for output at tmp0002 line 4.
 Filehandle main::STDERR opened only for output at tmp0002 line 5.
 Filehandle main::FOO opened only for output at tmp0002 line 6.
 Filehandle main::STDERR opened only for output at tmp0002 line 7.
 Filehandle main::FOO opened only for output at tmp0002 line 8.

 $ LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-current/work.i386/perl-5.6.0 ./perl -I../lib tmp0002 2>&1 | more
 Filehandle main::STDIN opened only for input at tmp0002 line 3.
 Filehandle main::STDOUT opened only for output at tmp0002 line 4.
 Filehandle main::STDERR opened only for output at tmp0002 line 5.
 Filehandle main::STDERR opened only for output at tmp0002 line 7.

 The difference appears to be that in one case (the pipe),
 IoTYPE(io) for main::FOO is 115 (s).
 In the other case (no pipe), IoTYPE(io) for main::FOO is 62 (>).
 This means that the following test around line 875 of doio.c is failing

 	... if (ckWARN(WARN_IO)
              && (IoTYPE(io) == '>' || IoIFP(io) == PerlIO_stdout()
                  || IoIFP(io) == PerlIO_stderr()))
 	{
 	...


 Any ideas?

 -allen

 [here's tmp0002 (again)]
 # pp_hot.c [pp_print]
 use warnings 'io' ;
 print STDIN "anc";
 print <STDOUT>;
 print <STDERR>;
 open(FOO, ">&STDOUT") and print <FOO>;
 print getc(STDERR);
 print getc(FOO);
 ####################################################################
 # The next test is known to fail on some systems (Linux+old glibc, #
 # old *BSDs, and NeXT, among others.                               #
 # We skip it for now (on the grounds that it is "just" a warning). #
 ####################################################################
 read(FOO,$_,1);
 no warnings 'io' ;
 print STDIN "anc";
State-Changed-From-To: open->closed 
State-Changed-By: jwise 
State-Changed-When: Wed Aug 2 10:59:45 PDT 2000 
State-Changed-Why:  
perl5-current was updated to perl-5.6 by Hubert Feyrer on July 5. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.